Function at 0x402fd0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4a0830
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4d9700]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d9700]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, edx
mov ebp, dword [edi + 2]
mov esi, ecx
lea ecx, [edi + 0x16]
mov eax, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
lea ebx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x403020
sub eax, ebx
lea ebx, [esi + 0x10ba]
jne 0x403038
push 0x4cafdc
jmp 0x403039
push ecx
push 0
push ebp
mov ecx, ebx
call fcn.004642ad
lea eax, [edi + 0x36]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403050
sub eax, edx
jne 0x403062
push 0x4cafe8
jmp 0x403090
push 0x405
mov ecx, esi
call fcn.00460800
mov eax, dword [eax + 0x20]
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x40308b
lea eax, [edi + 0x36]
push eax
jmp 0x403090
push 0x4caff4
push 1
push ebp
mov ecx, ebx
call fcn.004642ad
lea edx, [edi + 0x56]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4030a2
sub eax, esi
mov ecx, ebx
jne 0x4030b6
push 0x4cafdc
jmp 0x4030b7
push edx
push 2
push ebp
call fcn.004642ad
lea esi, [edi + 0x7e]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4030c7
sub eax, edx
jne 0x4030d9
push 0x4cafe8
jmp 0x403106
mov ecx, dword [esp + 0x1c]
push 0x405
call fcn.00460800
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xf0
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x403101
push esi
jmp 0x403106
push 0x4caff4
push 3
push ebp
mov ecx, ebx
call fcn.004642ad
lea esi, [edi + 0xa6]
mov eax, esi
lea edx, [eax + 1]
jmp 0x403120
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403120
sub eax, edx
jne 0x40313f
push 0x4cb000
push 4
push ebp
mov ecx, ebx
call fcn.004642ad
jmp 0x403203
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0x74]
mov edi, esi
call fcn.004079c0
mov edi, eax
test edi, edi
jl 0x4031f4
call fcn.0046416b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403171
push 0x80004005
call fcn.00405a40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
push edi
add ecx, 0x120a
mov dword [esp + 0x90], 0
call fcn.00464d09
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], 1
jle 0x4031bc
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.004058f0
mov eax, dword [esp + 0x14]
push eax
push 4
push ebp
mov ecx, ebx
call fcn.004642ad
mov dword [esp + 0x88], 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 0x4031ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4031ff
push esi
push 4
push ebp
mov ecx, ebx
call fcn.004642ad
mov edi, dword [esp + 0x18]
lea ecx, [edi + 0xc6]
push ecx
push 5
push ebp
mov ecx, ebx
call fcn.004642ad
lea edx, [edi + 0xe6]
push edx
push 6
push ebp
mov ecx, ebx
call fcn.004642ad
lea edx, [edi + 0x106]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403230
sub eax, esi
mov ecx, ebx
jne 0x403244
push 0x4cb00c
jmp 0x403245
push edx
push 8
push ebp
call fcn.004642ad
mov edx, dword [edi + 6]
mov ecx, dword [esp + 0x1c]
mov eax, ebp
call fcn.00403320
cmp byte [edi + 1], 0
mov ecx, ebx
je 0x40326a
push 0x4caf94
jmp 0x40326f
push 0x4caf9c
push 0xa
push ebp
call fcn.004642ad
mov eax, dword [edi + 0x126]
push eax
push 0x4cb220
lea ecx, [esp + 0x44]
push 0x40
push ecx
call fcn.0047c074
add esp, 0x10
lea edx, [esp + 0x3c]
push edx
push 0xb
push ebp
mov ecx, ebx
call fcn.004642ad
mov eax, dword [edi + 0x12a]
push eax
lea esi, [esp + 0x24]
call fcn.00404fc0
mov dword [esp + 0x88], 1
mov eax, dword [esp + 0x24]
mov esi, 0x10
cmp dword [esp + 0x38], esi
jae 0x4032cf
lea eax, [esp + 0x24]
push eax
push 7
push ebp
mov ecx, ebx
call fcn.004642ad
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x38], esi
jb 0x4032f8
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0045900b
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0047bc57
add esp, 0x78
ret