Function at 0x4027f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov ecx, dword [0x404108]
mov eax, 0xdb63eb8b
imul ecx
add edx, ecx
sub esp, 0x530
sar edx, 0xe
mov eax, edx
push 3
shr eax, 0x1f
add edx, eax
mov eax, dword [0x404008]
mov ecx, eax
mov dword [0x404080], edx
shl ecx, 4
add ecx, eax
push 0xc
lea ecx, [ecx + ecx*4]
shl ecx, 6
add ecx, eax
lea edx, [eax + ecx*2]
mov ecx, dword [esp + 0x53c]
push ecx
push 8
lea eax, [eax + edx*2]
mov dword [0x40405c], eax
call fcn.00402590
add esp, 0x10
cmp eax, 1
jge 0x402858
xor eax, eax
add esp, 0x530
ret
push ebx
push ebp
push esi
push edi
call dword [0x40a124]
mov edx, dword [0x4043b4]
push 0xb7
push edx
mov dword [0x40a160], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
lea eax, [esp + 0x6c]
push 0x104
push eax
push 0
call dword [0x40a15c]
mov ecx, dword [0x40433c]
mov esi, dword [sym.imp.USER32.dll_GetClassLongA]
push 0x5f
push ecx
mov dword [0x404098], 0x602f
call esi
mov edx, dword [0x404320]
push 0x6e
push edx
call esi
mov eax, dword [0x404464]
mov edi, dword [sym.imp.USER32.dll_GetClassWord]
push 0xc2
push eax
mov dword [0x40408c], 0x1c30
call edi
mov ecx, dword [0x4043bc]
push 0x45
push ecx
call edi
mov edx, dword [0x40432c]
push 0xc0
push edx
mov dword [0x4040d8], 0x43c7
call esi
mov eax, dword [0x40447c]
push 0xc3
push eax
mov dword [0x40413c], 0x41fd
call esi
mov ecx, dword [0x40435c]
push 0xa9
push ecx
call esi
mov edx, dword [0x404384]
push 0x17
push edx
call edi
mov eax, dword [0x404114]
push 0x4e
mov ecx, eax
shl ecx, 4
add ecx, eax
lea ecx, [ecx + ecx*4]
shl ecx, 3
sub ecx, eax
lea edx, [eax + ecx*4]
mov ecx, dword [0x404970]
lea eax, [eax + edx*8]
mov edx, dword [0x40440c]
push edx
mov dword [0x404050], eax
lea ebp, [ecx + 1]
call edi
mov eax, dword [0x40a160]
push ebp
push 0
push eax
call dword [0x40a128]
mov ebx, dword [sym.imp.GDI32.dll_SetTextJustification]
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
je 0x402afb
mov ecx, dword [0x404444]
push 0xe2
push 0xb4
push ecx
dec ebp
call ebx
mov ecx, ebp
mov esi, 0x404974
mov edx, ecx
push 0x2c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x404384]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [esp + 0x10]
mov edx, dword [0x404354]
mov dword [0x40401c], 0x404b
mov esi, ebp
movsx edi, byte [ecx]
sub esi, edi
push 0x2a
push edx
dec esi
call dword [sym.imp.USER32.dll_GetClassLongA]
mov eax, dword [0x404368]
push 0x5f
push eax
call dword [sym.imp.USER32.dll_GetClassWord]
push edi
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x174]
lea ecx, [edi + esi + 1]
push ecx
push edx
call fcn.00402180
mov ecx, dword [0x404094]
mov eax, 0x634c0635
imul ecx
sar edx, 6
mov eax, edx
push esi
shr eax, 0x1f
add edx, eax
inc edi
lea ecx, [esp + 0x180]
push edi
push ecx
mov dword [0x404094], edx
call fcn.00402280
mov edx, dword [0x4043d0]
add esp, 0x18
push 0x5c
push 0x8b
push edx
call ebx
mov eax, dword [0x404488]
push 0xd2
push 0xce
push eax
mov dword [0x404074], 0x6097
call ebx
mov ecx, dword [0x40410c]
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
lea eax, [ebp + ebp*2]
sar edx, 5
mov ecx, edx
lea eax, [eax + eax*4]
shr ecx, 0x1f
add edx, ecx
lea eax, [eax + eax*4]
mov dword [0x40410c], edx
lea edx, [eax + eax*4]
mov eax, 0x51eb851f
lea ebp, [ebp + edx*4]
imul ebp
sar edx, 5
mov ecx, dword [0x40a160]
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push 0
push ecx
call dword [0x40a128]
test eax, eax
mov dword [esp + 0x14], eax
je 0x402af5
push 0
push esi
push eax
push edi
call fcn.004024b0
mov edx, dword [0x4044b4]
add esp, 0x10
mov esi, eax
push 0xfd
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov eax, dword [0x404328]
mov edi, dword [sym.imp.USER32.dll_GetClassWord]
push 0x37
push eax
inc esi
call edi
mov ecx, dword [0x40a160]
push esi
push 0
push ecx
call dword [0x40a128]
mov ebp, eax
test ebp, ebp
jne 0x402b1c
mov esi, dword [sym.imp.USER32.dll_GetClassLongA]
mov edx, dword [0x40434c]
push 0xa
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov eax, dword [0x404320]
push 0xdd
push eax
call esi
jmp 0x402ec5
mov ecx, dword [0x4043e4]
push 3
push ecx
call edi
lea ecx, [esi - 1]
mov esi, dword [esp + 0x14]
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0xb5
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x404334]
mov esi, dword [sym.imp.USER32.dll_GetClassLongA]
push eax
call esi
mov ecx, dword [esp + 0x14]
mov edx, dword [0x40a160]
push ecx
push 0
push edx
call dword [0x40a12c]
mov eax, dword [0x40438c]
push 0xb1
push 0xe0
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [0x40a160]
push ecx
push 0
push edx
call dword [0x40a12c]
mov eax, dword [0x404040]
mov ecx, dword [0x404394]
push 0x7c
add eax, 0x9d3
push 0xf9
push ecx
mov dword [0x4040f8], eax
mov dword [0x404008], 0x2323
call ebx
mov edx, dword [0x40401c]
mov eax, dword [0x404410]
push 0x2c
add edx, 0xffffe61e
push 0x93
push eax
mov dword [0x404118], edx
call ebx
mov ecx, dword [0x40404c]
mov eax, 0x288df0cb
imul ecx
sar edx, 4
mov ecx, edx
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
shr ecx, 0x1f
add edx, ecx
push 0x6d
mov dword [0x40404c], edx
mov edx, dword [0x404478]
push edx
call edi
mov eax, dword [0x404430]
push 7
push eax
call esi
mov ecx, dword [0x40438c]
push 0xcd
push 0x67
push ecx
call ebx
mov edx, dword [0x404468]
push 0x7f
push edx
call edi
mov ecx, dword [0x40405c]
mov eax, 0xb70fbb5b
imul ecx
add edx, ecx
mov ecx, 0x11
sar edx, 7
mov eax, edx
lea edi, [esp + 0x28]
shr eax, 0x1f
add edx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [0x404188]
mov dword [0x40405c], edx
mov ecx, eax
push 0xfb
shl ecx, 4
add ecx, eax
mov dword [esp + 0x2c], 0x44
shl ecx, 4
sub ecx, eax
lea edx, [eax + ecx*4]
mov ecx, dword [0x40446c]
push ecx
lea eax, [eax + edx*2]
shl eax, 2
mov dword [0x40415c], eax
call esi
mov edx, dword [0x404464]
push 0xd7
push 0x8a
push edx
mov dword [esp + 0x280], 0x10007
call ebx
mov dword [0x40a114], ebp
mov dword [0x404078], 0x794f
cmp word [ebp], 0x5a4d
jne 0x402ebf
mov eax, dword [ebp + 0x3c]
mov ecx, dword [0x404348]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
add eax, ebp
push 0xe2
push ecx
mov dword [0x40a118], eax
call esi
mov edx, dword [0x40a118]
cmp dword [edx], 0x4550
jne 0x402ebf
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
push ecx
push 0
push 0
push 4
push 0
push 0
push 0
call dword [0x40a120]
lea edx, [esp + 0x8c]
push eax
push edx
call dword [0x40a140]
mov eax, dword [0x4044b4]
push 0xd0
push eax
call esi
mov ecx, dword [0x40a118]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 0x34]
push edx
push eax
call dword [0x40a144]
mov ecx, dword [0x40439c]
push 0x66
push 0x13
push ecx
call ebx
mov eax, dword [0x40a118]
mov ecx, dword [esp + 0x18]
push 0x40
push 0x3000
mov edx, dword [eax + 0x50]
mov eax, dword [eax + 0x34]
push edx
push eax
push ecx
call dword [0x40a148]
mov eax, dword [0x40a118]
mov ecx, dword [esp + 0x18]
push 0
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x34]
push edx
push ebp
push eax
push ecx
call dword [0x40a14c]
mov eax, dword [0x404064]
mov ecx, 0x719e
cdq
idiv ecx
xor esi, esi
mov dword [0x404074], edx
mov edx, dword [0x40a118]
cmp word [edx + 6], si
jbe 0x402e1a
xor edi, edi
mov eax, dword [0x40a114]
push 0x60
push 0x72
mov ecx, dword [eax + 0x3c]
mov eax, dword [0x4043ac]
add ecx, edi
push eax
lea edx, [ecx + ebp + 0xf8]
mov dword [0x40a11c], edx
call ebx
mov eax, dword [0x40a11c]
push 0
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
push ecx
mov ecx, dword [0x40a118]
add edx, ebp
push edx
mov edx, dword [ecx + 0x34]
add eax, edx
mov edx, dword [esp + 0x24]
push eax
push edx
call dword [0x40a14c]
mov eax, dword [0x40443c]
push 0x37
push eax
call dword [sym.imp.USER32.dll_GetClassWord]
mov edx, dword [0x40a118]
xor ecx, ecx
inc esi
add edi, 0x28
mov cx, word [edx + 6]
cmp esi, ecx
jl 0x402daa
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x274]
push eax
push ecx
call dword [0x40a150]
mov ecx, dword [0x404148]
mov eax, 0x334e229f
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [0x40a118]
mov dword [0x40403c], edx
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x28]
add ecx, edx
mov edx, dword [0x4040ec]
mov dword [esp + 0x324], ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x274]
add edx, 0xffff89b7
push eax
push ecx
mov dword [0x40416c], edx
call dword [0x40a154]
mov edx, dword [0x4044a8]
push 0xb8
push edx
call dword [sym.imp.USER32.dll_GetClassLongA]
mov eax, dword [esp + 0x1c]
push eax
call dword [0x40a158]
mov ecx, dword [0x404150]
mov eax, 0x995f9b0d
imul ecx
add edx, ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [0x40417c], edx
mov esi, dword [sym.imp.USER32.dll_GetClassLongA]
mov edx, dword [0x404448]
push 0xee
push 0xf8
push edx
call ebx
mov eax, dword [0x404404]
push 0xb4
push eax
call esi
mov eax, dword [esp + 0x544]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x530
ret