Function at 0x40bf30
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 0x44ca11
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x466014]
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 0x45bdd0
cmovae eax, dword [ebp + 0x38]
push eax
call fcn.00438f99
add esp, 8
test eax, eax
je 0x40cbdf
push eax
call fcn.00439027
add esp, 4
cmp dword [ebp + 0x18], 0
je 0x40cbdf
cmp dword [ebp + 0x30], 0
je 0x40cbdf
cmp dword [ebp + 0x60], 0
je 0x40cbdf
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x16c]
call fcn.0041a110
cmp dword [ebp - 0x158], 0x10
lea ecx, [ebp - 0xb0]
lea eax, [ebp - 0x16c]
cmovae eax, dword [ebp - 0x16c]
push ecx
push eax
call fcn.00439cff
mov edx, dword [ebp - 0x158]
or ebx, 0xffffffff
add esp, 8
test eax, eax
cmove ebx, dword [ebp - 0x9c]
cmp edx, 0x10
jb 0x40c026
mov ecx, dword [ebp - 0x16c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c01c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ccfd
push edx
push ecx
call fcn.0041fed9
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 0x40c078
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 0x40c050
dec esi
mov byte [esi], 0x2d
jmp 0x40c09a
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 0x40c078
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 0x40c0d7
mov eax, edx
lea ecx, [ebp - 0x14c]
sub eax, esi
push eax
push esi
call fcn.0041a930
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.00404ad0
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x40c13e
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c134
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd02
push edx
push ecx
call fcn.0041fed9
add esp, 8
lea eax, [ebp - 0xc8]
push eax
sub esp, 0x18
mov ecx, esp
push 0x466d58
call fcn.0041a110
lea ecx, [ebp - 0x14c]
call fcn.00405ec0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.0041ab90
add esp, 4
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x40c1b1
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c1a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd07
push edx
push ecx
call fcn.0041fed9
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 0x466b60
call fcn.0041a110
lea ecx, [ebp - 0x1d0]
call fcn.00405ec0
add esp, 0x18
push eax
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 0xa
push eax
sub esp, 0x18
mov ecx, esp
push 0x466f20
call fcn.0041a110
lea ecx, [ebp - 0x1b8]
call fcn.00405ec0
add esp, 0x18
push eax
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0xb
push eax
sub esp, 0x18
mov ecx, esp
push 0x466fc8
call fcn.0041a110
lea ecx, [ebp - 0x1a0]
call fcn.00405ec0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x188]
call fcn.0041ab90
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.0041aa90
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x16c]
call fcn.0041ab90
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x68]
call fcn.0041aa90
add esp, 4
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x158]
cmp edx, 0x10
jb 0x40c2c0
mov ecx, dword [ebp - 0x16c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c2b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd0c
push edx
push ecx
call fcn.0041fed9
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 0x40c313
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c309
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd0c
push edx
push ecx
call fcn.0041fed9
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 0x40c363
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c359
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd0c
push edx
push ecx
call fcn.0041fed9
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 0x40c3bc
mov ecx, dword [ebp - 0x1a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c3b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd0c
push edx
push ecx
call fcn.0041fed9
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 0x40c415
mov ecx, dword [ebp - 0x1b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c40b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd0c
push edx
push ecx
call fcn.0041fed9
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 0x40c46e
mov ecx, dword [ebp - 0x1d0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c464
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd0c
push edx
push ecx
call fcn.0041fed9
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 0x466f98
call fcn.0041a110
lea ecx, [ebp - 0x98]
call fcn.00405ec0
add esp, 0x18
push eax
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x17
push eax
sub esp, 0x18
mov ecx, esp
push 0x467130
call fcn.0041a110
lea ecx, [ebp - 0x108]
call fcn.00405ec0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x14c]
call fcn.0041ab90
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x50]
call fcn.0041aa90
add esp, 4
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x40c532
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c528
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd11
push edx
push ecx
call fcn.0041fed9
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 0x40c58b
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c581
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd11
push edx
push ecx
call fcn.0041fed9
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 0x40c5e4
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c5da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd11
push edx
push ecx
call fcn.0041fed9
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 0x40c637
sub ebx, edx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c643
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.0041fee7
push 0x10000
push 0
push eax
mov dword [ebp - 0x150], eax
call fcn.00436960
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.0041a110
cmp dword [ebp - 0x84], 0x10
lea ecx, [ebp - 0x120]
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
push ecx
push eax
call fcn.00439cff
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 0x40c74d
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c743
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd16
push edx
push ecx
call fcn.0041fed9
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 0x467460
call fcn.0041a110
lea ecx, [ebp - 0x98]
call fcn.00405ec0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x40c7c3
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 0x40c807
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c7fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd1b
push edx
push ecx
call fcn.0041fed9
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 0x40c87c
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 0x40c879
add edi, dword [ebp - 0x128]
sub ebx, dword [ebp - 0x128]
jne 0x40c857
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x40c919
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 0x40caa2
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x128], eax
test ebx, ebx
je 0x40c8f9
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 0x40c8f3
add edi, dword [ebp - 0x12c]
sub ebx, dword [ebp - 0x12c]
jne 0x40c8d1
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 0x40c890
mov ebx, dword [ebp - 0x154]
test ebx, ebx
je 0x40c955
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 0x40c952
add edi, dword [ebp - 0x124]
sub ebx, dword [ebp - 0x124]
jne 0x40c930
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 0x40c96f
push esi
call ebx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x40c979
push eax
call ebx
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40c983
push eax
call ebx
test edi, edi
je 0x40c993
cmp edi, 0xffffffff
je 0x40c993
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x40c9c7
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c9bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd20
push edx
push ecx
call fcn.0041fed9
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 0x40ca0d
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ca03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd20
push edx
push ecx
call fcn.0041fed9
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 0x40ca53
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ca49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd20
push edx
push ecx
call fcn.0041fed9
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 0x40cbdf
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cbd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd20
jmp 0x40cbd5
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
test esi, esi
je 0x40caaf
push esi
call ebx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x40cab9
push eax
call ebx
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40cac3
push eax
call ebx
test edi, edi
je 0x40cad3
cmp edi, 0xffffffff
je 0x40cad3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x40cb07
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cafd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd20
push edx
push ecx
call fcn.0041fed9
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 0x40cb4d
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cb43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd20
push edx
push ecx
call fcn.0041fed9
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 0x40cb93
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cb89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd20
push edx
push ecx
call fcn.0041fed9
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 0x40cbdf
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cbd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd20
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x40cc13
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cc09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd25
push edx
push ecx
call fcn.0041fed9
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 0x40cc59
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cc4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd25
push edx
push ecx
call fcn.0041fed9
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 0x40cc9f
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cc95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd25
push edx
push ecx
call fcn.0041fed9
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 0x40cce1
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ccd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd25
push edx
push ecx
call fcn.0041fed9
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.0041f862
mov esp, ebp
pop ebp
ret
call fcn.004394da
call fcn.004394da
call fcn.004394da
call fcn.004394da
call fcn.004394da
call fcn.004394da
call fcn.004394da
call fcn.004394da
call fcn.004394da
int3