Function at 0x406e60
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, dword [0x49d228]
mov ebx, ecx
push ebx
mov ecx, esi
call fcn.00455010
mov ecx, eax
call fcn.00458af0
cmp eax, 1
jne 0x406e85
pop esi
xor eax, eax
pop ebx
ret 8
mov eax, dword [esp + 0xc]
push ebp
push edi
push eax
mov ecx, ebx
call fcn.00406330
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.00406350
push 0x80000000
mov ecx, ebx
call fcn.00406500
xor ebp, ebp
mov dword [ebx + 0xc0], ebp
mov dword [ebx + 0xc4], ebp
mov dword [ebx + 0xc8], ebp
mov dword [ebx + 0xdd0], ebp
call dword [0x489328]
mov ecx, esi
mov dword [ebx + 0x1cd4], eax
mov dword [ebx + 0x1cd8], ebp
call fcn.00455000
mov ecx, eax
call fcn.00456d50
push 0x800
push 0x258
lea edi, [ebx + 0x308]
push 0x320
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.0044fef0
push 0x800
push 0x258
push 0x320
lea ecx, [ebx + 0xcc]
call fcn.0044fef0
mov edx, dword [esp + 0x14]
push ebp
push ebp
push ebp
push edx
push 0x258
push 0x320
push ebp
push ebp
mov ecx, edi
call fcn.00452500
mov ecx, ebx
call fcn.004066b0
push ebp
lea eax, [ebx + 0x544]
push eax
push str.SETTINGS_chip.bmp
mov ecx, esi
call fcn.00404920
mov edx, dword [esi + 0xb54]
lea esi, [ebx + 0xbf8]
add edx, 0x227144
xor eax, eax
mov ecx, 0x27
mov edi, esi
rep stosd dword es:[edi], eax
lea ebp, [ebx + 0xd30]
mov ecx, 0x27
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, dword [edx + 0x24]
mov dword [esi + 0x18], ecx
mov eax, dword [edx + 0x28]
mov dword [esi + 0x1c], eax
mov ecx, dword [edx + 0x2c]
mov dword [esi + 0x20], ecx
mov eax, dword [edx + 0x30]
mov dword [esi + 0x24], eax
mov ecx, dword [edx + 0x1c]
mov dword [esi + 0x10], ecx
mov eax, dword [edx + 0x20]
mov dword [esi + 0x14], eax
mov ecx, dword [edx + 0x34]
mov dword [esi + 0x28], ecx
mov eax, dword [edx + 0x38]
mov dword [esi + 0x2c], eax
mov ecx, dword [edx + 0x3c]
mov dword [esi + 0x30], ecx
mov eax, dword [edx + 0x40]
mov dword [esi + 0x34], eax
mov ecx, dword [edx + 0x44]
mov dword [esi + 0x38], ecx
mov eax, dword [edx + 0x48]
mov dword [esi + 0x3c], eax
mov ecx, dword [edx + 0x4c]
mov dword [esi + 0x40], ecx
mov eax, dword [edx + 0x50]
mov dword [esi + 0x44], eax
mov ecx, dword [edx + 0x54]
mov dword [esi + 0x48], ecx
mov eax, dword [edx + 0x58]
mov dword [esi + 0x4c], eax
mov ecx, dword [edx + 0x64]
mov dword [esi + 0x50], ecx
mov eax, dword [edx + 0x68]
mov dword [esi + 0x54], eax
mov ecx, dword [edx + 0x6c]
mov dword [esi + 0x58], ecx
mov eax, dword [edx + 0x70]
mov dword [esi + 0x5c], eax
mov ecx, dword [edx + 0x74]
mov dword [esi + 0x60], ecx
mov eax, dword [edx + 0x78]
mov dword [esi + 0x64], eax
mov ecx, dword [edx + 0x7c]
mov dword [esi + 0x68], ecx
mov eax, dword [edx + 0xa8]
mov dword [esi + 0x94], eax
mov ecx, dword [edx]
mov dword [esi], ecx
mov al, byte [edx + 4]
mov byte [esi + 4], al
mov cl, byte [edx + 5]
mov byte [esi + 5], cl
mov al, byte [edx + 6]
mov byte [esi + 6], al
mov cl, byte [edx + 7]
mov byte [esi + 7], cl
mov al, byte [edx + 8]
mov byte [esi + 8], al
mov cl, byte [edx + 9]
mov byte [esi + 9], cl
mov al, byte [edx + 0xa]
mov byte [esi + 0xa], al
mov cl, byte [edx + 0xb]
mov byte [esi + 0xb], cl
mov al, byte [edx + 0xc]
mov byte [esi + 0xc], al
mov cl, byte [edx + 0xd]
mov byte [esi + 0xd], cl
mov eax, dword [edx + 0x80]
mov dword [esi + 0x6c], eax
mov ecx, dword [edx + 0x94]
mov dword [esi + 0x80], ecx
mov eax, dword [edx + 0x84]
mov dword [esi + 0x70], eax
mov ecx, dword [edx + 0x98]
mov dword [esi + 0x84], ecx
mov eax, dword [edx + 0x88]
mov dword [esi + 0x74], eax
mov ecx, dword [edx + 0x9c]
mov dword [esi + 0x88], ecx
mov eax, dword [edx + 0x8c]
mov dword [esi + 0x78], eax
mov ecx, dword [edx + 0xa0]
mov dword [esi + 0x8c], ecx
mov eax, dword [edx + 0x90]
mov dword [esi + 0x7c], eax
mov ecx, dword [edx + 0xa4]
mov dword [esi + 0x90], ecx
mov edx, dword [edx + 0xac]
mov ecx, 0x27
lea edi, [ebx + 0xc94]
mov dword [esi + 0x98], edx
rep movsd dword es:[edi], dword [esi]
mov esi, 1
mov dword [ebp], esi
mov dword [ebp + 0x24], esi
mov dword [ebp + 0x40], 9
mov dword [ebp + 0x50], esi
mov dword [ebp + 0x58], esi
mov dword [ebp + 0x98], esi
mov edx, 8
mov dword [ebp + 0x94], edx
mov dword [ebp + 0x3c], edx
mov dword [ebp + 0x38], edx
mov dword [ebp + 0x4c], edx
mov dword [ebp + 0x68], esi
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x54], esi
mov dword [ebp + 0x44], 5
mov dword [ebp + 0x10], esi
mov byte [ebp + 0xd], 0xa0
mov byte [ebp + 7], 0xbe
mov al, 0xff
mov byte [ebp + 8], al
mov byte [ebp + 9], al
mov byte [ebp + 0xa], al
xor eax, eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x1c], eax
mov byte [ebp + 0xb], al
mov byte [ebp + 0xc], al
mov ecx, 0xa
mov dword [ebp + 0x48], ecx
mov dl, 0x77
mov byte [ebp + 4], dl
mov byte [ebp + 5], dl
mov byte [ebp + 6], dl
mov dword [ebp + 0x6c], ecx
mov dword [ebp + 0x70], ecx
mov dword [ebp + 0x74], ecx
mov dword [ebp + 0x78], ecx
mov dword [ebp + 0x7c], ecx
push str.system3_1.lib
mov ecx, ebx
mov dword [ebp + 0x80], eax
mov dword [ebp + 0x84], eax
mov dword [ebp + 0x88], eax
mov dword [ebp + 0x8c], eax
mov dword [ebp + 0x90], eax
call fcn.004067a0
mov ecx, ebx
call fcn.00406b70
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
ret 8