Function at 0x1003f85b
Capabilities:
Enumerate pe sections
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088f36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x200
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1003f8e4
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x38]
mov dword [eax], 0
jmp 0x1003f8bf
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax], 2
jge 0x1003f8df
mov eax, dword [ebp - 0x38]
push dword [eax]
mov ecx, dword [ebp - 0x1a4]
call fcn.10028177
mov dword [eax], 0xea75c96
jmp 0x1003f8b4
jmp 0x100406d2
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x11c], 0xb0ad8ea5
push 1
lea ecx, [ebp - 0x1d4]
call fcn.100280d9
and dword [ebp - 4], 0
mov dword [ebp - 0x1c8], 0x20b5
mov dword [ebp - 0x1c4], 0x20b5
mov dword [ebp - 0x1c0], 0x20b5
mov dword [ebp - 0x1bc], 0x20b5
mov dword [ebp - 0x180], 1
mov dword [ebp - 0x34], 0
jmp 0x1003f959
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x1003f96f
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x90], 0x236432a2
jmp 0x1003f952
push 0
push 0x2393
push 0x3bf1
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.1003a989
add esp, 0x14
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x1003f9a8
push 0
push 0x5a7c
call fcn.1003d225
pop ecx
pop ecx
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x90]
mov dword [ebp - 0x208], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x90]
mov dword [ebp - 0x200], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x90], 0xfffb
jb 0x1003f9ec
mov dword [ebp - 0x148], 1
jmp 0x1003f9f3
and dword [ebp - 0x148], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x90]
imul eax, dword [ebp - 0x148]
cmp eax, 0xfffffff9
jne 0x1003fa17
mov dword [ebp - 0x154], 1
jmp 0x1003fa1e
and dword [ebp - 0x154], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x90]
cmp dword [ebp - 0x154], eax
jne 0x1003fa3e
mov dword [ebp - 0xd8], 1
jmp 0x1003fa45
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xa8], eax
push 0
lea ecx, [ebp - 0x1d4]
call fcn.10028177
mov ecx, dword [ebp - 0xa8]
mov dword [eax], ecx
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x90]
cmp dword [ebp - 0xa8], eax
je 0x1003fa92
mov dword [ebp - 0x1ac], 1
jmp 0x1003fa99
and dword [ebp - 0x1ac], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x90]
mov dword [ebp - 0x1f8], eax
push 4
pop eax
shl eax, 1
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x1c8]
cmp dword [ebp + eax - 0x1c8], ecx
jge 0x1003fad1
mov dword [ebp - 0x124], 1
jmp 0x1003fad8
and dword [ebp - 0x124], 0
cmp dword [ebp - 0x124], 1
jle 0x1003faed
mov dword [ebp - 0xb0], 1
jmp 0x1003faf4
and dword [ebp - 0xb0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x90]
cmp dword [ebp - 0xb0], eax
jle 0x1003fb14
mov dword [ebp - 0x12c], 1
jmp 0x1003fb1b
and dword [ebp - 0x12c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x90]
cmp dword [ebp - 0x12c], eax
jg 0x1003fb3c
mov dword [ebp - 0xb8], 1
jmp 0x1003fb43
and dword [ebp - 0xb8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x90]
cmp dword [ebp - 0xb8], eax
jg 0x1003fb64
mov dword [ebp - 0x134], 1
jmp 0x1003fb6b
and dword [ebp - 0x134], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x90]
sub eax, dword [ebp - 0x134]
mov dword [ebp - 0x180], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d4]
call fcn.1002815b
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x64], 0
jmp 0x1003fbb5
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jge 0x1003fbcb
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x1e4], 0xa8f93905
jmp 0x1003fbae
mov dword [ebp - 0x40], 0
jmp 0x1003fbdb
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x1003fc08
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x1003fc06
push 0x3276
push 0x7871
push 0x32df
push 0
call fcn.10042acf
add esp, 0x10
jmp 0x1003fbd4
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x18], eax
and dword [ebp - 0x78], 0
jmp 0x1003fc33
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x18]
add eax, 0x28
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x78], eax
jge 0x100406d2
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x5c], 0
jmp 0x1003fc5c
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 1
jge 0x1003fc72
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x1e8], 0xc204e2db
jmp 0x1003fc55
mov dword [ebp - 0x68], 0
jmp 0x1003fc82
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jg 0x1003fcaa
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1003fca8
push 0x4ffb
push 0x55b6
push 0
call fcn.1003caf9
add esp, 0xc
jmp 0x1003fc7b
push 0
call fcn.1003ce7b
pop ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x10], 0
jne 0x10040663
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x58], 0
jmp 0x1003fcd6
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x1003fcec
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x1b8], 1
jmp 0x1003fccf
mov dword [ebp - 0x30], 0
jmp 0x1003fcfc
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xb
jg 0x100400b8
mov dword [ebp - 0x3c], 0x78f1e0c8
mov dword [ebp - 0x24], 0xfffffffa
mov dword [ebp - 0xe0], 0xef31
mov dword [ebp - 0x60], 0
jmp 0x1003fd2e
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jge 0x1003fd41
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x74], 0x67a876e6
jmp 0x1003fd27
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x74], 0
jmp 0x1003fd66
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x74]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x74], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x74], 0xffffffeb
jg 0x1004007d
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0x1c], 0xaf7806aa
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x74]
mov dword [ebp - 0x98], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x74]
cmp eax, dword [ebp - 0x98]
jg 0x1003fdb6
mov dword [ebp - 0x14c], 1
jmp 0x1003fdbd
and dword [ebp - 0x14c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x3c]
cmp dword [ebp + eax - 0x74], ecx
je 0x1003fdd8
mov dword [ebp - 0xc0], 1
jmp 0x1003fddf
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 0xc1da
je 0x1003fdf7
mov dword [ebp - 0x13c], 1
jmp 0x1003fdfe
and dword [ebp - 0x13c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x13c]
add ecx, dword [ebp + eax - 0x74]
mov dword [ebp - 0xc8], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xc8]
mov dword [ebp + eax - 0x1b8], ecx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1003fe48
cmp dword [ebp - 0x1c], 0
je 0x1003fe48
mov dword [ebp - 0x144], 1
jmp 0x1003fe4f
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
neg eax
cmp dword [ebp - 0x14c], eax
je 0x1003fe6b
mov dword [ebp - 0xd0], 1
jmp 0x1003fe72
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x30]
neg eax
cmp eax, dword [ebp - 0xd0]
je 0x1003fe8b
mov dword [ebp - 0xd4], 1
jmp 0x1003fe92
and dword [ebp - 0xd4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x74]
cmp dword [ebp - 0xd4], eax
jl 0x1003feb1
xor eax, eax
jne 0x1003feb1
and dword [ebp - 0x118], 0
jmp 0x1003febb
mov dword [ebp - 0x118], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x74]
add eax, dword [ebp - 0x118]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], 2
jmp 0x1003fedd
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x10040078
mov dword [ebp - 0x94], 0x8c74c3ee
mov dword [ebp - 0x184], 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0x1b8], 0
je 0x1003ff0d
jmp 0x10040078
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x74], 0
je 0x1003ff7a
mov dword [ebp - 0x3c], 0
jmp 0x1003ff2a
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jg 0x1003ff52
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1003ff50
push 0
push 0x23d7
push 0x79dc
call fcn.1003d156
add esp, 0xc
jmp 0x1003ff23
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1003ff75
push 0x2478
push 0x22f4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x10040073
mov dword [ebp - 0x194], 0xfffffff7
mov dword [ebp - 0xe0], 1
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xe0], eax
jg 0x1003ffa5
mov dword [ebp - 0x138], 1
jmp 0x1003ffac
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x1c], 0
jne 0x1003ffc8
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x74], 0
jne 0x1003ffc8
and dword [ebp - 0xe8], 0
jmp 0x1003ffd2
mov dword [ebp - 0xe8], 1
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0xe8]
jge 0x1003fff8
mov dword [ebp - 0x120], 1
jmp 0x1003ffff
and dword [ebp - 0x120], 0
cmp dword [ebp - 0x120], 0xfffffff9
je 0x10040014
mov dword [ebp - 0xf0], 1
jmp 0x1004001b
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0xf0], eax
je 0x1004003b
cmp dword [ebp - 0x94], 0
jne 0x1004003b
and dword [ebp - 0x9c], 0
jmp 0x10040045
mov dword [ebp - 0x9c], 1
cmp dword [ebp - 0x9c], 0xffffffff
jae 0x1004005a
mov dword [ebp - 0xf8], 1
jmp 0x10040061
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x194]
add eax, dword [ebp - 0xf8]
mov dword [ebp - 0x184], eax
jmp 0x1003fed6
jmp 0x1003fd51
mov dword [ebp - 0x24], 2
jmp 0x1004008d
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x100400b3
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0x1b8], 0
je 0x100400a2
jmp 0x100400b3
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0x1b8], 0
je 0x100400b1
jmp 0x10040086
jmp 0x10040086
jmp 0x1003fcf5
push dword [ebp - 0xc4]
push dword [ebp - 0x17c]
push dword [ebp - 0x18]
push 0x7b3
push 0
lea eax, [ebp - 0x80]
push eax
call fcn.1003bf9e
add esp, 0x18
mov dword [ebp - 0x10], 0x2e91a049
mov dword [ebp - 0x14], 0x64276038
push 3
lea ecx, [ebp - 0x16c]
call fcn.100280d9
mov dword [ebp - 4], 1
mov dword [ebp - 0x48], 0x9db2213a
mov dword [ebp - 0x1a0], 0xe7a5
push 0x7eec
push 0
lea eax, [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.10042a59
add esp, 0x10
mov dword [ebp - 0x10], 0xc
jmp 0x1004013a
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xfffffff5
jge 0x100401f4
mov dword [ebp - 0x198], 0x2124f84b
push 2
lea ecx, [ebp - 0x1e0]
call fcn.100280d9
mov byte [ebp - 4], 2
mov dword [ebp - 0x188], 0xcaa5d732
mov dword [ebp - 0x1a8], 3
mov dword [ebp - 0x50], 0
jmp 0x10040183
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jge 0x1004019f
push dword [ebp - 0x50]
lea ecx, [ebp - 0x1e0]
call fcn.10028177
mov dword [eax], 0x8dee21af
jmp 0x1004017c
push 0
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x50
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1a8]
push eax
push 0xd57
push 0x2b56
call fcn.1003cec8
add esp, 0x2c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1e0]
call fcn.1002815b
jmp 0x10040133
mov dword [ebp - 0x14], 0
jmp 0x10040204
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x31
jne 0x1004064f
push 1
lea ecx, [ebp - 0x160]
call fcn.100280d9
mov byte [ebp - 4], 3
mov dword [ebp - 0x178], 5
mov dword [ebp - 0x7c], 0
push 0x6f60
lea eax, [ebp - 0x160]
push eax
push 0
lea eax, [ebp - 0x1fc]
push eax
push 0x5fc7
call fcn.10044c1c
add esp, 0x14
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x10040264
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x204], eax
push 2
lea ecx, [ebp - 0x16c]
call fcn.10028177
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x48], eax
mov esi, dword [ebp - 0x48]
add esi, 4
push 0
lea ecx, [ebp - 0x160]
call fcn.10028177
cmp esi, dword [eax]
jge 0x100402a8
mov dword [ebp - 0x128], 1
jmp 0x100402af
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x128], eax
jne 0x100402c6
mov dword [ebp - 0x100], 1
jmp 0x100402cd
and dword [ebp - 0x100], 0
push 0
lea ecx, [ebp - 0x160]
call fcn.10028177
mov ecx, dword [ebp - 0x100]
sub ecx, dword [ebp - 0x14]
cmp dword [eax], ecx
jge 0x100402f3
mov dword [ebp - 0x140], 1
jmp 0x100402fa
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
sub eax, 0xe8af
cmp eax, 0xfffffff8
jae 0x10040316
mov dword [ebp - 0x190], 1
jmp 0x1004031d
and dword [ebp - 0x190], 0
push 2
lea ecx, [ebp - 0x16c]
call fcn.10028177
mov esi, dword [eax]
dec esi
push 0
lea ecx, [ebp - 0x160]
call fcn.10028177
cmp esi, dword [eax]
jne 0x10040398
mov dword [ebp - 0x54], 0
jmp 0x1004034e
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jge 0x10040364
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x1f0], 0xf668
jmp 0x10040347
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1f0], 0x8fba323a
jbe 0x10040383
mov dword [ebp - 0x108], 1
jmp 0x1004038a
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x10], eax
jmp 0x1004063b
mov dword [ebp - 0x84], 0xe95372a7
mov dword [ebp - 0x20], 0x2a25
mov dword [ebp - 0xa0], 0x74ecb9a7
mov dword [ebp - 0x44], 0
jmp 0x100403c3
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x100403d9
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x174], 0xfffffff6
jmp 0x100403bc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20c], eax
mov eax, 0x2ed16080
cmp eax, 0x3e8932a2
jle 0x100403fa
mov dword [ebp - 0x130], 1
jmp 0x10040401
and dword [ebp - 0x130], 0
cmp dword [ebp - 0x130], 1
jl 0x10040416
mov dword [ebp - 0x110], 1
jmp 0x1004041d
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x150], eax
push 0
lea ecx, [ebp - 0x160]
call fcn.10028177
mov ecx, dword [ebp - 0x150]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x150], eax
jl 0x1004045b
mov dword [ebp - 0xcc], 1
jmp 0x10040462
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
sub eax, dword [ebp - 0x20]
cmp eax, 0xdfb9
jle 0x1004047e
mov dword [ebp - 0xdc], 1
jmp 0x10040485
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x1a0]
cmp eax, dword [ebp - 0xdc]
jge 0x1004049f
mov dword [ebp - 0xe4], 1
jmp 0x100404a6
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x20], eax
je 0x100404d5
push 0
lea ecx, [ebp - 0x160]
call fcn.10028177
cmp dword [eax], 0
je 0x100404d5
mov dword [ebp - 0xec], 1
jmp 0x100404dc
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0xec]
cmp eax, dword [ebp - 0x178]
jg 0x100404fa
mov dword [ebp - 0xf4], 1
jmp 0x10040501
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0xf4]
cmp eax, dword [ebp - 0x20]
jle 0x1004051c
mov dword [ebp - 0xfc], 1
jmp 0x10040523
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xfc], eax
jl 0x1004053a
mov dword [ebp - 0x104], 1
jmp 0x10040541
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x104], eax
jne 0x10040558
mov dword [ebp - 0x10c], 1
jmp 0x1004055f
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10c], eax
jne 0x10040576
mov dword [ebp - 0x114], 1
jmp 0x1004057d
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xfff6
ja 0x100405a1
mov dword [ebp - 0xa4], 1
jmp 0x100405a8
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0xa4], eax
jge 0x100405bf
mov dword [ebp - 0xac], 1
jmp 0x100405c6
and dword [ebp - 0xac], 0
push 2
lea ecx, [ebp - 0x16c]
call fcn.10028177
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [eax]
jle 0x100405e9
mov dword [ebp - 0xb4], 1
jmp 0x100405f0
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xb4]
dec ecx
sub ecx, dword [ebp - 0x7c]
imul eax, ecx
cmp eax, dword [ebp - 0x14]
je 0x10040621
mov dword [ebp - 0xbc], 1
jmp 0x10040628
and dword [ebp - 0xbc], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xbc]
mov dword [ebp + eax - 0x174], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
call fcn.1002815b
jmp 0x100401fd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.1002815b
jmp 0x1003fc23
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 0xe1b7
push 0xd19a
call fcn.10058272
pop ecx
pop ecx
call eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18c]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x80]
call fcn.1005833b
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0xebc
push 0x617
call fcn.1004079e
add esp, 0x14
jmp 0x1003fc23
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret