Function at 0x40bf50
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 0x44ca31
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 0x45bdc8
cmovae eax, dword [ebp + 0x38]
push eax
call fcn.00438fb9
add esp, 8
test eax, eax
je 0x40cbff
push eax
call fcn.00439047
add esp, 4
cmp dword [ebp + 0x18], 0
je 0x40cbff
cmp dword [ebp + 0x30], 0
je 0x40cbff
cmp dword [ebp + 0x60], 0
je 0x40cbff
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x16c]
call fcn.0041a130
cmp dword [ebp - 0x158], 0x10
lea ecx, [ebp - 0xb0]
lea eax, [ebp - 0x16c]
cmovae eax, dword [ebp - 0x16c]
push ecx
push eax
call fcn.00439d1f
mov edx, dword [ebp - 0x158]
or ebx, 0xffffffff
add esp, 8
test eax, eax
cmove ebx, dword [ebp - 0x9c]
cmp edx, 0x10
jb 0x40c046
mov ecx, dword [ebp - 0x16c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c03c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd1d
push edx
push ecx
call fcn.0041fef8
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 0x40c098
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 0x40c070
dec esi
mov byte [esi], 0x2d
jmp 0x40c0ba
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 0x40c098
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 0x40c0f7
mov eax, edx
lea ecx, [ebp - 0x14c]
sub eax, esi
push eax
push esi
call fcn.0041a950
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 0x40c15e
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c154
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd22
push edx
push ecx
call fcn.0041fef8
add esp, 8
lea eax, [ebp - 0xc8]
push eax
sub esp, 0x18
mov ecx, esp
push 0x466d58
call fcn.0041a130
lea ecx, [ebp - 0x14c]
call fcn.00405ec0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.0041abb0
add esp, 4
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x40c1d1
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c1c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd27
push edx
push ecx
call fcn.0041fef8
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.0041a130
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.0041a130
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.0041a130
lea ecx, [ebp - 0x1a0]
call fcn.00405ec0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x188]
call fcn.0041abb0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.0041aab0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x16c]
call fcn.0041abb0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x68]
call fcn.0041aab0
add esp, 4
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x158]
cmp edx, 0x10
jb 0x40c2e0
mov ecx, dword [ebp - 0x16c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c2d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd2c
push edx
push ecx
call fcn.0041fef8
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 0x40c333
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c329
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd2c
push edx
push ecx
call fcn.0041fef8
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 0x40c383
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c379
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd2c
push edx
push ecx
call fcn.0041fef8
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 0x40c3dc
mov ecx, dword [ebp - 0x1a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c3d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd2c
push edx
push ecx
call fcn.0041fef8
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 0x40c435
mov ecx, dword [ebp - 0x1b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c42b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd2c
push edx
push ecx
call fcn.0041fef8
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 0x40c48e
mov ecx, dword [ebp - 0x1d0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c484
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd2c
push edx
push ecx
call fcn.0041fef8
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.0041a130
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.0041a130
lea ecx, [ebp - 0x108]
call fcn.00405ec0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x14c]
call fcn.0041abb0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x50]
call fcn.0041aab0
add esp, 4
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x40c552
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c548
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd31
push edx
push ecx
call fcn.0041fef8
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 0x40c5ab
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c5a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd31
push edx
push ecx
call fcn.0041fef8
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 0x40c604
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c5fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd31
push edx
push ecx
call fcn.0041fef8
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 0x40c657
sub ebx, edx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c663
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.0041ff06
push 0x10000
push 0
push eax
mov dword [ebp - 0x150], eax
call fcn.00436980
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.0041a130
cmp dword [ebp - 0x84], 0x10
lea ecx, [ebp - 0x120]
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
push ecx
push eax
call fcn.00439d1f
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 0x40c76d
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c763
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd36
push edx
push ecx
call fcn.0041fef8
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.0041a130
lea ecx, [ebp - 0x98]
call fcn.00405ec0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x40c7e3
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 0x40c827
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c81d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd3b
push edx
push ecx
call fcn.0041fef8
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 0x40c89c
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 0x40c899
add edi, dword [ebp - 0x128]
sub ebx, dword [ebp - 0x128]
jne 0x40c877
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x40c939
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 0x40cac2
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x128], eax
test ebx, ebx
je 0x40c919
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 0x40c913
add edi, dword [ebp - 0x12c]
sub ebx, dword [ebp - 0x12c]
jne 0x40c8f1
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 0x40c8b0
mov ebx, dword [ebp - 0x154]
test ebx, ebx
je 0x40c975
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 0x40c972
add edi, dword [ebp - 0x124]
sub ebx, dword [ebp - 0x124]
jne 0x40c950
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 0x40c98f
push esi
call ebx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x40c999
push eax
call ebx
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40c9a3
push eax
call ebx
test edi, edi
je 0x40c9b3
cmp edi, 0xffffffff
je 0x40c9b3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x40c9e7
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c9dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd40
push edx
push ecx
call fcn.0041fef8
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 0x40ca2d
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ca23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd40
push edx
push ecx
call fcn.0041fef8
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 0x40ca73
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ca69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd40
push edx
push ecx
call fcn.0041fef8
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 0x40cbff
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cbf5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd40
jmp 0x40cbf5
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
test esi, esi
je 0x40cacf
push esi
call ebx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x40cad9
push eax
call ebx
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40cae3
push eax
call ebx
test edi, edi
je 0x40caf3
cmp edi, 0xffffffff
je 0x40caf3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x40cb27
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cb1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd40
push edx
push ecx
call fcn.0041fef8
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 0x40cb6d
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cb63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd40
push edx
push ecx
call fcn.0041fef8
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 0x40cbb3
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cba9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd40
push edx
push ecx
call fcn.0041fef8
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 0x40cbff
mov ecx, dword [ebp - 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cbf5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd40
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x40cc33
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cc29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd45
push edx
push ecx
call fcn.0041fef8
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 0x40cc79
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cc6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd45
push edx
push ecx
call fcn.0041fef8
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 0x40ccbf
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ccb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd45
push edx
push ecx
call fcn.0041fef8
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 0x40cd01
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ccf7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd45
push edx
push ecx
call fcn.0041fef8
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.0041f881
mov esp, ebp
pop ebp
ret
call fcn.004394fa
call fcn.004394fa
call fcn.004394fa
call fcn.004394fa
call fcn.004394fa
call fcn.004394fa
call fcn.004394fa
call fcn.004394fa
call fcn.004394fa
int3