Function at 0x10041a57
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006fd0a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
and dword [ebp - 0x14], 0
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1004288a
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x100], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x124], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x118], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x118]
movzx eax, byte [eax]
test eax, eax
je 0x1004281a
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10041aea
jmp 0x100428cb
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0x4550
je 0x10041b09
jmp 0x100428cb
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x34]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 4], 0
jne 0x10041b27
jmp 0x100428cb
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x34]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x34]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x48], eax
and dword [ebp - 0xac], 0
jmp 0x10041b5b
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x48]
add eax, 0x28
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xac], eax
jge 0x10041bd9
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xb4]
jb 0x10041bd4
mov eax, dword [ebp - 0x34]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x48]
push dword [eax + 8]
call fcn.1003ed9b
pop ecx
pop ecx
add eax, dword [ebp - 0xb4]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x108]
jae 0x10041bd4
lea eax, [ebp - 0x20]
push eax
push 1
push 1
push 0x5c9e
lea eax, [ebp - 0x48]
push eax
push 0x65aa
push 0x7d2d
call fcn.1003edf7
add esp, 0x1c
jmp 0x10041bd9
jmp 0x10041b45
cmp dword [ebp - 0x20], 0
jne 0x10041be4
jmp 0x100428cb
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ecx
xor ecx, ecx
call fcn.1003d650
push eax
call fcn.1005719b
pop ecx
mov byte [ebp - 0x64], 1
mov byte [ebp - 0x63], 0xf2
mov byte [ebp - 0x62], 5
mov byte [ebp - 0x61], 4
mov byte [ebp - 0x60], 1
mov byte [ebp - 0x5f], 0x91
mov byte [ebp - 0x5e], 4
mov byte [ebp - 0x5d], 9
mov byte [ebp - 0x5c], 3
mov byte [ebp - 0x5b], 0xf
mov byte [ebp - 0x5a], 8
mov byte [ebp - 0x59], 7
mov byte [ebp - 0x58], 7
mov byte [ebp - 0x57], 6
mov byte [ebp - 0x56], 9
mov byte [ebp - 0x55], 6
mov byte [ebp - 0x54], 6
mov byte [ebp - 0x53], 1
mov byte [ebp - 0x52], 0
mov byte [ebp - 0x51], 0
mov byte [ebp - 0x50], 2
mov byte [ebp - 0x4f], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x64]
or eax, 0xc7
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x64]
and ecx, 0xc7
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x64]
mov byte [ebp + ecx - 0xdc], al
mov dword [ebp - 0x24], 2
and dword [ebp - 0x9c], 0
jmp 0x10041ca5
mov eax, dword [ebp - 0x24]
inc eax
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x16
jae 0x10041d68
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x64]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x24], eax
jne 0x10041ce6
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x64]
inc eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x64]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x24], eax
jmp 0x10041c9d
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x63]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x9c]
movzx ecx, byte [ebp + ecx - 0x66]
movsx ecx, byte [ebp + ecx - 0xdc]
or eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x63]
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x9c]
movzx edx, byte [ebp + edx - 0x66]
movsx edx, byte [ebp + edx - 0xdc]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x64]
mov byte [ebp + ecx - 0xdc], al
push 0xccf
push 0x3ce5
push 0x121a
push 0x10d1
push 1
push 1
push 0x40be
lea eax, [ebp - 0x9c]
push eax
call fcn.10040f5a
add esp, 0x20
jmp 0x10041c9d
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xdc], 0
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.1003bb3b
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xec], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0xec]
call fcn.1003d615
pop ecx
mov dword [ebp - 0x144], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.1003bb5e
and dword [ebp - 0x98], 0
jmp 0x10041dd9
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0xb
jae 0x10041df2
mov eax, dword [ebp - 0x98]
mov byte [ebp + eax - 0xdc], 0
jmp 0x10041dcc
mov byte [ebp - 0x80], 4
mov byte [ebp - 0x7f], 0x79
mov byte [ebp - 0x7e], 1
mov byte [ebp - 0x7d], 2
mov byte [ebp - 0x7c], 6
mov byte [ebp - 0x7b], 0xf
mov byte [ebp - 0x7a], 0
mov byte [ebp - 0x79], 8
mov byte [ebp - 0x78], 3
mov byte [ebp - 0x77], 3
mov byte [ebp - 0x76], 7
mov byte [ebp - 0x75], 4
mov byte [ebp - 0x74], 9
mov byte [ebp - 0x73], 6
mov byte [ebp - 0x72], 8
mov byte [ebp - 0x71], 0
mov byte [ebp - 0x70], 2
mov byte [ebp - 0x6f], 7
mov byte [ebp - 0x6e], 5
mov byte [ebp - 0x6d], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x80]
or eax, 0x4d
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x80]
and ecx, 0x4d
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x80]
mov byte [ebp + ecx - 0xe8], al
mov dword [ebp - 0x30], 2
and dword [ebp - 0xb8], 0
jmp 0x10041e8a
mov eax, dword [ebp - 0x30]
inc eax
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x14
jae 0x10041ee9
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x7f]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0xb8]
movzx ecx, byte [ebp + ecx - 0x82]
movsx ecx, byte [ebp + ecx - 0xe8]
or eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x7f]
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0xb8]
movzx edx, byte [ebp + edx - 0x82]
movsx edx, byte [ebp + edx - 0xe8]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x80]
mov byte [ebp + ecx - 0xe8], al
jmp 0x10041e82
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xe8], 0
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x228]
call fcn.1003bb3b
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x128], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x128]
call fcn.1003d615
pop ecx
mov dword [ebp - 0xf4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.1003bb5e
and dword [ebp - 0xa0], 0
jmp 0x10041f5d
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xb
jae 0x10041f76
mov eax, dword [ebp - 0xa0]
mov byte [ebp + eax - 0xe8], 0
jmp 0x10041f50
push dword [ebp - 0xf4]
push dword [ebp - 0x144]
call fcn.1003ea80
pop ecx
pop ecx
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0x34]
push eax
push 1
lea eax, [ebp - 0xd0]
push eax
push 1
push 0xaf4
push 0x5421
call fcn.1003eec1
add esp, 0x18
push 0xf
push 5
call fcn.1003ea80
pop ecx
pop ecx
add eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
jbe 0x10041ffc
lea eax, [ebp - 0x10]
push eax
push 0x7d24
push 0x7793
push 0x32c5
push 0x7d38
push 1
push 1
lea eax, [ebp - 0x6c]
push eax
call fcn.1003efa4
add esp, 0x20
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x44], eax
push 0x3196
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x66c4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x2d07
push 0
push 0x5a9b
lea eax, [ebp - 0x20]
push eax
push 1
push 0x64e2
lea eax, [ebp - 0x10]
push eax
call fcn.1003f7aa
add esp, 0x34
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], eax
push 0x57f0
lea eax, [ebp - 0x44]
push eax
push 0x13a8
push 1
push 0x33a5
push 0x5d6e
push 0x4ef7
push 1
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100410d0
add esp, 0x28
and dword [ebp - 0xa8], 0
jmp 0x100420a4
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x44]
jge 0x100420ed
lea eax, [ebp - 0x18]
push eax
push 0x280
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push 0x3791
push 1
push 0x2984
push 0x6b37
call fcn.100411c2
add esp, 0x24
lea eax, [ebp - 0x18]
push eax
push 1
push 1
call fcn.100414ed
add esp, 0xc
jmp 0x10042097
mov eax, dword [ebp - 0x44]
shl eax, 2
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], ecx
lea eax, [ebp - 0x6c]
push eax
push 0x12f1
push 0x49db
lea eax, [ebp - 0x10]
push eax
push 1
push 0x6d23
push 1
push 0x23a3
call fcn.1003f1ac
add esp, 0x20
push 0x48f8
push 0x35ad
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push 0x4b00
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x44]
push eax
push 1
call fcn.1003f284
add esp, 0x2c
push 0x18e5
push 1
push 0x55b7
push 0x4932
push 1
lea eax, [ebp - 0x18]
push eax
push 0x40e2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x181f
call fcn.10041746
add esp, 0x28
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x198]
call fcn.1003bb3b
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x198]
call fcn.1002218c
mov dword [ebp - 0xc4], eax
push dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc4]
shr eax, 1
push eax
call fcn.1003ea80
pop ecx
pop ecx
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x40], 3
mov byte [ebp - 0x3f], 0xed
mov byte [ebp - 0x3e], 1
mov byte [ebp - 0x3d], 8
mov byte [ebp - 0x3c], 2
mov byte [ebp - 0x3b], 8
mov byte [ebp - 0x3a], 0
mov byte [ebp - 0x39], 0x42
mov byte [ebp - 0x38], 3
mov byte [ebp - 0x37], 0x83
mov byte [ebp - 0x36], 0x35
mov byte [ebp - 0x35], 0x9e
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x40]
or eax, 0x81
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x40]
and ecx, 0x81
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x40]
mov byte [ebp + ecx - 0x88], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x94], 0
jmp 0x1004224e
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xc
jae 0x10042316
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x40]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1004228f
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x40]
inc eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x40]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x10042246
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x3f]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x94]
movzx ecx, byte [ebp + ecx - 0x42]
movsx ecx, byte [ebp + ecx - 0x88]
or eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x3f]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x94]
movzx edx, byte [ebp + edx - 0x42]
movsx edx, byte [ebp + edx - 0x88]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x40]
mov byte [ebp + ecx - 0x88], al
push 1
push 0x1e6d
lea eax, [ebp - 0x94]
push eax
push 1
push 0x5de0
push 0x292a
push 0x9e8
push 0x4e90
push 0x69e
call fcn.1004187c
add esp, 0x24
jmp 0x10042246
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x88], 0
cmp dword [ebp - 0x68], 4
jle 0x100423de
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x210]
call fcn.1003bb3b
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x68]
sub eax, 4
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.1003ecb7
pop ecx
pop ecx
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x14]
or eax, 2
mov dword [ebp - 0x14], eax
push dword [ebp - 0x104]
mov edx, dword [ebp - 0x14c]
lea ecx, [ebp - 0x1c8]
call fcn.10042f15
pop ecx
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x130], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x14]
or eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xb0], eax
jmp 0x1004240a
push dword [ebp - 0x68]
lea eax, [ebp - 0x1b0]
push eax
call fcn.1003ecb7
pop ecx
pop ecx
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x14]
or eax, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x138], eax
push dword [ebp - 0x138]
lea ecx, [ebp - 0x180]
call fcn.10042aa9
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x14]
and eax, 8
je 0x10042445
and dword [ebp - 0x14], 0xfffffff7
lea ecx, [ebp - 0x1b0]
call fcn.1003bb5e
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
and eax, 4
je 0x10042460
and dword [ebp - 0x14], 0xfffffffb
lea ecx, [ebp - 0x1c8]
call fcn.1003bb5e
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
and eax, 2
je 0x1004247b
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x1e0]
call fcn.1003bb5e
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
and eax, 1
je 0x10042496
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0x210]
call fcn.1003bb5e
and dword [ebp - 0x8c], 0
jmp 0x100424ac
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 5
jae 0x100424c5
mov eax, dword [ebp - 0x8c]
mov byte [ebp + eax - 0x88], 0
jmp 0x1004249f
push 1
push 0x7093
push 0x7f2a
push 0x56b0
push 0
push 0x684a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x5372
push 0x22f2
call fcn.100409b0
add esp, 0x28
push 0x1b4d
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x180]
push eax
push 1
push 0x70fc
push 0x74d7
push 0xb5e
lea eax, [ebp - 0x10]
push eax
push 0x7091
push 1
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.1003f418
add esp, 0x34
push 0x266a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x68]
push eax
push 1
push 0x33c5
push 0x5ea9
push 0x4c37
push 1
push 0x19ec
call fcn.1003f6a0
add esp, 0x24
push 1
push 0x4988
push 1
push 0x5ac8
push 0x5f13
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x3da7
push 0x4dfa
push 0x37b
lea eax, [ebp - 0x28]
push eax
push 0x6711
push 0x1c24
call fcn.100405a5
add esp, 0x34
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
jbe 0x10042607
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x100425db
mov dword [ebp - 0xbc], 0xc
jmp 0x100425f9
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
jmp 0x1004260e
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
and dword [ebp - 0x90], 0
jmp 0x10042630
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x90]
cmp ecx, dword [eax + 0x18]
jae 0x10042766
push dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc8]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.1003ea80
pop ecx
pop ecx
mov dword [ebp - 0xa4], eax
push dword [ebp - 0xa4]
lea eax, [ebp - 0x168]
push eax
call fcn.1003ecb7
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x2657
push 1
lea eax, [ebp - 0x90]
push eax
push 0xca
push 0x1054
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100409b0
add esp, 0x28
push 0
push dword [ebp - 0xa4]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x168]
call fcn.10042b0f
push 1
push 1
push 0x3193
lea eax, [ebp - 0xa4]
push eax
push 0x42da
lea eax, [ebp - 0x18]
push eax
push 0x8e
call fcn.10040ac4
add esp, 0x1c
lea eax, [ebp - 0x28]
push eax
push 0x6c0a
push 0x2f0a
push 1
push 0x4824
lea eax, [ebp - 0x20]
push eax
push 0x2976
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.10041941
add esp, 0x24
push 0x1597
push 0x1187
push 0x409d
push 0x5d99
push 1
push 1
push 0x6a32
lea eax, [ebp - 0x18]
push eax
push 0x4380
push 0xe4d
push 0x5028
call fcn.10040b9f
add esp, 0x2c
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x168]
call fcn.1003bb5e
jmp 0x10042623
and dword [ebp - 0x4c], 0
jmp 0x10042773
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x4c], eax
jae 0x100427c1
push 0x1188
push 0x3e8d
push 1
push 0x753c
push 0x42f
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0x4c]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x1f63
call fcn.10040ded
add esp, 0x30
jmp 0x1004276c
push 0x7b0c
push 0x52d5
push 1
lea eax, [ebp - 0x4c]
push eax
push 0x2b1e
push 0x62bf
push 1
push 0x4c13
push 1
push 0x177a
push 0x7b9d
lea eax, [ebp - 0x2c]
push eax
call fcn.10040ded
add esp, 0x30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x180]
call fcn.1003bb5e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.1003bb5e
jmp 0x10042888
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x148]
push dword [eax]
mov eax, dword [ebp - 0x12c]
push dword [eax]
call fcn.1003ea80
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.1003ecb7
pop ecx
pop ecx
mov dword [ebp - 0x150], eax
push dword [ebp - 0x150]
mov ecx, dword [ebp - 0x134]
call fcn.10042acc
lea ecx, [ebp - 0x240]
call fcn.1003bb5e
jmp 0x100428cb
jmp 0x100428cb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xf8], eax
push 0x7903
push 0
push 0x53ba
push 0x4ae
push dword [ebp - 0xf0]
push 0x4231
push 0x3321
push dword [ebp - 0xf8]
call fcn.1003f3e0
add esp, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret