Function at 0x412da0
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Resolve function by parsing pe exports
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x451854
mov eax, dword fs:[0]
push eax
mov eax, 0x1314
call fcn.0043a2b0
mov eax, dword [0x468850]
xor eax, esp
mov dword [esp + 0x1310], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x468850]
xor eax, esp
push eax
lea eax, [esp + 0x1328]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x1330], 1
lea ebp, [edi + 0x2c]
mov eax, dword [edi + 0x58]
xor ebx, ebx
mov dword [esp + 0x24], ebx
cmp eax, ebx
je 0x412e0c
push eax
call fcn.00419c68
add esp, 4
mov dword [edi + 0x58], ebx
mov dword [edi + 0x54], ebx
mov eax, dword [edi + 0x48]
push 0xffffffffffffffff
mov dword [esp + 0x24], eax
lea esi, [edi + 0x10]
push ebx
lea eax, [esp + 0x1340]
mov ecx, esi
mov dword [edi + 0x68], 0xffffffff
mov dword [esp + 0x30], ebx
call fcn.004029c0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x135c]
mov ecx, ebp
call fcn.004029c0
cmp dword [edi + 0x40], ebx
jne 0x412ee8
mov ebx, 1
mov eax, esi
call fcn.00413e40
mov edi, eax
cmp edi, 0xffffffff
je 0x412edd
lea edx, [edi + 1]
mov ecx, esi
lea eax, [esp + 0x30]
call fcn.00419990
push 0xffffffffffffffff
push 0
mov ecx, ebp
mov byte [esp + 0x1338], 2
call fcn.004029c0
mov byte [esp + 0x1330], bl
mov ebx, 8
cmp dword [esp + 0x48], ebx
jb 0x412ea2
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00419c68
add esp, 4
mov ecx, edi
mov edx, esi
lea eax, [esp + 0x30]
call fcn.00419960
push 0xffffffffffffffff
push 0
mov ecx, esi
mov byte [esp + 0x1338], 3
call fcn.004029c0
mov byte [esp + 0x1330], 1
cmp dword [esp + 0x48], ebx
jb 0x412edd
mov edx, dword [esp + 0x34]
push edx
call fcn.00419c68
add esp, 4
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [eax + 0x40], ebx
je 0x412ef0
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
add eax, 8
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x412f19
mov dword [esp + 0x24], 1
lea edi, [eax + 7]
lea ebp, [eax + 8]
jmp 0x413b3d
mov eax, 7
xor edx, edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], dx
xor ecx, ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], cx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], dx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x7c]
push edx
lea edx, [esp + 0x58]
lea edi, [esp + 0x60]
mov ecx, esi
mov byte [esp + 0x133c], 6
call fcn.00412c50
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x1330], 7
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x412fde
mov edi, ebp
lea esi, [esp + 0x30]
call fcn.00419560
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x133c], 8
call fcn.00411ac0
cmp dword [esp + 0x48], 0x10
jb 0x413019
mov ecx, dword [esp + 0x34]
push ecx
jmp 0x413011
cmp eax, 1
jne 0x413019
push ebp
lea edi, [esp + 0x34]
call fcn.00419110
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x133c], 9
call fcn.00411ac0
cmp dword [esp + 0x48], 0x10
jb 0x413019
mov edx, dword [esp + 0x34]
push edx
call fcn.00419c68
add esp, 4
push ebx
push ebx
push ebx
push ebx
push 0x4592dc
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [esp + 0x50], edi
cmp edi, ebx
jne 0x413103
cmp dword [esp + 0x70], 0x10
jb 0x41304a
mov eax, dword [esp + 0x5c]
push eax
call fcn.00419c68
add esp, 4
mov edi, 8
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0xc4], edi
jb 0x413078
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00419c68
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], dx
cmp dword [esp + 0xa8], edi
jb 0x4130ae
mov eax, dword [esp + 0x94]
push eax
call fcn.00419c68
add esp, 4
xor ecx, ecx
mov byte [esp + 0x1330], 1
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], cx
cmp dword [esp + 0x8c], edi
jb 0x4130e4
mov edx, dword [esp + 0x78]
push edx
call fcn.00419c68
add esp, 4
xor eax, eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], ax
mov edi, esi
lea ebp, [eax + 8]
jmp 0x413b2e
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 8]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esi, 8
push ebx
push ecx
call ebp
test eax, eax
jne 0x4131f4
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x24], 1
jb 0x41313b
mov edx, dword [esp + 0x5c]
push edx
call fcn.00419c68
add esp, 4
mov edi, 8
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0xc4], edi
jb 0x413169
mov eax, dword [esp + 0xb0]
push eax
call fcn.00419c68
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], cx
cmp dword [esp + 0xa8], edi
jb 0x41319f
mov edx, dword [esp + 0x94]
push edx
call fcn.00419c68
add esp, 4
xor eax, eax
mov byte [esp + 0x1330], 1
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], ax
cmp dword [esp + 0x8c], edi
jb 0x4131d5
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00419c68
add esp, 4
xor edx, edx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], dx
mov edi, esi
lea ebp, [edx + 8]
jmp 0x413b2e
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x413206
lea eax, [esp + 0x78]
mov ecx, dword [esp + 0x54]
push ebx
push ebx
push 3
push ebx
push ebx
push ecx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esp + 0x2c], eax
cmp eax, ebx
jne 0x4132f2
cmp dword [esp + 0x70], 0x10
jb 0x413239
mov edx, dword [esp + 0x5c]
push edx
call fcn.00419c68
add esp, 4
mov edi, 8
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0xc4], edi
jb 0x413267
mov eax, dword [esp + 0xb0]
push eax
call fcn.00419c68
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], cx
cmp dword [esp + 0xa8], edi
jb 0x41329d
mov edx, dword [esp + 0x94]
push edx
call fcn.00419c68
add esp, 4
xor eax, eax
mov byte [esp + 0x1330], 1
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], ax
cmp dword [esp + 0x8c], edi
jb 0x4132d3
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00419c68
add esp, 4
xor edx, edx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], dx
mov edi, esi
lea ebp, [edx + 8]
jmp 0x413b1f
mov eax, dword [esi]
push ebx
push eax
call ebp
test eax, eax
jne 0x4133d5
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x24], 1
jb 0x41331c
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00419c68
add esp, 4
mov edi, 8
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0xc4], edi
jb 0x41334a
mov edx, dword [esp + 0xb0]
push edx
call fcn.00419c68
add esp, 4
xor eax, eax
mov esi, 7
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], ax
cmp dword [esp + 0xa8], edi
jb 0x413380
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00419c68
add esp, 4
xor edx, edx
mov byte [esp + 0x1330], 1
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], dx
cmp dword [esp + 0x8c], edi
jb 0x4133b6
mov eax, dword [esp + 0x78]
push eax
call fcn.00419c68
add esp, 4
xor ecx, ecx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], cx
mov edi, esi
lea ebp, [ecx + 8]
jmp 0x413b1f
xor edx, edx
mov dword [esp + 0xe0], 7
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], dx
mov byte [esp + 0x1330], 0xa
lea esi, [esp + 0xc8]
cmp dword [esp + 0x20], ebx
jne 0x41340f
push 3
mov eax, 0x45ca28
jmp 0x413416
push 4
mov eax, 0x45ca30
call fcn.00402910
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edi, [esp + 0xec]
call fcn.00413f30
add esp, 8
mov byte [esp + 0x1330], 0xb
cmp dword [esp + 0x4c], 4
mov eax, 0x80400002
jne 0x413453
mov eax, 0x80c00002
mov edx, dword [esp + 0xe8]
mov ebp, 8
cmp dword [esp + 0xfc], ebp
jae 0x41346f
lea edx, [esp + 0xe8]
mov ecx, dword [esp + 0xcc]
cmp dword [esp + 0xe0], ebp
jae 0x413486
lea ecx, [esp + 0xcc]
push ebx
push eax
push ebx
push ebx
push ebx
push edx
mov edx, dword [esp + 0x44]
push ecx
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esp + 0x20], eax
cmp eax, ebx
jne 0x4135c2
cmp dword [esp + 0xfc], ebp
jb 0x4134bd
mov eax, dword [esp + 0xe8]
push eax
call fcn.00419c68
add esp, 4
xor ecx, ecx
mov edi, 7
mov word [esp + 0xe8], cx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], edi
cmp dword [esp + 0xe0], ebp
jb 0x4134f3
mov edx, dword [esp + 0xcc]
push edx
call fcn.00419c68
add esp, 4
xor eax, eax
cmp dword [esp + 0x70], 0x10
mov word [esp + 0xcc], ax
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], edi
jb 0x41351f
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00419c68
add esp, 4
mov byte [esp + 0x5c], bl
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 0xf
cmp dword [esp + 0xc4], ebp
jb 0x413548
mov edx, dword [esp + 0xb0]
push edx
call fcn.00419c68
add esp, 4
xor eax, eax
mov word [esp + 0xb0], ax
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], edi
cmp dword [esp + 0xa8], ebp
jb 0x413579
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00419c68
add esp, 4
xor edx, edx
mov byte [esp + 0x1330], 1
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], dx
cmp dword [esp + 0x8c], ebp
jb 0x4135af
mov eax, dword [esp + 0x78]
push eax
call fcn.00419c68
add esp, 4
xor ecx, ecx
mov dword [esp + 0x8c], edi
mov word [esp + 0x78], cx
jmp 0x413b09
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 8]
add eax, 8
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4135e5
mov dword [esp + 0x24], 1
jmp 0x4134a4
xor edx, edx
mov edi, 7
push 0x31
mov eax, str.Content_Type:_application_x_www_form_urlencoded_r_n
lea esi, [esp + 0x104]
mov dword [esp + 0x11c], edi
mov dword [esp + 0x118], ebx
mov word [esp + 0x108], dx
call fcn.00402910
mov byte [esp + 0x1330], 0xc
mov eax, dword [esp + 0x104]
cmp dword [esp + 0x118], ebp
jae 0x413634
lea eax, [esp + 0x104]
mov ecx, dword [esp + 0x114]
mov esi, dword [esp + 0x20]
push 0x20000000
push ecx
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x413798
cmp dword [esp + 0x118], ebp
jb 0x41366e
mov edx, dword [esp + 0x104]
push edx
call fcn.00419c68
add esp, 4
xor eax, eax
mov dword [esp + 0x118], edi
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], ax
cmp dword [esp + 0xfc], ebp
jb 0x41369f
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00419c68
add esp, 4
xor edx, edx
mov dword [esp + 0xfc], edi
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], dx
cmp dword [esp + 0xe0], ebp
jb 0x4136d0
mov eax, dword [esp + 0xcc]
push eax
call fcn.00419c68
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], cx
jb 0x4136fc
mov edx, dword [esp + 0x5c]
push edx
call fcn.00419c68
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0xc4], ebp
jb 0x413725
mov eax, dword [esp + 0xb0]
push eax
call fcn.00419c68
add esp, 4
xor ecx, ecx
mov word [esp + 0xb0], cx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], edi
cmp dword [esp + 0xa8], ebp
jb 0x413756
mov edx, dword [esp + 0x94]
push edx
call fcn.00419c68
add esp, 4
xor eax, eax
mov byte [esp + 0x1330], 1
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], ax
cmp dword [esp + 0x8c], ebp
jb 0x41378c
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00419c68
add esp, 4
mov dword [esp + 0x8c], edi
jmp 0x413b02
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0xb8], ebx
je 0x413802
cmp dword [eax + 0xbc], ebp
jb 0x4137b4
mov eax, dword [eax + 0xa8]
jmp 0x4137b9
add eax, 0xa8
push eax
push str.Referer:__s_r_n
lea ecx, [esp + 0x108]
call fcn.004199f0
mov eax, dword [esp + 0x10c]
add esp, 8
cmp dword [esp + 0x118], ebp
jae 0x4137e5
lea eax, [esp + 0x104]
mov ecx, dword [esp + 0x114]
push 0x20000000
push ecx
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x413655
cmp dword [esp + 0x70], 0x10
mov eax, dword [esp + 0x5c]
jae 0x413811
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x6c]
push ecx
push eax
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x413655
mov ebp, dword [esp + 0x20]
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x124]
push edx
push 5
xor eax, eax
mov edi, 0x104
push ebp
mov word [esp + 0x130], ax
mov dword [esp + 0x2c], edi
call esi
test eax, eax
je 0x41387f
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x11c]
push edx
xor eax, eax
push str.Content_length:__s__n
mov word [esp + ecx*2 + 0x124], ax
call fcn.00439694
add esp, 8
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x124]
push ecx
push 0x13
push ebp
mov dword [esp + 0x2c], edi
call esi
test eax, eax
je 0x4138e0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x11c]
push ecx
xor edx, edx
push str.Status_code:__s__n
mov word [esp + eax*2 + 0x124], dx
call fcn.00439694
lea edx, [esp + 0x124]
push edx
call fcn.00438aa1
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [ecx + 0x68], eax
cmp eax, 0xc8
jne 0x4138e0
mov dword [esp + 0x28], 1
push ebx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x124]
push eax
push 0x14
push ebp
mov dword [esp + 0x2c], edi
call esi
test eax, eax
je 0x41391e
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x11c]
push eax
xor ecx, ecx
push str.Status_text:__s__n
mov word [esp + edx*2 + 0x124], cx
call fcn.00439694
add esp, 8
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push 0x1000
lea edx, [esp + 0x32c]
push edx
push eax
xor ebp, ebp
mov dword [esp + 0x28], 0x1000
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4139b3
lea esp, [esp]
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x4139b3
mov esi, dword [esp + 0x1c]
lea edi, [eax + ebp]
add esi, 0x50
call fcn.00402e00
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x58]
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x328]
push ecx
add eax, ebp
push eax
call fcn.004422a0
mov ecx, dword [esp + 0x2c]
add ebp, dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push 0x1000
lea eax, [esp + 0x32c]
push eax
push ecx
mov dword [esp + 0x28], 0x1000
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x413950
mov edi, 8
cmp dword [esp + 0x118], edi
jb 0x4139d1
mov edx, dword [esp + 0x104]
push edx
call fcn.00419c68
add esp, 4
xor eax, eax
mov esi, 7
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], ax
cmp dword [esp + 0xfc], edi
jb 0x413a07
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00419c68
add esp, 4
xor edx, edx
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], dx
cmp dword [esp + 0xe0], edi
jb 0x413a38
mov eax, dword [esp + 0xcc]
push eax
call fcn.00419c68
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], cx
jb 0x413a64
mov edx, dword [esp + 0x5c]
push edx
call fcn.00419c68
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0xc4], edi
jb 0x413a8d
mov eax, dword [esp + 0xb0]
push eax
call fcn.00419c68
add esp, 4
xor ecx, ecx
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], cx
cmp dword [esp + 0xa8], edi
jb 0x413abe
mov edx, dword [esp + 0x94]
push edx
call fcn.00419c68
add esp, 4
xor eax, eax
mov byte [esp + 0x1330], 1
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], ax
cmp dword [esp + 0x8c], edi
jb 0x413af4
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00419c68
add esp, 4
mov dword [esp + 0x8c], esi
mov edi, esi
mov ebp, 8
xor edx, edx
mov word [esp + 0x78], dx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x88], ebx
cmp eax, ebx
je 0x413b1f
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x413b2e
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x413b3d
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
je 0x413bc1
cmp dword [esp + 0x24], ebx
jne 0x413bc1
mov esi, dword [esp + 0x28]
mov edx, dword [ecx]
mov edx, dword [edx]
add eax, 8
push eax
cmp esi, ebx
sete al
movzx eax, al
push eax
mov eax, dword [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
call edx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1340]
mov byte [esp + 0x1338], 0xd
call fcn.004029c0
mov byte [esp + 0x1330], 1
cmp dword [esp + 0x48], ebp
jb 0x413ba1
mov eax, dword [esp + 0x34]
push eax
call fcn.00419c68
add esp, 4
cmp dword [esp + 0x134c], ebx
je 0x413bc5
mov ebp, dword [esp + 0x1c]
add ebp, 0x2c
mov edi, ebp
call fcn.00413c70
mov edi, dword [esp + 0x1c]
jmp 0x412df3
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x1350], ebp
jb 0x413bde
mov ecx, dword [esp + 0x133c]
push ecx
call fcn.00419c68
add esp, 4
xor edx, edx
mov dword [esp + 0x1350], edi
mov dword [esp + 0x134c], ebx
mov word [esp + 0x133c], dx
cmp dword [esp + 0x136c], ebp
jb 0x413c0f
mov eax, dword [esp + 0x1358]
push eax
call fcn.00419c68
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x1328]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1310]
xor ecx, esp
call fcn.00437d66
add esp, 0x1320
ret 0x38