Function at 0x40b240
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 0x44b331
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x464014]
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 0x45adc0
cmovae eax, dword [ebp + 0x38]
push eax
call fcn.00438466
add esp, 8
test eax, eax
je 0x40beef
push eax
call fcn.004384f4
add esp, 4
cmp dword [ebp + 0x18], 0
je 0x40beef
cmp dword [ebp + 0x30], 0
je 0x40beef
cmp dword [ebp + 0x60], 0
je 0x40beef
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x16c]
call fcn.00419610
cmp dword [ebp - 0x158], 0x10
lea ecx, [ebp - 0xb0]
lea eax, [ebp - 0x16c]
cmovae eax, dword [ebp - 0x16c]
push ecx
push eax
call fcn.004391cc
mov edx, dword [ebp - 0x158]
or ebx, 0xffffffff
add esp, 8
test eax, eax
cmove ebx, dword [ebp - 0x9c]
cmp edx, 0x10
jb 0x40b336
mov ecx, dword [ebp - 0x16c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b32c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c00d
push edx
push ecx
call fcn.0041f3db
add esp, 8
mov dword [ebp - 0x15c], 0
lea esi, [ebp - 0x13]
mov dword [ebp - 0x158], 0xf
mov byte [ebp - 0x16c], 0
test ebx, ebx
jns 0x40b388
neg ebx
nop word [eax + eax]
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 0x40b360
dec esi
mov byte [esi], 0x2d
jmp 0x40b3aa
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 0x40b388
xor eax, eax
lea edx, [ebp - 0x13]
mov dword [ebp - 0x13c], eax
mov ecx, 0xf
mov dword [ebp - 0x138], ecx
mov byte [ebp - 0x14c], al
cmp esi, edx
je 0x40b3e7
mov eax, edx
lea ecx, [ebp - 0x14c]
sub eax, esi
push eax
push esi
call fcn.00419e30
mov ecx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x13c]
mov byte [ebp - 4], 4
lea edx, [ebp - 0x14c]
cmp ecx, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x14c]
lea ecx, [ebp - 0xc8]
push eax
call fcn.00404ab0
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x40b44e
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b444
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c012
push edx
push ecx
call fcn.0041f3db
add esp, 8
lea eax, [ebp - 0xc8]
push eax
sub esp, 0x18
mov ecx, esp
push 0x464d58
call fcn.00419610
lea ecx, [ebp - 0x14c]
call fcn.00405310
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.0041a090
add esp, 4
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x40b4c1
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b4b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c017
push edx
push ecx
call fcn.0041f3db
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x13c], 0
mov ecx, esp
mov dword [ebp - 0x138], 0xf
mov byte [ebp - 0x14c], 0
push 0x464b60
call fcn.00419610
lea ecx, [ebp - 0x1d0]
call fcn.00405310
add esp, 0x18
push eax
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 0xa
push eax
sub esp, 0x18
mov ecx, esp
push 0x464f20
call fcn.00419610
lea ecx, [ebp - 0x1b8]
call fcn.00405310
add esp, 0x18
push eax
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0xb
push eax
sub esp, 0x18
mov ecx, esp
push 0x464fc8
call fcn.00419610
lea ecx, [ebp - 0x1a0]
call fcn.00405310
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x188]
call fcn.0041a090
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.00419f90
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x16c]
call fcn.0041a090
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x68]
call fcn.00419f90
add esp, 4
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x158]
cmp edx, 0x10
jb 0x40b5d0
mov ecx, dword [ebp - 0x16c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b5c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c01c
push edx
push ecx
call fcn.0041f3db
add esp, 8
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0xf
mov byte [ebp - 0x16c], 0
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40b623
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b619
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c01c
push edx
push ecx
call fcn.0041f3db
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x174]
cmp edx, 0x10
jb 0x40b673
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b669
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c01c
push edx
push ecx
call fcn.0041f3db
add esp, 8
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], 0
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x18c]
cmp edx, 0x10
jb 0x40b6cc
mov ecx, dword [ebp - 0x1a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b6c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c01c
push edx
push ecx
call fcn.0041f3db
add esp, 8
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0xf
mov byte [ebp - 0x1a0], 0
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x1a4]
cmp edx, 0x10
jb 0x40b725
mov ecx, dword [ebp - 0x1b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b71b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c01c
push edx
push ecx
call fcn.0041f3db
add esp, 8
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0xf
mov byte [ebp - 0x1b8], 0
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x1bc]
cmp edx, 0x10
jb 0x40b77e
mov ecx, dword [ebp - 0x1d0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b774
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c01c
push edx
push ecx
call fcn.0041f3db
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x1c0], 0
mov ecx, esp
mov dword [ebp - 0x1bc], 0xf
mov byte [ebp - 0x1d0], 0
push 0x464f98
call fcn.00419610
lea ecx, [ebp - 0x98]
call fcn.00405310
add esp, 0x18
push eax
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x17
push eax
sub esp, 0x18
mov ecx, esp
push 0x465118
call fcn.00419610
lea ecx, [ebp - 0x108]
call fcn.00405310
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x14c]
call fcn.0041a090
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x50]
call fcn.00419f90
add esp, 4
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x40b842
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b838
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c021
push edx
push ecx
call fcn.0041f3db
add esp, 8
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0xf
mov byte [ebp - 0x14c], 0
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0xf4]
cmp edx, 0x10
jb 0x40b89b
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b891
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c021
push edx
push ecx
call fcn.0041f3db
add esp, 8
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x40b8f4
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b8ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c021
push edx
push ecx
call fcn.0041f3db
add esp, 8
cmp dword [ebp - 0x6c], 0x10
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x88], 0
cmovae eax, dword [ebp - 0x80]
cmp dword [ebp - 0x54], 0x10
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
cmp dword [ebp - 0x3c], 0x10
mov ebx, eax
mov dword [ebp - 0x84], 0xf
cmovae ecx, dword [ebp - 0x50]
mov byte [ebp - 0x98], 0
mov dword [ebp - 0x128], eax
lea edx, [ebx + 1]
mov dword [ebp - 0x124], ecx
mov al, byte [ebx]
inc ebx
test al, al
jne 0x40b947
sub ebx, edx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b953
xorps xmm0, xmm0
mov dword [ebp - 0x134], 0
sub ecx, edx
movlpd qword [ebp - 0xec], xmm0
push 0x10000
mov dword [ebp - 0x154], ecx
movlpd qword [ebp - 0xe4], xmm0
movlpd qword [ebp - 0xdc], xmm0
movlpd qword [ebp - 0xd0], xmm0
call fcn.0041f3e9
push 0x10000
push 0
push eax
mov dword [ebp - 0x150], eax
call fcn.00435e60
add esp, 0x10
lea ecx, [ebp + 0x38]
cmp dword [ebp + 0x4c], 0x10
cmovae ecx, dword [ebp + 0x38]
push 0
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 - 0x30], edi
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x98]
call fcn.00419610
cmp dword [ebp - 0x84], 0x10
lea ecx, [ebp - 0x120]
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
push ecx
push eax
call fcn.004391cc
mov edx, dword [ebp - 0x84]
add esp, 8
test eax, eax
mov eax, 0xffffffff
cmove eax, dword [ebp - 0x10c]
mov dword [ebp - 0x130], eax
cmp edx, 0x10
jb 0x40ba5d
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ba53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c026
push edx
push ecx
call fcn.0041f3db
add esp, 8
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x2c], 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], 0x20
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 0x465448
call fcn.00419610
lea ecx, [ebp - 0x98]
call fcn.00405310
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x40bad3
mov eax, dword [eax]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, dword [ebp - 0x84]
mov esi, eax
cmp edx, 0x10
jb 0x40bb17
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bb0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c02b
push edx
push ecx
call fcn.0041f3db
add esp, 8
push 0xa0000000
push 0xffffffffffffffff
push dword [ebp - 0x12c]
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov eax, dword [ebp - 0x154]
add eax, dword [ebp - 0x130]
push 0
add eax, ebx
mov dword [ebp - 0xf0], 0x28
push 8
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xf0]
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test ebx, ebx
je 0x40bb8c
mov edi, dword [ebp - 0x128]
lea eax, [ebp - 0x128]
push eax
push ebx
push edi
push esi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x40bb89
add edi, dword [ebp - 0x128]
sub ebx, dword [ebp - 0x128]
jne 0x40bb67
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x40bc29
nop word [eax + eax]
sub eax, dword [ebp - 0x134]
mov ecx, 4
cmp eax, ecx
push 0
cmovb ecx, eax
lea eax, [ebp - 0x34]
push eax
push ecx
push dword [ebp - 0x150]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40bdb2
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x128], eax
test ebx, ebx
je 0x40bc09
mov edi, eax
lea eax, [ebp - 0x12c]
push eax
push ebx
push edi
push esi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x40bc03
add edi, dword [ebp - 0x12c]
sub ebx, dword [ebp - 0x12c]
jne 0x40bbe1
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x134]
add eax, ebx
cmp eax, dword [ebp - 0x130]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x130]
jb 0x40bba0
mov ebx, dword [ebp - 0x154]
test ebx, ebx
je 0x40bc65
mov edi, dword [ebp - 0x124]
nop dword [eax]
lea eax, [ebp - 0x124]
push eax
push ebx
push edi
push esi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x40bc62
add edi, dword [ebp - 0x124]
sub ebx, dword [ebp - 0x124]
jne 0x40bc40
mov edi, dword [ebp - 0x30]
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 0x40bc7f
push esi
call ebx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x40bc89
push eax
call ebx
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40bc93
push eax
call ebx
test edi, edi
je 0x40bca3
cmp edi, 0xffffffff
je 0x40bca3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x40bcd7
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bccd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c030
push edx
push ecx
call fcn.0041f3db
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 0x40bd1d
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bd13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c030
push edx
push ecx
call fcn.0041f3db
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 0x40bd63
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bd59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c030
push edx
push ecx
call fcn.0041f3db
add esp, 8
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp edx, 0x10
jb 0x40beef
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bee5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c030
jmp 0x40bee5
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
test esi, esi
je 0x40bdbf
push esi
call ebx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x40bdc9
push eax
call ebx
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40bdd3
push eax
call ebx
test edi, edi
je 0x40bde3
cmp edi, 0xffffffff
je 0x40bde3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x40be17
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40be0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c030
push edx
push ecx
call fcn.0041f3db
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 0x40be5d
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40be53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c030
push edx
push ecx
call fcn.0041f3db
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 0x40bea3
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40be99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c030
push edx
push ecx
call fcn.0041f3db
add esp, 8
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp edx, 0x10
jb 0x40beef
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bee5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c030
push edx
push ecx
call fcn.0041f3db
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x40bf23
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bf19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c035
push edx
push ecx
call fcn.0041f3db
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 0x40bf69
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bf5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c035
push edx
push ecx
call fcn.0041f3db
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 0x40bfaf
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bfa5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c035
push edx
push ecx
call fcn.0041f3db
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 0x40bff1
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bfe7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c035
push edx
push ecx
call fcn.0041f3db
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.0041ed61
mov esp, ebp
pop ebp
ret
call fcn.004389a7
call fcn.004389a7
call fcn.004389a7
call fcn.004389a7
call fcn.004389a7
call fcn.004389a7
call fcn.004389a7
call fcn.004389a7
call fcn.004389a7
int3