Function at 0x40f6b0
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 0x44998b
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x465124]
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 0x45cbe4
cmovae eax, dword [ebp + 0x38]
push eax
call fcn.0042dfc0
add esp, 8
test eax, eax
je 0x41022f
push eax
call fcn.0042e5a6
add esp, 4
cmp dword [ebp + 0x18], 0
je 0x41022f
cmp dword [ebp + 0x30], 0
je 0x41022f
cmp dword [ebp + 0x60], 0
je 0x41022f
sub esp, 0x18
lea eax, [ebp + 0x38]
mov edi, esp
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00423120
call fcn.00409e20
mov ebx, eax
lea esi, [ebp - 0x13]
add esp, 0x18
test ebx, ebx
jns 0x40f780
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 0x40f753
dec esi
mov byte [esi], 0x2d
jmp 0x40f7a2
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 0x40f780
lea eax, [ebp - 0x13]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
cmp esi, eax
je 0x40f7c8
sub eax, esi
mov ecx, edi
push eax
push esi
call fcn.00424030
lea ecx, [ebp - 0x98]
call fcn.00404ef0
add esp, 0x18
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 4
push eax
sub esp, 0x18
mov ecx, esp
push 0x465ffc
call fcn.00423120
lea ecx, [ebp - 0xf4]
call fcn.004061f0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.004246d0
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xe0]
cmp edx, 0x10
jb 0x40f84d
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f843
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41034d
push edx
push ecx
call fcn.00429e16
add esp, 8
sub esp, 0x18
mov dword [ebp - 0xe4], 0
mov ecx, esp
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
push 0x465da4
call fcn.00423120
lea ecx, [ebp - 0x188]
call fcn.004061f0
add esp, 0x18
mov edi, eax
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 8
push eax
sub esp, 0x18
mov ecx, esp
push 0x4661c4
call fcn.00423120
lea ecx, [ebp - 0x170]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 9
push eax
sub esp, 0x18
mov ecx, esp
push 0x46626c
call fcn.00423120
lea ecx, [ebp - 0x158]
call fcn.004061f0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x140]
call fcn.004246d0
add esp, 4
push esi
push eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
push dword [ebp - 0xc4]
call fcn.00425520
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x128]
call fcn.004246d0
add esp, 4
push edi
push eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x68]
push dword [ebp - 0xc4]
call fcn.00425520
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x40f965
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f95b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410352
push edx
push ecx
call fcn.00429e16
add esp, 8
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40f9b8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f9ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410352
push edx
push ecx
call fcn.00429e16
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x12c]
cmp edx, 0x10
jb 0x40fa08
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f9fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410352
push edx
push ecx
call fcn.00429e16
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 0x40fa61
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fa57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410352
push edx
push ecx
call fcn.00429e16
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 0x40faba
mov ecx, dword [ebp - 0x170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fab0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410352
push edx
push ecx
call fcn.00429e16
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 0x40fb13
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410352
push edx
push ecx
call fcn.00429e16
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 0x46623c
call fcn.00423120
lea ecx, [ebp - 0x10c]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x15
push eax
sub esp, 0x18
mov ecx, esp
push 0x4663ec
call fcn.00423120
lea ecx, [ebp - 0x1a0]
call fcn.004061f0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xf4]
call fcn.004246d0
add esp, 4
push esi
push eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x50]
push dword [ebp - 0xc4]
call fcn.00425520
mov byte [ebp - 4], 0x19
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 0x410357
push edx
push ecx
call fcn.00429e16
add esp, 8
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x18c]
cmp edx, 0x10
jb 0x40fc34
mov ecx, dword [ebp - 0x1a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fc2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410357
push edx
push ecx
call fcn.00429e16
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 - 0xf8]
cmp edx, 0x10
jb 0x40fc8d
mov ecx, dword [ebp - 0x10c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fc83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410357
push edx
push ecx
call fcn.00429e16
add esp, 8
cmp dword [ebp - 0x6c], 0x10
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0xfc], 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 - 0xf8], 0xf
cmovae ecx, dword [ebp - 0x50]
mov byte [ebp - 0x10c], 0
mov dword [ebp - 0xc8], eax
lea edx, [ebx + 1]
mov dword [ebp - 0xc4], ecx
mov al, byte [ebx]
inc ebx
test al, al
jne 0x40fce0
sub ebx, edx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fcf0
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.00429e24
push 0x10000
push 0
push eax
mov dword [ebp - 0xd8], eax
call fcn.0042b430
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.00423120
call fcn.00409e20
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 0x4667c0
call fcn.00423120
lea ecx, [ebp - 0x10c]
call fcn.004061f0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x40fe16
mov eax, dword [eax]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, dword [ebp - 0xf8]
mov esi, eax
cmp edx, 0x10
jb 0x40fe5a
mov ecx, dword [ebp - 0x10c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fe50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41035c
push edx
push ecx
call fcn.00429e16
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 0x40fed5
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 0x40fed2
add edi, dword [ebp - 0xc8]
sub ebx, dword [ebp - 0xc8]
jne 0x40feb0
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x40ff6c
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 0x4100f2
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xc8], eax
test ebx, ebx
je 0x40ff4c
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 0x40ff46
add edi, dword [ebp - 0xcc]
sub ebx, dword [ebp - 0xcc]
jne 0x40ff24
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 0x40fee3
mov ebx, dword [ebp - 0xdc]
test ebx, ebx
je 0x40ffa5
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 0x40ffa2
add edi, dword [ebp - 0xc4]
sub ebx, dword [ebp - 0xc4]
jne 0x40ff80
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 0x40ffbf
push esi
call ebx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x40ffc9
push eax
call ebx
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x40ffd3
push eax
call ebx
test edi, edi
je 0x40ffe3
cmp edi, 0xffffffff
je 0x40ffe3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x410017
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41000d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410361
push edx
push ecx
call fcn.00429e16
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 0x41005d
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410053
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410361
push edx
push ecx
call fcn.00429e16
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 0x4100a3
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410099
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410361
push edx
push ecx
call fcn.00429e16
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 0x41022f
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410225
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410361
jmp 0x410225
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
test esi, esi
je 0x4100ff
push esi
call ebx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x410109
push eax
call ebx
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x410113
push eax
call ebx
test edi, edi
je 0x410123
cmp edi, 0xffffffff
je 0x410123
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x410157
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41014d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410361
push edx
push ecx
call fcn.00429e16
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 0x41019d
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410193
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410361
push edx
push ecx
call fcn.00429e16
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 0x4101e3
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4101d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410361
push edx
push ecx
call fcn.00429e16
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 0x41022f
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410225
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410361
push edx
push ecx
call fcn.00429e16
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x410263
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410259
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410366
push edx
push ecx
call fcn.00429e16
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 0x4102a9
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41029f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410366
push edx
push ecx
call fcn.00429e16
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 0x4102ef
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4102e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410366
push edx
push ecx
call fcn.00429e16
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 0x410331
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410327
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410366
push edx
push ecx
call fcn.00429e16
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.004297a0
mov esp, ebp
pop ebp
ret
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
int3