Function at 0x401940
Capabilities:
Create directory
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x448094
mov eax, dword fs:[0]
push eax
sub esp, 0x4ec
mov eax, dword [0x45d594]
xor eax, esp
mov dword [esp + 0x4e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45d594]
xor eax, esp
push eax
lea eax, [esp + 0x500]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x34], esi
call fcn.00412446
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40199b
push 0x80004005
call fcn.00403990
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x508], 0
call fcn.00412446
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4019d0
push 0x80004005
call fcn.00403990
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x78], eax
mov byte [esp + 0x508], 1
call fcn.00412446
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401a02
push 0x80004005
call fcn.00403990
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x74], eax
mov byte [esp + 0x508], 2
call fcn.00412446
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401a34
push 0x80004005
call fcn.00403990
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x7c], eax
mov byte [esp + 0x508], 3
call fcn.00412446
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401a66
push 0x80004005
call fcn.00403990
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x508], 4
call fcn.00412446
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401a98
push 0x80004005
call fcn.00403990
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xac], eax
mov dword [esp + 0xcc], vtable.CInternet.0
push str._update.xml
lea ecx, [esp + 0x28]
push 0x461cc8
mov bl, 6
push ecx
mov byte [esp + 0x514], bl
call fcn.00402ce0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x50c], 7
call fcn.00403390
mov byte [esp + 0x508], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401b0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x84]
push ecx
call fcn.00409dd0
cmp eax, 0x12c
jge 0x402845
mov edx, dword [esp + 0x30]
cmp dword [edx - 0xc], 0
je 0x402845
lea ebx, [esp + 0x30]
call fcn.00402e20
mov edi, eax
call fcn.00402ea0
mov eax, dword [eax]
push str.error
push eax
call fcn.0042ff80
add esp, 8
test eax, eax
setne al
test al, al
je 0x402845
mov eax, dword [esi + 0x98]
push 0
push 0
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x3c]
push ecx
call fcn.004013f0
mov byte [esp + 0x508], 8
test byte [esp + 0x64], 0x30
jne 0x401bc5
mov edx, ebx
push edx
lea ecx, [esp + 0x40]
call fcn.00403390
lea ecx, [esp + 0x40]
call fcn.004037c0
lea ebx, [esp + 0x3c]
call fcn.0040f160
mov byte [esp + 0x1b], 0
push ecx
mov eax, esp
lea esi, [esp + 0x40]
mov dword [esp + 0x20], esp
mov dword [eax], str.application
call fcn.0040e320
test al, al
je 0x402809
push ecx
mov eax, esp
mov dword [eax], str.version
lea eax, [esp + 0x94]
mov ecx, esi
mov dword [esp + 0x20], esp
call fcn.004014f0
mov ebx, eax
mov byte [esp + 0x508], 9
call fcn.00402e20
mov edi, eax
call fcn.00402ea0
mov ecx, dword [0x461cc4]
xor edx, edx
test ecx, ecx
setne dl
test edx, edx
je 0x401991
mov eax, dword [eax]
push ecx
push eax
call fcn.0042ff80
add esp, 8
test eax, eax
mov byte [esp + 0x508], 8
mov eax, dword [esp + 0x90]
setg bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401c6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x401bca
push ecx
mov eax, esp
mov dword [eax], str.version
lea eax, [esp + 0x9c]
lea ecx, [esp + 0x40]
mov byte [esp + 0x1f], 1
mov dword [esp + 0x20], esp
call fcn.004014f0
mov ebx, eax
mov byte [esp + 0x508], 0xa
call fcn.00402e20
mov edi, eax
call fcn.00402ea0
push eax
mov ecx, 0x461cc4
call fcn.00403390
mov byte [esp + 0x508], 8
mov eax, dword [esp + 0x98]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401ce0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x48]
xor ebx, ebx
lea edi, [ebx + 1]
cmp ecx, ebx
je 0x401d16
cmp dword [esp + 0x58], edi
jne 0x401d16
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], ecx
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], ecx
push ecx
mov eax, esp
lea esi, [esp + 0x40]
mov dword [esp + 0x20], esp
mov dword [eax], str.auto
call fcn.0040e320
lea esi, [esp + 0xc8]
lea edx, [esp + 0x3c]
call fcn.004014d0
mov eax, dword [eax]
push eax
call fcn.0042fa7f
add esp, 4
test eax, eax
mov eax, dword [esp + 0xc8]
setne dl
add eax, 0xfffffff0
mov byte [0x461cbc], dl
lea ecx, [eax + 0xc]
mov edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401d77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x3c]
call fcn.0040f100
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
je 0x401db1
cmp dword [esp + 0x58], edi
jne 0x401db1
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], ecx
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], ecx
push ecx
mov eax, esp
lea esi, [esp + 0x40]
mov dword [esp + 0x20], esp
mov dword [eax], str.files
call fcn.0040e320
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
je 0x401df8
cmp dword [esp + 0x58], edi
jne 0x401df8
mov eax, dword [esp + 0x4c]
xor edx, edx
cmp eax, ebx
setne dl
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], edx
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0xe50]
mov dword [esp + 0x24], ebx
cmp eax, ebx
je 0x401e19
push eax
call fcn.00411b75
add esp, 4
mov dword [esi + 0xe50], ebx
push ebx
push ebx
mov dword [esi + 0xe58], ebx
mov dword [esi + 0xe54], ebx
mov eax, dword [esi + 0x98]
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401e42
xor ebx, ebx
push ecx
mov eax, esp
lea esi, [esp + 0x40]
mov dword [esp + 0x20], esp
mov dword [eax], str.file
call fcn.0040e320
cmp al, bl
je 0x4027c3
push 0x418
lea ecx, [esp + 0xe8]
push ebx
push ecx
call fcn.00432d30
mov edx, dword [esp + 0x30]
add esp, 8
mov eax, esp
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov dword [eax], 0x44f0ec
lea eax, [esp + 0xc8]
mov ecx, esi
mov dword [esp + 0x20], esp
call fcn.004014f0
mov eax, dword [eax]
push eax
call fcn.0042fa7f
add esp, 4
test eax, eax
setne al
mov byte [esp + 0x3f0], al
mov eax, dword [esp + 0xc4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401ee3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov eax, esp
mov dword [eax], str.name
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], esp
call fcn.004014f0
mov ebx, eax
mov byte [esp + 0x508], 0xb
call fcn.00402e20
mov edi, eax
call fcn.00402ea0
mov ecx, dword [eax]
lea edx, [esp + 0xf0]
nop
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x401f20
mov byte [esp + 0x508], 8
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401f55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov eax, esp
mov dword [eax], str.path
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], esp
call fcn.004014f0
mov ebx, eax
mov byte [esp + 0x508], 0xc
call fcn.00402e20
mov edi, eax
call fcn.00402ea0
mov ecx, dword [eax]
lea edx, [esp + 0x1f0]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x401f91
mov byte [esp + 0x508], 8
mov eax, dword [esp + 0xb0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401fc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1f0]
push ecx
lea ecx, [esp + 0x24]
call fcn.00403af0
mov byte [esp + 0x508], 0xd
mov edx, dword [esp + 0x20]
mov edi, dword [edx - 0xc]
xor bl, bl
xor esi, esi
mov ebp, edx
test edi, edi
jle 0x402061
jmp 0x401ff6
mov edx, dword [esp + 0x20]
cmp byte [esi + ebp], 0x5c
lea eax, [esi + ebp]
jne 0x40202c
test bl, bl
jne 0x402026
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
mov bl, 1
jge 0x402024
push edi
lea ecx, [esp + 0x24]
call fcn.00403910
mov edx, dword [esp + 0x20]
mov ebp, edx
lea eax, [esi + ebp]
mov byte [eax], 0x2a
push eax
call fcn.0042fa8a
mov esi, eax
sub esi, ebp
add esp, 4
cmp esi, edi
jl 0x401ff2
test bl, bl
je 0x402061
test edi, edi
jl 0x4027fa
mov eax, dword [esp + 0x20]
cmp edi, dword [eax - 8]
jg 0x4027fa
mov dword [eax - 0xc], edi
mov edx, dword [esp + 0x20]
mov byte [edi + edx], 0
lea eax, [esp + 0x20]
push eax
call fcn.004029b0
call fcn.00412446
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x401991
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
lea ecx, [esp + 0xb8]
push ecx
mov byte [esp + 0x50c], 0xe
call section..text
add esp, 4
push str._update
push eax
lea edx, [esp + 0x88]
mov bl, 0xf
push edx
mov byte [esp + 0x514], bl
call fcn.00402ce0
add esp, 0xc
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50c], 0x10
call fcn.00403390
mov byte [esp + 0x508], bl
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402102
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x508], 0xe
mov eax, dword [esp + 0xb8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40212d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
push 0
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
lea ecx, [esp + 0xd0]
call fcn.004127c8
mov byte [esp + 0x508], 0x11
call fcn.00412446
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x401991
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
push ecx
mov byte [esp + 0x50c], 0x12
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x44f100
lea esi, [esp + 0xd8]
call fcn.00403af0
mov byte [esp + 0x50c], 0x13
mov eax, dword [esp + 0x24]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov edi, esp
push eax
call fcn.004034b0
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov ecx, esi
mov byte [esp + 0x510], 0x12
call fcn.004011c0
mov ebx, eax
add esp, 8
xor edi, edi
mov dword [esp + 0x1c], ebx
test ebx, ebx
jle 0x40233a
push 0x44f100
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0xa8]
push edx
call fcn.00402ce0
add esp, 0xc
mov byte [esp + 0x508], 0x14
test edi, edi
jl 0x402804
cmp edi, dword [esp + 0xd8]
jge 0x402804
mov ecx, dword [esp + 0xd4]
lea ecx, [ecx + edi*4]
push ecx
push eax
lea edx, [esp + 0xc8]
push edx
call fcn.00402c20
add esp, 0xc
mov byte [esp + 0x508], 0x15
mov ecx, dword [eax]
mov esi, dword [esp + 0x28]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x402291
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x402283
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x402283
push eax
call fcn.004034b0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x402276
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x1c]
jmp 0x402291
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.004039e0
mov byte [esp + 0x508], 0x14
mov eax, dword [esp + 0xc0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4022bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x508], 0x12
mov eax, dword [esp + 0xa0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4022e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0xc4]
push eax
call fcn.00402c20
mov eax, dword [eax]
add esp, 0xc
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
mov eax, dword [esp + 0xbc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402331
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, ebx
jl 0x4021da
push ecx
mov eax, esp
mov dword [eax], str.name
lea eax, [esp + 0x88]
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], esp
call fcn.004014f0
mov ebx, eax
push ecx
mov eax, esp
mov byte [esp + 0x50c], 0x16
mov dword [eax], str.path
lea eax, [esp + 0xb8]
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], esp
call fcn.004014f0
mov esi, eax
mov byte [esp + 0x508], 0x17
call fcn.00402e20
mov edi, eax
call fcn.00402ea0
mov ebx, esi
mov ebp, eax
call fcn.00402e20
mov edi, eax
call fcn.00402ea0
push ebp
push eax
lea ecx, [esp + 0xb0]
push ecx
call fcn.00402c20
add esp, 0xc
mov byte [esp + 0x508], 0x18
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x402415
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x402407
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x402407
push eax
call fcn.004034b0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4023fe
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x402415
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004039e0
mov byte [esp + 0x508], 0x17
mov eax, dword [esp + 0xa8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402440
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x508], 0x16
mov eax, dword [esp + 0xb4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40246b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x508], 0x12
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402496
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x14]
mov edi, dword [ebp - 0xc]
xor bl, bl
xor esi, esi
test edi, edi
jle 0x402506
cmp byte [esi + ebp], 0x5c
lea eax, [esi + ebp]
jne 0x4024d9
test bl, bl
jne 0x4024d3
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, edi
or eax, ecx
mov bl, 1
jge 0x4024d3
push edi
lea ecx, [esp + 0x18]
call fcn.00403910
mov ebp, dword [esp + 0x14]
lea eax, [esi + ebp]
mov byte [eax], 0x2a
push eax
call fcn.0042fa8a
mov esi, eax
sub esi, ebp
add esp, 4
cmp esi, edi
jl 0x4024a5
test bl, bl
je 0x402506
test edi, edi
jl 0x4027fa
cmp edi, dword [ebp - 8]
jg 0x4027fa
mov dword [ebp - 0xc], edi
mov byte [edi + ebp], 0
lea ecx, [esp + 0x14]
push ecx
call fcn.004029b0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x90]
push 0x461cc8
push eax
call fcn.00402c20
add esp, 0xc
mov byte [esp + 0x508], 0x19
mov ecx, dword [eax]
mov edi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x40258d
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40257b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40257b
push eax
call fcn.004034b0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x402572
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebx + 0x10]
mov dword [esp + 0x14], edi
jmp 0x40258d
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004039e0
mov edi, dword [esp + 0x14]
mov byte [esp + 0x508], 0x12
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4025b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edx, [esp + 0x2f0]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4025c3
push ecx
mov eax, esp
mov dword [eax], str.para
lea eax, [esp + 0x98]
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], esp
call fcn.004014f0
mov ecx, dword [eax]
lea edx, [esp + 0x3f1]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4025f3
mov eax, dword [esp + 0x94]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402620
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0xe4]
xor ebx, ebx
push ecx
lea edx, [esi + 0x120]
mov dword [esp + 0x4f8], ebx
mov dword [esp + 0x4fc], ebx
call fcn.00408a80
mov edi, dword [esp + 0x24]
push ebx
push ebx
push ebx
push ebx
push 0x44f2ab
push edi
add esi, 0x78
push 1
mov ecx, esi
call fcn.004137c1
push ecx
mov eax, esp
mov dword [eax], str.name
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], esp
call fcn.004014f0
mov byte [esp + 0x508], 0x1a
mov eax, dword [eax]
push eax
push ebx
push edi
mov ecx, esi
call fcn.004135da
mov byte [esp + 0x508], 0x12
mov eax, dword [esp + 0x9c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4026bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov eax, esp
mov dword [eax], 0x44f118
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], esp
call fcn.004014f0
mov byte [esp + 0x508], 0x1b
mov eax, dword [eax]
push eax
push 1
push edi
mov ecx, esi
call fcn.004135da
mov byte [esp + 0x508], 0x12
mov eax, dword [esp + 0xa4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40271a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x44f11c
push 2
push edi
mov ecx, esi
call fcn.004135da
mov byte [esp + 0x508], 0x11
mov eax, dword [esp + 0x28]
inc edi
add eax, 0xfffffff0
mov dword [esp + 0x24], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402756
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x508], 0xe
call fcn.004129a5
mov byte [esp + 0x508], 0xd
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402792
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x508], 8
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401e40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x401e40
movzx ecx, word [esp + 0x24]
mov edi, dword [esp + 0x34]
mov edx, dword [edi + 0xec]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
shl ecx, 0x10
push ecx
push ebx
push 0x401
push edx
call esi
mov eax, dword [edi + 0xec]
push ebx
push ebx
push 0x402
push eax
call esi
jmp 0x401bca
push 0x80070057
call fcn.00403990
call fcn.00412327
cmp byte [esp + 0x1b], 0
jne 0x402818
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp byte [0x461cbc], 0
je 0x40283a
mov eax, dword [esp + 0x34]
cmp dword [eax + 0xe60], 0
je 0x40283a
mov ecx, dword [eax + 0xe60]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
lea esi, [esp + 0x3c]
call fcn.0040de20
jmp 0x40284d
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov byte [esp + 0x508], 4
mov eax, dword [esp + 0xac]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402878
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x508], 3
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4028a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x508], 2
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4028c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x508], 1
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4028f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x508], 0
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402918
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x508], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402943
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x500]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4e8]
xor ecx, esp
call fcn.0042f428
add esp, 0x4f8
ret