Function at 0x402bc0
Capabilities:
Enumerate process modules
Print debug messages

Disassembly:
sub esp, 0x2bc
mov eax, dword [0x40c1a0]
xor eax, esp
push ebx
push ebp
mov ebp, dword [esp + 0x2cc]
push esi
mov dword [esp + 0x2c4], eax
mov eax, dword [esp + 0x2cc]
push ebp
push 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], 0x224
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x402c35
lea ecx, [esp + 0x3c]
push ecx
push esi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x402c35
nop
lea edx, [esp + 0x5c]
push edx
push str.gf.dll
call fcn.004091ca
add esp, 8
test eax, eax
je 0x402c35
lea eax, [esp + 0x3c]
push eax
push esi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x402c10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x18], ebx
je 0x40348d
push edi
xor edi, edi
mov dword [esp + 0x18], edi
mov esi, 0x40c0e0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push 0
push 0x10
push esi
push ecx
push edx
push ebx
call fcn.004018f0
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x402ca3
add edi, 0x11
add esi, 0x11
cmp edi, 0xbb
jb 0x402c64
mov eax, dword [esp + 0x10]
push ebp
push eax
call fcn.00401e30
jmp 0x40348c
mov ecx, dword [esp + 0x54]
push str._GetService_GF_Util__YAJABU_GUID__PA_WPAPAX_Z
push ecx
push ebx
call fcn.00401b40
add esp, 0xc
test eax, eax
mov dword [esp + 0x18], eax
je 0x402d51
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualQuery]
push 0x1c
lea edx, [esp + 0x28]
push edx
xor edi, edi
push edi
call ebp
cmp eax, 0x1c
jne 0x402d51
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
lea ecx, [esp + 0x274]
push str.0x_p__0x_p___u__0x_x_r_n
push ecx
call fcn.0040377b
add esp, 0x18
lea edx, [esp + 0x264]
push edx
call ebx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push 1
push 8
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.004018f0
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
jne 0x402d5f
add edi, dword [esp + 0x30]
push 0x1c
lea ecx, [esp + 0x28]
push ecx
push edi
call ebp
cmp eax, 0x1c
je 0x402ce0
mov ebx, dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40348c
mov ebp, dword [esp + 0x1c]
mov edi, 0x14
mov edx, 8
xor ebx, ebx
mov ecx, 0xfffffe40
mov eax, 0x3f0
mov dword [esp + 0x268], edi
mov dword [esp + 0x278], ebx
mov dword [esp + 0x288], edi
mov dword [esp + 0x28c], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [esp + 0x29c], edi
mov dword [esp + 0x2b0], edi
mov dword [esp + 0x2c4], edi
mov dword [esp + 0x264], 0xfffffff8
mov dword [esp + 0x26c], 0x10
mov dword [esp + 0x270], 4
mov dword [esp + 0x274], edx
mov dword [esp + 0x27c], ecx
mov dword [esp + 0x280], eax
mov dword [esp + 0x284], edx
mov dword [esp + 0x290], ecx
mov dword [esp + 0x294], 0x3f8
mov dword [esp + 0x298], edx
mov dword [esp + 0x2a0], 0x120
mov dword [esp + 0x2a4], 0xfffffe70
mov dword [esp + 0x2a8], eax
mov dword [esp + 0x2ac], edx
mov dword [esp + 0x2b4], 0x118
mov dword [esp + 0x2b8], ecx
mov dword [esp + 0x2bc], eax
mov dword [esp + 0x2c0], edx
xor edi, edi
lea esp, [esp]
cmp edi, 2
mov dword [esp + 0x1c], 0
jne 0x402e62
add esi, 0x18
jmp 0x402e73
cmp edi, 1
jne 0x402e6c
add esi, 0x1c
jmp 0x402e73
add esi, dword [esp + edi*4 + 0x264]
push 0
push 4
lea edx, [esp + 0x24]
push edx
push esi
push ebp
call ebx
test eax, eax
je 0x402ee5
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x402ee5
cmp edi, 3
jne 0x402e95
mov dword [esp + 0x20], esi
inc edi
cmp edi, 5
jl 0x402e50
mov edi, dword [esp + 0x10]
push 0
push 0x10
push edi
push esi
push ebp
call ebx
test eax, eax
je 0x402ebd
push edi
call fcn.00401b00
add esp, 4
test eax, eax
jne 0x402f55
mov esi, dword [esp + 0x20]
mov edi, 5
jmp 0x402ed0
cmp edi, 6
mov dword [esp + 0x14], 0
jne 0x402ef3
sub esi, 0x490
jmp 0x402efa
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40348c
add esi, dword [esp + edi*4 + 0x264]
push 0
push 4
lea eax, [esp + 0x1c]
push eax
push esi
push ebp
call ebx
test eax, eax
je 0x402f15
mov esi, dword [esp + 0x14]
inc edi
cmp edi, 0xa
jl 0x402ed0
mov ecx, dword [esp + 0x10]
push 0
push 0x10
push ecx
push esi
push ebp
call ebx
test eax, eax
je 0x402f55
mov edi, dword [esp + 0x10]
xor ebx, ebx
lea esp, [esp]
test edi, edi
je 0x402f55
cmp edi, 0xffffffff
je 0x402f55
movzx edx, byte [edi]
push edx
call fcn.0040374d
add esp, 4
test eax, eax
je 0x402f55
inc edi
inc ebx
cmp ebx, 0x10
jl 0x402f30
jmp 0x403480
mov eax, dword [esp + 0x10]
push 0
push 0x10
push eax
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x403131
mov edi, dword [esp + 0x10]
xor ebx, ebx
test edi, edi
je 0x403131
cmp edi, 0xffffffff
je 0x403131
movzx ecx, byte [edi]
push ecx
call fcn.0040374d
add esp, 4
test eax, eax
je 0x403131
inc edi
inc ebx
cmp ebx, 0x10
jl 0x402f74
mov edx, dword [esp + 0x10]
push 0
push 0x10
push edx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4031c3
mov edi, dword [esp + 0x10]
xor ebx, ebx
nop
test edi, edi
je 0x4031c3
cmp edi, 0xffffffff
je 0x4031c3
movzx eax, byte [edi]
push eax
call fcn.0040374d
add esp, 4
test eax, eax
je 0x4031c3
inc edi
inc ebx
cmp ebx, 0x10
jl 0x402fc0
mov ecx, dword [esp + 0x10]
push 0
push 0x10
push ecx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x403255
mov edi, dword [esp + 0x10]
xor ebx, ebx
jmp 0x403010
test edi, edi
je 0x403255
cmp edi, 0xffffffff
je 0x403255
movzx edx, byte [edi]
push edx
call fcn.0040374d
add esp, 4
test eax, eax
je 0x403255
inc edi
inc ebx
cmp ebx, 0x10
jl 0x403010
mov eax, dword [esp + 0x10]
push 0
push 0x10
push eax
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4032f3
mov edi, dword [esp + 0x10]
xor ebx, ebx
jmp 0x403060
test edi, edi
je 0x4032f3
cmp edi, 0xffffffff
je 0x4032f3
movzx ecx, byte [edi]
push ecx
call fcn.0040374d
add esp, 4
test eax, eax
je 0x4032f3
inc edi
inc ebx
cmp ebx, 0x10
jl 0x403060
mov edx, dword [esp + 0x10]
push 0
push 0x10
push edx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x403381
mov edi, dword [esp + 0x10]
xor ebx, ebx
jmp 0x4030b0
test edi, edi
je 0x403381
cmp edi, 0xffffffff
je 0x403381
movzx eax, byte [edi]
push eax
call fcn.0040374d
add esp, 4
test eax, eax
je 0x403381
inc edi
inc ebx
cmp ebx, 0x10
jl 0x4030b0
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 0x10
push ecx
push esi
push ebp
call ebx
test eax, eax
je 0x403405
mov esi, dword [esp + 0x10]
xor edi, edi
lea ecx, [ecx]
test esi, esi
je 0x403405
cmp esi, 0xffffffff
je 0x403405
movzx edx, byte [esi]
push edx
call fcn.0040374d
add esp, 4
test eax, eax
je 0x403405
inc esi
inc edi
cmp edi, 0x10
jl 0x403100
jmp 0x403480
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edi, 5
cmp edi, 6
mov dword [esp + 0x14], 0
jne 0x403155
sub esi, 0x190
jmp 0x40315c
add esi, dword [esp + edi*4 + 0x264]
push 0
push 4
lea edx, [esp + 0x1c]
push edx
push esi
push ebp
call ebx
test eax, eax
je 0x403177
mov esi, dword [esp + 0x14]
inc edi
cmp edi, 0xa
jl 0x403140
mov eax, dword [esp + 0x10]
push 0
push 0x10
push eax
push esi
push ebp
call ebx
test eax, eax
je 0x402fa0
mov edi, dword [esp + 0x10]
xor ebx, ebx
test edi, edi
je 0x402fa0
cmp edi, 0xffffffff
je 0x402fa0
movzx ecx, byte [edi]
push ecx
call fcn.0040374d
add esp, 4
test eax, eax
je 0x402fa0
inc edi
inc ebx
cmp ebx, 0x10
jl 0x403192
jmp 0x403480
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edi, 5
cmp edi, 6
mov dword [esp + 0x14], 0
jne 0x4031e7
sub esi, 0x1c0
jmp 0x4031ee
add esi, dword [esp + edi*4 + 0x264]
push 0
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
push ebp
call ebx
test eax, eax
je 0x403209
mov esi, dword [esp + 0x14]
inc edi
cmp edi, 0xa
jl 0x4031d2
mov edx, dword [esp + 0x10]
push 0
push 0x10
push edx
push esi
push ebp
call ebx
test eax, eax
je 0x402fec
mov edi, dword [esp + 0x10]
xor ebx, ebx
test edi, edi
je 0x402fec
cmp edi, 0xffffffff
je 0x402fec
movzx eax, byte [edi]
push eax
call fcn.0040374d
add esp, 4
test eax, eax
je 0x402fec
inc edi
inc ebx
cmp ebx, 0x10
jl 0x403224
jmp 0x403480
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edi, 0xa
jmp 0x403270
cmp edi, 6
mov dword [esp + 0x14], 0
jne 0x403285
sub esi, 0x1c0
jmp 0x40328c
add esi, dword [esp + edi*4 + 0x264]
push 0
push 4
lea eax, [esp + 0x1c]
push eax
push esi
push ebp
call ebx
test eax, eax
je 0x4032a7
mov esi, dword [esp + 0x14]
inc edi
cmp edi, 0xf
jl 0x403270
mov ecx, dword [esp + 0x10]
push 0
push 0x10
push ecx
push esi
push ebp
call ebx
test eax, eax
je 0x40303c
mov edi, dword [esp + 0x10]
xor ebx, ebx
test edi, edi
je 0x40303c
cmp edi, 0xffffffff
je 0x40303c
movzx edx, byte [edi]
push edx
call fcn.0040374d
add esp, 4
test eax, eax
je 0x40303c
inc edi
inc ebx
cmp ebx, 0x10
jl 0x4032c2
jmp 0x403480
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edi, 0xf
mov ecx, dword [esp + edi*4 + 0x264]
push 0
push 4
lea edx, [esp + 0x1c]
push edx
add esi, ecx
push esi
push ebp
mov dword [esp + 0x28], 0
call ebx
test eax, eax
je 0x40332e
mov esi, dword [esp + 0x14]
inc edi
cmp edi, 0x14
jl 0x403302
mov eax, dword [esp + 0x10]
push 0
push 0x10
push eax
push esi
push ebp
call ebx
test eax, eax
je 0x40308c
mov edi, dword [esp + 0x10]
xor ebx, ebx
lea esp, [esp]
test edi, edi
je 0x40308c
cmp edi, 0xffffffff
je 0x40308c
movzx ecx, byte [edi]
push ecx
call fcn.0040374d
add esp, 4
test eax, eax
je 0x40308c
inc edi
inc ebx
cmp ebx, 0x10
jl 0x403350
jmp 0x403480
mov esi, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edi, 0x14
mov edx, dword [esp + edi*4 + 0x264]
push 0
push 4
lea ecx, [esp + 0x1c]
push ecx
add esi, edx
push esi
push ebp
mov dword [esp + 0x28], 0
call ebx
test eax, eax
je 0x4033bc
mov esi, dword [esp + 0x14]
inc edi
cmp edi, 0x19
jl 0x403390
mov edx, dword [esp + 0x10]
push 0
push 0x10
push edx
push esi
push ebp
call ebx
test eax, eax
je 0x4030dc
mov edi, dword [esp + 0x10]
xor ebx, ebx
test edi, edi
je 0x4030dc
cmp edi, 0xffffffff
je 0x4030dc
movzx eax, byte [edi]
push eax
call fcn.0040374d
add esp, 4
test eax, eax
je 0x4030dc
inc edi
inc ebx
cmp ebx, 0x10
jl 0x4033d7
jmp 0x403480
mov eax, dword [esp + 0x20]
add eax, 8
mov esi, 0x14
xor edi, edi
cmp esi, 0x15
mov dword [esp + 0x14], edi
jne 0x403423
sub eax, 0x130
jmp 0x40342a
add eax, dword [esp + esi*4 + 0x264]
push edi
push 4
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebp
call ebx
test eax, eax
je 0x402ee5
mov eax, dword [esp + 0x14]
inc esi
cmp esi, 0x19
jl 0x403413
mov edx, dword [esp + 0x10]
push edi
push 0x10
push edx
push eax
push ebp
call ebx
test eax, eax
je 0x403480
mov esi, dword [esp + 0x10]
xor edi, edi
mov edi, edi
test esi, esi
je 0x403480
cmp esi, 0xffffffff
je 0x403480
movzx eax, byte [esi]
push eax
call fcn.0040374d
add esp, 4
test eax, eax
je 0x403480
inc esi
inc edi
cmp edi, 0x10
jl 0x403460
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
mov ecx, dword [esp + 0x2c4]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004035c2
add esp, 0x2bc
ret 8