Function at 0x1004e8aa
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008db4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c8
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1004e8e3
push 1
push 0x3d9b
call fcn.1004f3b6
pop ecx
pop ecx
jmp 0x1004f3a8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xac], 0x6d6c
mov dword [ebp - 0x11c], 0x1000c430
cmp dword [ebp - 0xac], 0x707b
jle 0x1004e96d
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommBreak]
and dword [ebp - 0x44], 0
jmp 0x1004e921
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x1539
jge 0x1004e96d
and dword [ebp - 0x5c], 0
jmp 0x1004e937
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x914
jge 0x1004e96b
mov eax, dword [ebp - 0x44]
and eax, dword [ebp - 0x5c]
cdq
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], edx
push dword [ebp - 0x130]
push dword [ebp - 0x134]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x1004e930
jmp 0x1004e91a
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0xac], 0x6a75
jge 0x1004e992
mov edx, dword [ebp - 0x11c]
mov ecx, 0x10092b78
call fcn.10025597
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf4], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax]
test eax, eax
je 0x1004e9ec
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov eax, dword [eax]
add eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x1004f3a8
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0xfff6
mov dword [ebp - 0xf0], 0xfffffffd
mov dword [ebp - 0x64], 8
mov dword [ebp - 0xf8], 0x5cf1c946
mov dword [ebp - 0x184], 0x4ab6
push 0x17f5
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xf0]
push eax
push 0x3b54
push 0
call fcn.10051a36
add esp, 0x14
mov dword [ebp - 0x20], 0
jmp 0x1004ea68
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1f
jge 0x1004ec5e
mov dword [ebp - 0xb8], 0x4412
mov dword [ebp - 0xd0], 0x1000c46c
cmp dword [ebp - 0xb8], 0x4646
jle 0x1004eb1a
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_GetCharWidth32W]
and dword [ebp - 0x34], 0
jmp 0x1004eab1
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x1a7d
jge 0x1004eb1a
and dword [ebp - 0x58], 0
jmp 0x1004eac7
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x4067
jge 0x1004eb18
and dword [ebp - 0x3c], 0
jmp 0x1004eadd
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x3007
jge 0x1004eb16
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x3c]
shl eax, cl
cdq
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], edx
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x1004ead6
jmp 0x1004eac0
jmp 0x1004eaaa
cmp dword [ebp - 0xb8], 0x416b
jge 0x1004eb36
mov edx, dword [ebp - 0xd0]
mov ecx, 0x10092b78
call fcn.10025597
mov dword [ebp - 0x6c], 0xe32cf415
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x50], 0
jmp 0x1004eb57
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 4
jge 0x1004eb6d
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x180], 0x7c1188e1
jmp 0x1004eb50
mov eax, dword [ebp - 0x64]
imul eax, dword [ebp - 0x64]
test eax, eax
jne 0x1004ebd5
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x180], 9
jne 0x1004eb9a
mov eax, 0xb27f
test eax, eax
je 0x1004eb9a
mov dword [ebp - 0x80], 1
jmp 0x1004eb9e
and dword [ebp - 0x80], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x180]
cmp dword [ebp - 0x80], eax
jne 0x1004ebbc
mov dword [ebp - 0x128], 1
jmp 0x1004ebc3
and dword [ebp - 0x128], 0
cmp dword [ebp - 0xf8], 0
jne 0x1004ebd5
and dword [ebp - 0xa8], 0
jmp 0x1004ebdf
mov dword [ebp - 0xa8], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x180]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0xa8]
jg 0x1004ec0c
cmp dword [ebp - 0x6c], 0
je 0x1004ec0c
mov dword [ebp - 0x88], 1
jmp 0x1004ec13
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x64]
imul eax, dword [ebp - 0x88]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x180]
jg 0x1004ec38
mov dword [ebp - 0xc8], 1
jmp 0x1004ec3f
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xfc], eax
push 0
push 0x1a7b
call fcn.10059bed
pop ecx
pop ecx
jmp 0x1004ea61
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc4], eax
push 0x7ebc
push 0
push 0x17a5
call fcn.1005f227
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x18], eax
push 0
call fcn.1004d628
pop ecx
and dword [ebp - 0x68], 0
jmp 0x1004ecb1
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
add eax, 0x28
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x68], eax
jge 0x1004f3a8
mov dword [ebp - 0x1a0], 3
mov byte [ebp - 0x19], 0
push 0x6990
lea eax, [ebp - 0x19]
push eax
push 0
call fcn.1006de76
add esp, 0xc
push 0x4587
push 0
push 0x1e9b
push 0
push 1
push 0x254f
call fcn.1004da85
add esp, 0x18
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x10], 0
jne 0x1004f1fc
mov dword [ebp - 0x10], 0xfffffff9
mov dword [ebp - 0x30], 0x61be360d
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x90], 0x3e9c
mov dword [ebp - 0x108], 0x1000c4ac
cmp dword [ebp - 0x90], 0x4192
jle 0x1004edd3
and dword [ebp - 0x54], 0
jmp 0x1004ed54
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x768a
jge 0x1004edc9
and dword [ebp - 0x4c], 0
jmp 0x1004ed6a
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x3625
jge 0x1004edc7
mov eax, dword [ebp - 0x54]
cdq
idiv dword [ebp - 0x4c]
mov eax, edx
cdq
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], edx
push dword [ebp - 0x148]
push dword [ebp - 0x14c]
lea ecx, [ebp - 0x1bc]
call fcn.100118ee
pop ecx
pop ecx
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
call fcn.10022827
push eax
call fcn.10077843
pop ecx
lea ecx, [ebp - 0x1bc]
call fcn.1002281d
jmp 0x1004ed63
jmp 0x1004ed4d
push 0
push 0
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
cmp dword [ebp - 0x90], 0x3c1c
jge 0x1004edeb
push dword [ebp - 0x108]
call fcn.10077843
pop ecx
mov dword [ebp - 0x14], 0
jmp 0x1004edfb
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1004ee11
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x190], 0xffffffff
jmp 0x1004edf4
mov dword [ebp - 0x14], 0
jmp 0x1004ee21
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1004ee37
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x19c], 0x216709e1
jmp 0x1004ee1a
mov eax, dword [ebp - 0x10]
sub eax, 0xc285
neg eax
jne 0x1004ef37
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xb0], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xb0]
mov dword [ebp + eax - 0x190], ecx
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1004ee87
mov eax, 0xffff
test eax, eax
je 0x1004ee87
mov dword [ebp - 0x98], 1
jmp 0x1004ee8e
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0x80eb
jg 0x1004eea6
mov dword [ebp - 0xc0], 1
jmp 0x1004eead
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc0], eax
jge 0x1004eec4
mov dword [ebp - 0xa0], 1
jmp 0x1004eecb
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xa0]
jl 0x1004eedf
mov dword [ebp - 0x78], 1
jmp 0x1004eee3
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x78], eax
jl 0x1004eef4
mov dword [ebp - 0x7c], 1
jmp 0x1004eef8
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
neg eax
cmp eax, 0x398963ec
jne 0x1004ef19
cmp dword [ebp - 0x30], 0
jne 0x1004ef19
cmp dword [ebp - 0x2c], 0
jne 0x1004ef19
and dword [ebp - 0x84], 0
jmp 0x1004ef23
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x2c]
jne 0x1004ef37
and dword [ebp - 0x138], 0
jmp 0x1004ef41
mov dword [ebp - 0x138], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x194], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x190], 0
jne 0x1004ef65
mov dword [ebp - 0x8c], 1
jmp 0x1004ef6c
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x10]
je 0x1004ef87
mov dword [ebp - 0x94], 1
jmp 0x1004ef8e
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x94], eax
je 0x1004efa5
mov dword [ebp - 0x9c], 1
jmp 0x1004efac
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1004efcd
cmp dword [ebp - 0x30], 0
je 0x1004efcd
mov dword [ebp - 0xa4], 1
jmp 0x1004efd4
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xa4], eax
jg 0x1004efe8
mov dword [ebp - 0x74], 1
jmp 0x1004efec
and dword [ebp - 0x74], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x74]
mov dword [ebp + eax - 0x19c], ecx
push 0x68cf
push 0x6e20
push 0
lea eax, [ebp - 0x70]
push eax
push 1
push dword [ebp - 0x18]
push 0
push dword [ebp - 0x110]
push 0x45a6
push 0x621f
push dword [ebp - 0xc4]
call fcn.1004d677
add esp, 0x2c
mov dword [ebp - 0xbc], 6
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x144], 0xfffffff9
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24], 0x1a
jmp 0x1004f065
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x15
jl 0x1004f1f7
push 3
lea ecx, [ebp - 0x170]
call fcn.10022b61
and dword [ebp - 4], 0
push 0x7d5f
push 0
push 0x230b
push 0
lea eax, [ebp - 0x1a4]
push eax
push 0x3942
push 0x426
push 0xadd
push 1
push 0x5c34
push 0x685
push 0x2d3c
push 0x3a52
push 0xd06
push 0x51b4
push 0x598e
lea eax, [ebp - 0x170]
push eax
push 0x6d54
call fcn.100576a9
add esp, 0x48
mov dword [ebp - 0xb4], 0xa8c
mov dword [ebp - 0x118], 0x1000c4d0
cmp dword [ebp - 0xb4], 0xe2b
jle 0x1004f1a4
and dword [ebp - 0x38], 0
jmp 0x1004f10e
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x5b3a
jge 0x1004f1a4
and dword [ebp - 0x40], 0
jmp 0x1004f128
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x20f6
jge 0x1004f19f
and dword [ebp - 0x48], 0
jmp 0x1004f13e
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x7cc6
jge 0x1004f19d
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
sar eax, cl
or eax, dword [ebp - 0x48]
cdq
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], edx
push dword [ebp - 0x120]
push dword [ebp - 0x124]
lea ecx, [ebp - 0x1d4]
call fcn.100118ee
pop ecx
pop ecx
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
call fcn.10022827
push eax
call fcn.10077843
pop ecx
lea ecx, [ebp - 0x1d4]
call fcn.1002281d
jmp 0x1004f137
jmp 0x1004f121
jmp 0x1004f107
push 0
call fcn.10067015
pop ecx
cmp dword [ebp - 0xb4], 0x784
jge 0x1004f1c4
push dword [ebp - 0x118]
call fcn.10077843
pop ecx
push 0
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.1005a099
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.10022be3
jmp 0x1004f05e
jmp 0x1004eca1
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xd4], 0x263d
mov dword [ebp - 0xdc], 0xfffffffc
push 0x1dd4
push 0
call fcn.100503a1
pop ecx
pop ecx
push 0x2494
lea eax, [ebp - 0x100]
push eax
push 0x6d37
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xdc]
push eax
push 0xf26
push 0x326f
push 0
call fcn.1006f928
add esp, 0x20
push 4
push 0x1000
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc4]
add ecx, dword [eax + 0xc]
push ecx
push 0xd222
push 0xcc75
call fcn.10049601
pop ecx
pop ecx
call eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xe4]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x70]
call fcn.1004b36c
add esp, 0xc
mov dword [ebp - 0xcc], 0x1dfe
push 4
lea ecx, [ebp - 0x158]
call fcn.10022b61
mov dword [ebp - 4], 1
push 4
lea ecx, [ebp - 0x164]
call fcn.10022b61
mov byte [ebp - 4], 2
push 0x80a
push 0x167b
push 0x6ef
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x158]
push eax
push 0xf23
push 0x76fa
push 0
call fcn.1006784f
add esp, 0x20
push 0
lea eax, [ebp - 0xec]
push eax
push 0x14bc
lea eax, [ebp - 0x164]
push eax
push 0xabd
push 0x23ce
call fcn.1004f3d2
add esp, 0x18
push 0
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.10056c29
add esp, 0x10
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x158]
push eax
push 0x25f9
lea eax, [ebp - 0xcc]
push eax
push 0
call fcn.1005135a
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x164]
call fcn.10022be3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10022be3
lea eax, [ebp - 0x70]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.100530b7
add esp, 0xc
jmp 0x1004eca1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret