Function at 0x412160
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44290b
mov eax, dword fs:[0]
push eax
sub esp, 0xa20
mov eax, dword [0x455664]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xa28], eax
mov dword [ebp - 0xa18], ebx
mov dword [ebp - 4], 1
push ebx
mov esi, 0xf
push 0x44d617
lea ecx, [ebp - 0x9c0]
mov dword [ebp - 0x9ac], esi
mov dword [ebp - 0x9b0], ebx
mov byte [ebp - 0x9c0], bl
call fcn.00409ec0
mov dword [ebp - 0x93c], esi
mov dword [ebp - 0x940], ebx
mov byte [ebp - 0x950], bl
mov dword [ebp - 0x958], esi
mov dword [ebp - 0x95c], ebx
mov byte [ebp - 0x96c], bl
mov dword [ebp - 0x904], esi
mov dword [ebp - 0x908], ebx
mov byte [ebp - 0x918], bl
mov dword [ebp - 0x9c8], esi
mov dword [ebp - 0x9cc], ebx
mov byte [ebp - 0x9dc], bl
mov dword [ebp - 0x990], esi
mov dword [ebp - 0x994], ebx
mov byte [ebp - 0x9a4], bl
mov dword [ebp - 0x9e4], esi
mov dword [ebp - 0x9e8], ebx
mov byte [ebp - 0x9f8], bl
lea ecx, [ebp - 0x934]
push ecx
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 8
mov dword [ebp - 0xa1c], ebx
call fcn.004120b0
add esp, 4
mov edi, eax
lea esi, [ebp - 0x918]
mov byte [ebp - 4], 9
call fcn.00409dd0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x920], 0x10
jb 0x412283
mov edx, dword [ebp - 0x934]
push edx
call fcn.0042eb3b
add esp, 4
mov esi, dword [ebp - 0x908]
mov edi, 8
cmp esi, edi
jae 0x412298
mov edi, esi
mov eax, esi
jmp 0x41229a
mov eax, edi
cmp dword [ebp - 0x904], 0x10
mov edx, dword [ebp - 0x918]
jae 0x4122af
lea edx, [ebp - 0x918]
mov ecx, 0x44fbf0
call fcn.0040f3d0
cmp eax, ebx
jne 0x4122da
cmp edi, 8
jb 0x4122da
xor eax, eax
cmp edi, 8
setne al
cmp eax, ebx
jne 0x4122da
mov dword [ebp - 0xa1c], 8
jmp 0x412329
mov edi, 7
cmp esi, edi
jae 0x4122e9
mov edi, esi
mov eax, esi
jmp 0x4122eb
mov eax, edi
cmp dword [ebp - 0x904], 0x10
mov edx, dword [ebp - 0x918]
jae 0x412300
lea edx, [ebp - 0x918]
mov ecx, 0x44fbfc
call fcn.0040f3d0
cmp eax, ebx
jne 0x412329
cmp edi, 7
jb 0x412329
xor eax, eax
cmp edi, 7
setne al
cmp eax, ebx
jne 0x412329
mov dword [ebp - 0xa1c], 7
mov eax, dword [ebp - 0xa1c]
push 1
lea ecx, [ebp - 0xa24]
push ecx
lea edx, [ebp - 0x918]
inc eax
push edx
mov byte [ebp - 0xa24], 0x2f
call fcn.00415e40
mov dword [ebp - 0xa20], eax
cmp eax, 0xffffffff
jne 0x412395
push 0
push 0x44d617
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
call fcn.00409ec0
lea eax, [ebp - 0x8fc]
mov byte [ebp - 4], 0xa
mov ebx, 1
jmp 0x4123ba
mov ecx, dword [ebp - 0xa20]
push 0xffffffffffffffff
lea esi, [ebp - 0x988]
lea edx, [ebp - 0x918]
call fcn.00415de0
mov dword [ebp - 4], 0xb
mov ebx, 2
mov edi, eax
lea esi, [ebp - 0x950]
mov dword [ebp - 0xa18], ebx
call fcn.00409dd0
test bl, 2
je 0x41240e
and ebx, 0xfffffffd
cmp dword [ebp - 0x974], 0x10
mov dword [ebp - 0xa18], ebx
jb 0x4123f3
mov eax, dword [ebp - 0x988]
push eax
call fcn.0042eb3b
add esp, 4
mov dword [ebp - 0x974], 0xf
mov dword [ebp - 0x978], 0
mov byte [ebp - 0x988], 0
mov dword [ebp - 4], 8
test bl, 1
je 0x41243b
and ebx, 0xfffffffe
cmp dword [ebp - 0x8e8], 0x10
mov dword [ebp - 0xa18], ebx
jb 0x41243b
mov ecx, dword [ebp - 0x8fc]
push ecx
call fcn.0042eb3b
add esp, 4
mov esi, dword [ebp - 0xa20]
mov eax, dword [ebp - 0x918]
mov edx, dword [ebp - 0x904]
mov ecx, eax
cmp esi, 0xffffffff
je 0x412463
cmp edx, 0x10
jae 0x41245f
lea ecx, [ebp - 0x918]
add ecx, esi
jmp 0x412474
cmp edx, 0x10
jae 0x41246e
lea ecx, [ebp - 0x918]
add ecx, dword [ebp - 0x908]
cmp edx, 0x10
jae 0x41247f
lea eax, [ebp - 0x918]
mov edx, dword [ebp - 0xa2c]
add eax, dword [ebp - 0xa1c]
push edx
push ecx
push eax
lea eax, [ebp - 0x8fc]
push eax
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
call fcn.00416260
lea edi, [ebp - 0x8fc]
lea esi, [ebp - 0x96c]
mov byte [ebp - 4], 0xc
call fcn.00409dd0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x8e8], 0x10
jb 0x4124e6
mov ecx, dword [ebp - 0x8fc]
push ecx
call fcn.0042eb3b
add esp, 4
push 1
push 0x44fc04
lea edx, [ebp - 0x950]
push edx
xor eax, eax
call fcn.00415e40
cmp eax, 0xffffffff
je 0x41251d
push eax
xor ecx, ecx
lea esi, [ebp - 0x934]
lea edx, [ebp - 0x950]
call fcn.00415de0
mov byte [ebp - 4], 0xd
or ebx, 4
jmp 0x41255e
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x950]
push eax
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
call fcn.0040a0c0
lea eax, [ebp - 0x8fc]
mov dword [ebp - 4], 0xe
or ebx, 8
mov edi, eax
lea esi, [ebp - 0x950]
mov dword [ebp - 0xa18], ebx
call fcn.00409dd0
mov edi, 0x10
test bl, 8
je 0x4125b6
and ebx, 0xfffffff7
mov dword [ebp - 0xa18], ebx
cmp dword [ebp - 0x8e8], edi
jb 0x41259b
mov ecx, dword [ebp - 0x8fc]
push ecx
call fcn.0042eb3b
add esp, 4
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
mov dword [ebp - 4], 8
test bl, 4
je 0x4125e2
and ebx, 0xfffffffb
mov dword [ebp - 0xa18], ebx
cmp dword [ebp - 0x920], edi
jb 0x4125e2
mov edx, dword [ebp - 0x934]
push edx
call fcn.0042eb3b
add esp, 4
push 1
push 0x44faec
lea eax, [ebp - 0x96c]
push eax
xor eax, eax
call fcn.00415e40
mov dword [ebp - 0xa20], eax
cmp eax, 0xffffffff
je 0x412620
push 0xffffffffffffffff
lea ecx, [eax + 1]
lea esi, [ebp - 0x934]
lea edx, [ebp - 0x96c]
call fcn.00415de0
mov byte [ebp - 4], 0xf
or ebx, edi
jmp 0x412659
push 0
push 0x44d617
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
call fcn.00409ec0
lea eax, [ebp - 0x8fc]
mov dword [ebp - 4], edi
or ebx, 0x20
mov edi, eax
lea esi, [ebp - 0x9a4]
mov dword [ebp - 0xa18], ebx
call fcn.00409dd0
test bl, 0x20
je 0x4126ad
and ebx, 0xffffffdf
cmp dword [ebp - 0x8e8], 0x10
mov dword [ebp - 0xa18], ebx
jb 0x412692
mov ecx, dword [ebp - 0x8fc]
push ecx
call fcn.0042eb3b
add esp, 4
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
mov dword [ebp - 4], 8
test bl, 0x10
je 0x4126da
and ebx, 0xffffffef
cmp dword [ebp - 0x920], 0x10
mov dword [ebp - 0xa18], ebx
jb 0x4126da
mov edx, dword [ebp - 0x934]
push edx
call fcn.0042eb3b
add esp, 4
mov eax, dword [ebp - 0xa20]
cmp eax, 0xffffffff
jne 0x4126eb
mov eax, dword [ebp - 0x95c]
push eax
xor ecx, ecx
lea esi, [ebp - 0x934]
lea edx, [ebp - 0x96c]
call fcn.00415de0
mov edi, eax
lea esi, [ebp - 0x96c]
mov byte [ebp - 4], 0x11
call fcn.00409dd0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x920], 0x10
jb 0x41272c
mov eax, dword [ebp - 0x934]
push eax
call fcn.0042eb3b
add esp, 4
mov eax, dword [ebp - 0xa1c]
test eax, eax
jle 0x412756
add eax, 0xfffffffd
push eax
xor ecx, ecx
lea esi, [ebp - 0x934]
lea edx, [ebp - 0x918]
call fcn.00415de0
mov byte [ebp - 4], 0x12
or ebx, 0x40
jmp 0x412796
push 0
push 0x44d617
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
call fcn.00409ec0
lea eax, [ebp - 0x8fc]
mov dword [ebp - 4], 0x13
or ebx, 0x80
mov edi, eax
lea esi, [ebp - 0x9dc]
mov dword [ebp - 0xa18], ebx
call fcn.00409dd0
test bl, bl
jns 0x4127ec
and ebx, 0xffffff7f
cmp dword [ebp - 0x8e8], 0x10
mov dword [ebp - 0xa18], ebx
jb 0x4127d1
mov ecx, dword [ebp - 0x8fc]
push ecx
call fcn.0042eb3b
add esp, 4
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
mov dword [ebp - 4], 8
test bl, 0x40
je 0x412819
and ebx, 0xffffffbf
cmp dword [ebp - 0x920], 0x10
mov dword [ebp - 0xa18], ebx
jb 0x412819
mov edx, dword [ebp - 0x934]
push edx
call fcn.0042eb3b
add esp, 4
push 1
push 0x44fc08
lea eax, [ebp - 0x950]
push eax
xor eax, eax
call fcn.00415e40
mov dword [ebp - 0xa20], eax
cmp eax, 0xffffffff
je 0x41285b
push 0xffffffffffffffff
lea ecx, [eax + 1]
lea esi, [ebp - 0x934]
lea edx, [ebp - 0x950]
call fcn.00415de0
mov byte [ebp - 4], 0x14
or ebx, 0x100
jmp 0x41289b
push 0
push 0x44d617
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
call fcn.00409ec0
lea eax, [ebp - 0x8fc]
mov dword [ebp - 4], 0x15
or ebx, 0x200
mov edi, eax
lea esi, [ebp - 0x9f8]
mov dword [ebp - 0xa18], ebx
call fcn.00409dd0
test ebx, 0x200
je 0x4128f5
and ebx, 0xfffffdff
cmp dword [ebp - 0x8e8], 0x10
mov dword [ebp - 0xa18], ebx
jb 0x4128da
mov ecx, dword [ebp - 0x8fc]
push ecx
call fcn.0042eb3b
add esp, 4
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
mov dword [ebp - 4], 8
test ebx, 0x100
je 0x412928
and ebx, 0xfffffeff
cmp dword [ebp - 0x920], 0x10
mov dword [ebp - 0xa18], ebx
jb 0x412928
mov edx, dword [ebp - 0x934]
push edx
call fcn.0042eb3b
add esp, 4
mov eax, dword [ebp - 0xa20]
cmp eax, 0xffffffff
je 0x412953
push eax
xor ecx, ecx
lea esi, [ebp - 0x988]
lea edx, [ebp - 0x950]
call fcn.00415de0
mov byte [ebp - 4], 0x16
or ebx, 0x400
jmp 0x412997
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x950]
push eax
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
call fcn.0040a0c0
lea eax, [ebp - 0x8fc]
mov dword [ebp - 4], 0x17
or ebx, 0x800
mov edi, eax
lea esi, [ebp - 0x950]
mov dword [ebp - 0xa18], ebx
call fcn.00409dd0
test ebx, 0x800
je 0x4129eb
and ebx, 0xfffff7ff
cmp dword [ebp - 0x8e8], 0x10
jb 0x4129d0
mov ecx, dword [ebp - 0x8fc]
push ecx
call fcn.0042eb3b
add esp, 4
mov dword [ebp - 0x8e8], 0xf
mov dword [ebp - 0x8ec], 0
mov byte [ebp - 0x8fc], 0
mov edi, 0x10
mov dword [ebp - 4], 8
test ebx, 0x400
je 0x412a31
cmp dword [ebp - 0x974], edi
jb 0x412a16
mov edx, dword [ebp - 0x988]
push edx
call fcn.0042eb3b
add esp, 4
mov dword [ebp - 0x974], 0xf
mov dword [ebp - 0x978], 0
mov byte [ebp - 0x988], 0
mov eax, dword [ebp - 0x96c]
cmp dword [ebp - 0x958], edi
jae 0x412a45
lea eax, [ebp - 0x96c]
push eax
call dword [0x45843c]
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], edi
jae 0x412a57
lea eax, [ebp + 0xc]
push eax
call dword [0x45843c]
cmp dword [ebp + 0x28], 0
je 0x412ac7
lea ecx, [ebp - 0x988]
call fcn.00424840
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], edi
jb 0x412a7a
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [0x45845c]
mov byte [ebp - 4], 8
mov dword [ebp - 0xa1c], eax
cmp dword [ebp - 0x974], edi
jb 0x412aaa
mov eax, dword [ebp - 0x988]
push eax
call fcn.0042eb3b
add esp, 4
mov dword [ebp - 0x974], 0xf
mov dword [ebp - 0x978], 0
mov byte [ebp - 0x988], 0
jmp 0x412ae7
mov eax, dword [ebp + 0x2c]
cmp dword [ebp + 0x40], edi
jae 0x412ad2
lea eax, [ebp + 0x2c]
push 0
push 0
push 0
push 0
push eax
call dword [0x45845c]
mov dword [ebp - 0xa1c], eax
mov eax, dword [ebp - 0x9a4]
cmp dword [ebp - 0x990], edi
jae 0x412afb
lea eax, [ebp - 0x9a4]
push eax
call fcn.0042f833
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x9dc]
cmp dword [ebp - 0x9c8], edi
jae 0x412b1a
lea eax, [ebp - 0x9dc]
push 0x44fc0c
push eax
call dword [0x458550]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xff800000
add esi, 0x4800000
cmp dword [ebp - 0xa1c], 0
je 0x412e0a
mov eax, dword [ebp - 0x96c]
cmp dword [ebp - 0x958], edi
jae 0x412b59
lea eax, [ebp - 0x96c]
mov ecx, dword [ebp - 0xa1c]
push 0
push esi
push 3
push 0
push 0
push ebx
push eax
push ecx
call dword [0x458578]
mov edi, eax
mov dword [ebp - 0xa2c], edi
test edi, edi
je 0x412dfd
cmp dword [ebp - 0x93c], 0x10
mov eax, dword [ebp - 0x950]
jae 0x412b96
lea eax, [ebp - 0x950]
push 0
push esi
push 0
push 0
push 0
push eax
push 0x44fc14
push edi
call dword [0x4585bc]
mov ebx, eax
test ebx, ebx
je 0x412df6
lea esi, [ebp - 0xa14]
call fcn.0040f480
push eax
mov eax, 0x44fc18
lea ecx, [ebp - 0x8fc]
mov byte [ebp - 4], 0x19
call fcn.0040a530
add esp, 4
mov esi, 0x10
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0xa00], esi
jb 0x412bf9
mov edx, dword [ebp - 0xa14]
push edx
call fcn.0042eb3b
add esp, 4
mov eax, dword [ebp - 0x8fc]
mov dword [ebp - 0xa00], 0xf
mov dword [ebp - 0xa04], 0
mov byte [ebp - 0xa14], 0
cmp dword [ebp - 0x8e8], esi
jae 0x412c28
lea eax, [ebp - 0x8fc]
mov ecx, dword [ebp - 0x8ec]
push 0x20000000
push ecx
push eax
push ebx
call dword [0x45838c]
push 0
push 0
push 0
push 0
push ebx
call dword [0x45853c]
push 0
lea edx, [ebp - 0xa18]
push edx
mov esi, eax
lea eax, [ebp - 0x110]
push eax
push 0x13
push ebx
mov dword [ebp - 0xa18], 0x100
call dword [0x4585d4]
test eax, eax
jne 0x412cf9
mov esi, dword [ebp - 0xa28]
push 0x44fc20
mov ecx, esi
call fcn.00409d00
lea ecx, [ebp - 0x8fc]
call fcn.00409d60
lea ecx, [ebp - 0x9f8]
call fcn.00409d60
lea ecx, [ebp - 0x9a4]
call fcn.00409d60
lea ecx, [ebp - 0x9dc]
call fcn.00409d60
lea ecx, [ebp - 0x918]
call fcn.00409d60
lea ecx, [ebp - 0x96c]
call fcn.00409d60
lea ecx, [ebp - 0x950]
call fcn.00409d60
lea ecx, [ebp - 0x9c0]
call fcn.00409d60
lea ecx, [ebp + 0xc]
call fcn.00409d60
lea ecx, [ebp + 0x2c]
call fcn.00409d60
mov eax, esi
jmp 0x412f8c
lea ecx, [ebp - 0x110]
push ecx
call fcn.0042f833
add esp, 4
cmp eax, 0xc8
jne 0x412c78
test esi, esi
je 0x412dda
lea edx, [ebp - 0xa20]
push edx
push 0x7cf
lea eax, [ebp - 0x8e0]
push eax
push ebx
call dword [0x458480]
test eax, eax
je 0x412dda
mov eax, dword [ebp - 0xa20]
test eax, eax
je 0x412dda
lea ecx, [ebp - 0x8e0]
push ecx
lea edx, [ebp - 0x9c0]
mov byte [ebp + eax - 0x8e0], 0
push edx
lea eax, [ebp - 0x934]
push eax
call fcn.00416060
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x9c0]
mov byte [ebp - 4], 0x1c
call fcn.00409dd0
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0x920], 0x10
jb 0x412d9d
mov ecx, dword [ebp - 0x934]
push ecx
call fcn.0042eb3b
add esp, 4
lea edx, [ebp - 0xa20]
push edx
push 0x7cf
lea eax, [ebp - 0x8e0]
push eax
push ebx
mov dword [ebp - 0x920], 0xf
mov dword [ebp - 0x924], 0
mov byte [ebp - 0x934], 0
call dword [0x458480]
test eax, eax
jne 0x412d3d
push ebx
call dword [0x458458]
lea ecx, [ebp - 0x8fc]
mov byte [ebp - 4], 8
call fcn.00409d60
mov edi, dword [ebp - 0xa2c]
push edi
call dword [0x458458]
mov ecx, dword [ebp - 0xa1c]
push ecx
call dword [0x458458]
mov esi, dword [ebp - 0xa28]
mov ebx, 0xf
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
lea edi, [ebp - 0x9c0]
mov byte [esi], 0
call fcn.00409dd0
mov edi, 0x10
cmp dword [ebp - 0x9e4], edi
jb 0x412e49
mov edx, dword [ebp - 0x9f8]
push edx
call fcn.0042eb3b
add esp, 4
xor esi, esi
mov dword [ebp - 0x9e4], ebx
mov dword [ebp - 0x9e8], esi
mov byte [ebp - 0x9f8], 0
cmp dword [ebp - 0x990], edi
jb 0x412e75
mov eax, dword [ebp - 0x9a4]
push eax
call fcn.0042eb3b
add esp, 4
mov dword [ebp - 0x990], ebx
mov dword [ebp - 0x994], esi
mov byte [ebp - 0x9a4], 0
cmp dword [ebp - 0x9c8], edi
jb 0x412e9f
mov ecx, dword [ebp - 0x9dc]
push ecx
call fcn.0042eb3b
add esp, 4
mov dword [ebp - 0x9c8], ebx
mov dword [ebp - 0x9cc], esi
mov byte [ebp - 0x9dc], 0
cmp dword [ebp - 0x904], edi
jb 0x412ec9
mov edx, dword [ebp - 0x918]
push edx
call fcn.0042eb3b
add esp, 4
mov dword [ebp - 0x904], ebx
mov dword [ebp - 0x908], esi
mov byte [ebp - 0x918], 0
cmp dword [ebp - 0x958], edi
jb 0x412ef3
mov eax, dword [ebp - 0x96c]
push eax
call fcn.0042eb3b
add esp, 4
mov dword [ebp - 0x958], ebx
mov dword [ebp - 0x95c], esi
mov byte [ebp - 0x96c], 0
cmp dword [ebp - 0x93c], edi
jb 0x412f1d
mov ecx, dword [ebp - 0x950]
push ecx
call fcn.0042eb3b
add esp, 4
mov dword [ebp - 0x93c], ebx
mov dword [ebp - 0x940], esi
mov byte [ebp - 0x950], 0
cmp dword [ebp - 0x9ac], edi
jb 0x412f47
mov edx, dword [ebp - 0x9c0]
push edx
call fcn.0042eb3b
add esp, 4
mov dword [ebp - 0x9ac], ebx
mov dword [ebp - 0x9b0], esi
mov byte [ebp - 0x9c0], 0
cmp dword [ebp + 0x20], edi
jb 0x412f6b
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042eb3b
add esp, 4
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x1c], esi
mov byte [ebp + 0xc], 0
cmp dword [ebp + 0x40], edi
jb 0x412f86
mov ecx, dword [ebp + 0x2c]
push ecx
call fcn.0042eb3b
add esp, 4
mov eax, dword [ebp - 0xa28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eb46
mov esp, ebp
pop ebp
ret