Function at 0x401e30
Capabilities:
Enumerate process modules
Print debug messages
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3b8
mov eax, dword [0x40c1a0]
xor eax, esp
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x3c4], eax
mov eax, dword [esp + 0x3cc]
push 0x5c
push str.gf.dll
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], str.gf.dll
call fcn.004037e0
mov ebx, eax
xor ebp, ebp
add esp, 8
cmp ebx, ebp
je 0x401e75
inc ebx
jmp 0x401e7e
mov ebx, str.gf.dll
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x3d0]
push ecx
mov edi, 8
push edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x402bae
lea edx, [esp + 0x16c]
push edx
push esi
mov dword [esp + 0x174], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
jne 0x401ec7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x402b8c
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x401eda
lea ecx, [esp + 0x28c]
push ecx
push eax
jmp 0x401ee3
lea edx, [esp + 0x18c]
push edx
push ebx
call fcn.004091ca
add esp, 8
test eax, eax
je 0x401f01
lea eax, [esp + 0x16c]
push eax
push esi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x401ec7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov ecx, dword [esp + 0x3d0]
push ecx
push ebp
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, ebp
je 0x402bae
mov edx, dword [esp + 0x184]
mov eax, dword [esp + 0x180]
push ebp
push 0x10
push 0x40c0d0
push edx
push eax
push ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x44], ebp
call fcn.004018f0
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x40210c
mov ecx, dword [esp + 0x184]
mov edx, dword [esp + 0x180]
push ebp
push 0x10
push 0x40c0c0
push ecx
push edx
push ebx
call fcn.004018f0
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x40210c
mov eax, dword [esp + 0x184]
mov ecx, dword [esp + 0x180]
push ebp
push 0x10
push 0x40c0b0
push eax
push ecx
push ebx
call fcn.004018f0
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x402102
mov edx, dword [esp + 0x184]
mov eax, dword [esp + 0x180]
push ebp
push 0x10
push 0x40c0a0
push edx
push eax
push ebx
call fcn.004018f0
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x402102
mov ecx, dword [esp + 0x184]
mov edx, dword [esp + 0x180]
push ebp
push 0x10
push 0x40c090
push ecx
push edx
push ebx
call fcn.004018f0
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x4020f8
mov eax, dword [esp + 0x184]
mov ecx, dword [esp + 0x180]
push ebp
push 0x10
push 0x40c080
push eax
push ecx
push ebx
call fcn.004018f0
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x4020f8
mov edx, dword [esp + 0x184]
mov eax, dword [esp + 0x180]
push ebp
push 0x10
push 0x40c070
push edx
push eax
push ebx
call fcn.004018f0
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x4020f8
mov ecx, dword [esp + 0x184]
mov edx, dword [esp + 0x180]
push ebp
push 0x10
push 0x40c060
push ecx
push edx
push ebx
call fcn.004018f0
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x4020f8
mov eax, dword [esp + 0x184]
mov ecx, dword [esp + 0x180]
push ebp
push 0x10
push 0x40c050
push eax
push ecx
push ebx
call fcn.004018f0
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x4020f8
mov edx, dword [esp + 0x184]
mov eax, dword [esp + 0x180]
push ebp
push 0x10
push 0x40c040
push edx
push eax
push ebx
call fcn.004018f0
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
je 0x4021e0
mov dword [esp + 0x28], 1
jmp 0x402119
mov dword [esp + 0x18], 1
jmp 0x402119
mov eax, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x180]
push str._GetService_GF_Util__YAJABU_GUID__PA_WPAPAX_Z
push ecx
push ebx
call fcn.00401b40
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0x24], eax
je 0x4021e0
push 0x1c
lea edx, [esp + 0x34]
push edx
push ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x1c
jne 0x4021e0
jmp 0x402160
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
lea ecx, [esp + 0x3a0]
push str.0x_p__0x_p___u__0x_x_r_n
push ecx
call fcn.0040377b
add esp, 0x18
lea edx, [esp + 0x390]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
push 1
push edi
lea eax, [esp + 0x28]
push eax
push ecx
push edx
push ebx
call fcn.004018f0
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
jne 0x4021ea
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
push 0x1c
lea ecx, [esp + 0x34]
add eax, edx
push ecx
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x1c
je 0x402160
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
xor eax, eax
jmp 0x402b8c
mov eax, 0x20
mov ecx, 0x3e8
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
mov ecx, 0x404
mov dword [esp + 0xec], eax
mov dword [esp + 0x110], eax
mov eax, 0xfffffe70
mov edx, 4
mov dword [esp + 0xf0], ecx
mov dword [esp + 0x114], ecx
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], ecx
mov dword [esp + 0x148], eax
mov eax, 0x3f0
mov ecx, 0x14
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc8], edi
mov dword [esp + 0xcc], edi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], edi
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf8], edi
mov dword [esp + 0x108], edi
mov dword [esp + 0x10c], edi
mov dword [esp + 0x118], edi
mov dword [esp + 0x134], edi
mov dword [esp + 0x150], edi
mov dword [esp + 0x164], edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [esp + 0x4c], 0xfffffff8
mov dword [esp + 0x50], 0x14
mov dword [esp + 0x54], 0x10
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x98], ebp
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xfc], edx
mov dword [esp + 0x100], 0x1c
mov dword [esp + 0x104], ebp
mov dword [esp + 0x11c], 0xc
mov dword [esp + 0x120], edx
mov dword [esp + 0x124], 0x1c
mov dword [esp + 0x128], ebp
mov dword [esp + 0x138], 0xc
mov dword [esp + 0x13c], edx
mov dword [esp + 0x140], 0x1c
mov dword [esp + 0x144], 0x120
mov dword [esp + 0x14c], eax
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], 0x118
mov dword [esp + 0x15c], 0xfffffe40
mov dword [esp + 0x160], eax
mov dword [esp + 0x168], ecx
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x10]
cmp eax, 2
mov dword [esp + 0x1c], ebp
jne 0x40244a
push ebp
push 4
lea edx, [esp + 0x24]
push edx
lea eax, [esi + 0xc]
push eax
push ebx
call edi
test eax, eax
je 0x40243f
cmp dword [esp + 0x1c], ebp
je 0x40243f
add esi, 0x2c
jmp 0x40246d
cmp dword [esp + 0x18], ebp
je 0x402465
add esi, 0x18
jmp 0x40246d
cmp eax, 1
jne 0x402465
cmp dword [esp + 0x28], ebp
je 0x40245a
add esi, 0x30
jmp 0x40246d
cmp dword [esp + 0x18], ebp
je 0x402465
add esi, 0x1c
jmp 0x40246d
mov ecx, dword [esp + 0x10]
add esi, dword [esp + ecx*4 + 0x4c]
push ebp
push 4
lea edx, [esp + 0x24]
push edx
push esi
push ebx
call edi
test eax, eax
je 0x402ba7
mov esi, dword [esp + 0x1c]
cmp esi, ebp
je 0x402ba7
mov eax, dword [esp + 0x10]
cmp eax, 3
jne 0x4024a0
cmp dword [esp + 0x18], ebp
je 0x4024a0
mov dword [esp + 0x20], esi
inc eax
cmp eax, 5
mov dword [esp + 0x10], eax
jl 0x402414
xor eax, eax
mov dword [esp + 0x18], eax
add esi, dword [esp + eax*4 + 0x4c]
cmp eax, 9
mov dword [esp + 0x10], ebp
jne 0x4024d0
push ebp
push 4
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0xc]
push ecx
push ebx
call edi
push ebp
push 4
lea edx, [esp + 0x18]
push edx
push esi
push ebx
call edi
test eax, eax
je 0x4024f4
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
inc eax
cmp eax, 0xb
mov dword [esp + 0x18], eax
jl 0x4024b4
jmp 0x4024f6
xor esi, esi
mov eax, dword [esp + 0x14]
push ebp
push 0x10
push eax
push esi
push ebx
call edi
test eax, eax
je 0x402517
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00401b00
add esp, 4
test eax, eax
jne 0x402562
mov esi, dword [esp + 0x1c]
mov ebp, 0xb
add esi, dword [esp + ebp*4 + 0x4c]
cmp ebp, 0x10
mov dword [esp + 0x10], 0
jne 0x402541
push 0
push 4
lea edx, [esp + 0x18]
push edx
lea eax, [esi + 0xc]
push eax
push ebx
call edi
push 0
push 4
lea ecx, [esp + 0x18]
push ecx
push esi
push ebx
call edi
test eax, eax
je 0x40255e
mov esi, dword [esp + 0x10]
inc ebp
cmp ebp, 0x12
jl 0x402520
jmp 0x402560
xor esi, esi
xor ebp, ebp
mov edx, dword [esp + 0x14]
push ebp
push 0x10
push edx
push esi
push ebx
call edi
test eax, eax
je 0x4025b6
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebp
mov edi, edi
cmp eax, ebp
je 0x4025b6
cmp eax, 0xffffffff
je 0x4025b6
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax]
push ecx
call fcn.0040374d
add esp, 4
test eax, eax
je 0x4025b6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
inc eax
inc ecx
cmp ecx, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
jl 0x402580
jmp 0x402600
mov esi, dword [esp + 0x1c]
mov ebp, 0x12
nop
add esi, dword [esp + ebp*4 + 0x4c]
cmp ebp, 0x16
mov dword [esp + 0x10], 0
jne 0x4025e1
push 0
push 4
lea edx, [esp + 0x18]
push edx
lea eax, [esi + 0xc]
push eax
push ebx
call edi
push 0
push 4
lea ecx, [esp + 0x18]
push ecx
push esi
push ebx
call edi
test eax, eax
je 0x4025fe
mov esi, dword [esp + 0x10]
inc ebp
cmp ebp, 0x18
jl 0x4025c0
jmp 0x402600
xor esi, esi
mov edx, dword [esp + 0x14]
push 0
push 0x10
push edx
push esi
push ebx
call edi
test eax, eax
je 0x40264b
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], 0
lea ecx, [ecx]
test ebp, ebp
je 0x40264b
cmp ebp, 0xffffffff
je 0x40264b
movzx eax, byte [ebp]
push eax
call fcn.0040374d
add esp, 4
test eax, eax
je 0x40264b
mov eax, dword [esp + 0x10]
inc ebp
inc eax
cmp eax, 0x10
mov dword [esp + 0x10], eax
jl 0x402620
jmp 0x4026a0
mov esi, dword [esp + 0x1c]
mov ebp, 0x18
jmp 0x402660
add esi, dword [esp + ebp*4 + 0x4c]
cmp ebp, 0x1c
mov dword [esp + 0x10], 0
jne 0x402681
push 0
push 4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esi + 0xc]
push edx
push ebx
call edi
push 0
push 4
lea eax, [esp + 0x18]
push eax
push esi
push ebx
call edi
test eax, eax
je 0x40269e
mov esi, dword [esp + 0x10]
inc ebp
cmp ebp, 0x1e
jl 0x402660
jmp 0x4026a0
xor esi, esi
mov ecx, dword [esp + 0x14]
push 0
push 0x10
push ecx
push esi
push ebx
call edi
test eax, eax
je 0x4026eb
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], 0
lea ecx, [ecx]
test ebp, ebp
je 0x4026eb
cmp ebp, 0xffffffff
je 0x4026eb
movzx edx, byte [ebp]
push edx
call fcn.0040374d
add esp, 4
test eax, eax
je 0x4026eb
mov eax, dword [esp + 0x10]
inc ebp
inc eax
cmp eax, 0x10
mov dword [esp + 0x10], eax
jl 0x4026c0
jmp 0x402740
mov esi, dword [esp + 0x1c]
mov ebp, 0x1e
jmp 0x402700
add esi, dword [esp + ebp*4 + 0x4c]
cmp ebp, 0x23
mov dword [esp + 0x10], 0
jne 0x402721
push 0
push 4
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0xc]
push ecx
push ebx
call edi
push 0
push 4
lea edx, [esp + 0x18]
push edx
push esi
push ebx
call edi
test eax, eax
je 0x40273e
mov esi, dword [esp + 0x10]
inc ebp
cmp ebp, 0x25
jl 0x402700
jmp 0x402740
xor esi, esi
mov eax, dword [esp + 0x14]
push 0
push 0x10
push eax
push esi
push ebx
call edi
test eax, eax
je 0x40278b
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], 0
lea ecx, [ecx]
test ebp, ebp
je 0x40278b
cmp ebp, 0xffffffff
je 0x40278b
movzx ecx, byte [ebp]
push ecx
call fcn.0040374d
add esp, 4
test eax, eax
je 0x40278b
mov eax, dword [esp + 0x10]
inc ebp
inc eax
cmp eax, 0x10
mov dword [esp + 0x10], eax
jl 0x402760
jmp 0x4027e0
mov esi, dword [esp + 0x1c]
mov ebp, 0x25
jmp 0x4027a0
add esi, dword [esp + ebp*4 + 0x4c]
cmp ebp, 0x2a
mov dword [esp + 0x10], 0
jne 0x4027c1
push 0
push 4
lea edx, [esp + 0x18]
push edx
lea eax, [esi + 0x14]
push eax
push ebx
call edi
push 0
push 4
lea ecx, [esp + 0x18]
push ecx
push esi
push ebx
call edi
test eax, eax
je 0x4027de
mov esi, dword [esp + 0x10]
inc ebp
cmp ebp, 0x2e
jl 0x4027a0
jmp 0x4027e0
xor esi, esi
mov ebp, dword [esp + 0x14]
push 0
push 0x10
push ebp
push esi
push ebx
call edi
test eax, eax
je 0x402931
mov dword [esp + 0x10], 0
lea ecx, [ecx]
test ebp, ebp
je 0x402931
cmp ebp, 0xffffffff
je 0x402931
movzx edx, byte [ebp]
push edx
call fcn.0040374d
add esp, 4
test eax, eax
je 0x402931
mov eax, dword [esp + 0x10]
inc ebp
inc eax
cmp eax, 0x10
mov dword [esp + 0x10], eax
jl 0x402800
mov edx, dword [esp + 0x14]
push 0
push 0x10
push edx
push esi
push ebx
call edi
test eax, eax
je 0x4029da
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x4029da
cmp ebp, 0xffffffff
je 0x4029da
movzx eax, byte [ebp]
push eax
call fcn.0040374d
add esp, 4
test eax, eax
je 0x4029da
mov eax, dword [esp + 0x10]
inc ebp
inc eax
cmp eax, 0x10
mov dword [esp + 0x10], eax
jl 0x402856
mov ecx, dword [esp + 0x14]
push 0
push 0x10
push ecx
push esi
push ebx
call edi
test eax, eax
je 0x402a6a
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], 0
lea esp, [esp]
test ebp, ebp
je 0x402a6a
cmp ebp, 0xffffffff
je 0x402a6a
movzx edx, byte [ebp]
push edx
call fcn.0040374d
add esp, 4
test eax, eax
je 0x402a6a
mov eax, dword [esp + 0x10]
inc ebp
inc eax
cmp eax, 0x10
mov dword [esp + 0x10], eax
jl 0x4028b0
mov eax, dword [esp + 0x14]
push 0
push 0x10
push eax
push esi
push ebx
call edi
test eax, eax
je 0x402afa
mov esi, dword [esp + 0x14]
xor ebp, ebp
test esi, esi
je 0x402afa
cmp esi, 0xffffffff
je 0x402afa
movzx ecx, byte [esi]
push ecx
call fcn.0040374d
add esp, 4
test eax, eax
je 0x402afa
inc esi
inc ebp
cmp ebp, 0x10
jl 0x402900
jmp 0x402b80
mov esi, dword [esp + 0x1c]
mov ebp, 0x2e
lea ebx, [ebx]
add esi, dword [esp + ebp*4 + 0x4c]
cmp ebp, 0x33
mov dword [esp + 0x10], 0
jne 0x402961
push 0
push 4
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0x14]
push ecx
push ebx
call edi
push 0
push 4
lea edx, [esp + 0x18]
push edx
push esi
push ebx
call edi
test eax, eax
je 0x40297c
mov esi, dword [esp + 0x10]
inc ebp
cmp ebp, 0x37
jl 0x402940
mov eax, dword [esp + 0x14]
push 0
push 0x10
push eax
push esi
push ebx
call edi
test eax, eax
je 0x402835
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], 0
lea ecx, [ecx]
test ebp, ebp
je 0x402835
cmp ebp, 0xffffffff
je 0x402835
movzx ecx, byte [ebp]
push ecx
call fcn.0040374d
add esp, 4
test eax, eax
je 0x402835
mov eax, dword [esp + 0x10]
inc ebp
inc eax
cmp eax, 0x10
mov dword [esp + 0x10], eax
jl 0x4029a0
jmp 0x402b80
mov esi, dword [esp + 0x1c]
mov ebp, 0x37
mov edx, dword [esp + ebp*4 + 0x4c]
push 0
push 4
lea ecx, [esp + 0x18]
push ecx
add esi, edx
push esi
push ebx
mov dword [esp + 0x24], 0
call edi
test eax, eax
je 0x402a0c
mov esi, dword [esp + 0x10]
inc ebp
cmp ebp, 0x3e
jl 0x4029e3
mov edx, dword [esp + 0x14]
push 0
push 0x10
push edx
push esi
push ebx
call edi
test eax, eax
je 0x40288b
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], 0
lea ecx, [ecx]
test ebp, ebp
je 0x40288b
cmp ebp, 0xffffffff
je 0x40288b
movzx eax, byte [ebp]
push eax
call fcn.0040374d
add esp, 4
test eax, eax
je 0x40288b
mov eax, dword [esp + 0x10]
inc ebp
inc eax
cmp eax, 0x10
mov dword [esp + 0x10], eax
jl 0x402a30
jmp 0x402b80
mov esi, dword [esp + 0x20]
mov ebp, 0x3e
mov ecx, dword [esp + ebp*4 + 0x4c]
push 0
push 4
lea eax, [esp + 0x18]
push eax
add esi, ecx
push esi
push ebx
mov dword [esp + 0x24], 0
call edi
test eax, eax
je 0x402a9c
mov esi, dword [esp + 0x10]
inc ebp
cmp ebp, 0x43
jl 0x402a73
mov ecx, dword [esp + 0x14]
push 0
push 0x10
push ecx
push esi
push ebx
call edi
test eax, eax
je 0x4028e5
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], 0
lea ecx, [ecx]
test ebp, ebp
je 0x4028e5
cmp ebp, 0xffffffff
je 0x4028e5
movzx edx, byte [ebp]
push edx
call fcn.0040374d
add esp, 4
test eax, eax
je 0x4028e5
mov eax, dword [esp + 0x10]
inc ebp
inc eax
cmp eax, 0x10
mov dword [esp + 0x10], eax
jl 0x402ac0
jmp 0x402b80
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x2c]
add eax, 8
mov esi, 0x43
lea ebx, [ebx]
cmp esi, 0x44
mov dword [esp + 0x20], 0
jne 0x402b28
test ebp, ebp
je 0x402b28
sub eax, 0x130
jmp 0x402b2c
add eax, dword [esp + esi*4 + 0x4c]
push 0
push 4
lea edx, [esp + 0x28]
push edx
push eax
push ebx
call edi
test eax, eax
je 0x402ba7
mov eax, dword [esp + 0x20]
inc esi
cmp esi, 0x48
jl 0x402b10
mov esi, dword [esp + 0x14]
push 0
push 0x10
push esi
push eax
push ebx
call edi
test eax, eax
je 0x402b80
xor edi, edi
lea ebx, [ebx]
test esi, esi
je 0x402b80
cmp esi, 0xffffffff
je 0x402b80
movzx eax, byte [esi]
push eax
call fcn.0040374d
add esp, 4
test eax, eax
je 0x402b80
inc esi
inc edi
cmp edi, 0x10
jl 0x402b60
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x3c4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004035c2
add esp, 0x3b8
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x402b8c