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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100742d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x298
and dword [ebp - 0x14], 0
movzx eax, byte [ebp + 0x38]
test eax, eax
je 0x10049470
lea eax, [ebp + 0x18]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x16c], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x180], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x1a0]
movzx eax, byte [eax]
test eax, eax
je 0x100493ec
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1004839f
jmp 0x10049600
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0x4550
je 0x100483be
jmp 0x10049600
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x38]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
jne 0x100483dc
jmp 0x10049600
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x38]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x38]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x58], eax
and dword [ebp - 0xd4], 0
jmp 0x10048410
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x58]
add eax, 0x28
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x38]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xd4], eax
jge 0x1004848e
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xec]
jb 0x10048489
mov eax, dword [ebp - 0x38]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x58]
push dword [eax + 8]
call fcn.10046780
pop ecx
pop ecx
add eax, dword [ebp - 0xec]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x188]
jae 0x10048489
push 1
push 0x832
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0x28bf
push 0x39b4
call fcn.1004756b
add esp, 0x1c
jmp 0x1004848e
jmp 0x100483fa
cmp dword [ebp - 0x20], 0
jne 0x10048499
jmp 0x10049600
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
call fcn.1004508d
push eax
call fcn.100595e2
pop ecx
mov byte [ebp - 0x7c], 5
mov byte [ebp - 0x7b], 0xf2
mov byte [ebp - 0x7a], 6
mov byte [ebp - 0x79], 0
mov byte [ebp - 0x78], 3
mov byte [ebp - 0x77], 6
mov byte [ebp - 0x76], 2
mov byte [ebp - 0x75], 0
mov byte [ebp - 0x74], 8
mov byte [ebp - 0x73], 7
mov byte [ebp - 0x72], 9
mov byte [ebp - 0x71], 0
mov byte [ebp - 0x70], 2
mov byte [ebp - 0x6f], 0xfe
mov byte [ebp - 0x6e], 0xe4
mov byte [ebp - 0x6d], 1
mov byte [ebp - 0x6c], 5
mov byte [ebp - 0x6b], 4
mov byte [ebp - 0x6a], 0xd
mov byte [ebp - 0x69], 0
mov byte [ebp - 0x68], 9
mov byte [ebp - 0x67], 7
mov byte [ebp - 0x66], 7
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x7c]
or eax, 0xc3
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x7c]
and ecx, 0xc3
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x7c]
mov byte [ebp + ecx - 0x118], al
mov dword [ebp - 0x2c], 2
and dword [ebp - 0xbc], 0
jmp 0x1004855e
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x17
jae 0x1004863a
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x7c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x1004859f
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x7c]
inc eax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x7c]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x10048556
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x7b]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0xbc]
movzx ecx, byte [ebp + ecx - 0x7e]
movsx ecx, byte [ebp + ecx - 0x118]
or eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x7b]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0xbc]
movzx edx, byte [ebp + edx - 0x7e]
movsx edx, byte [ebp + edx - 0x118]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x7c]
mov byte [ebp + ecx - 0x118], al
push 0x26a7
push 0x45a9
push 0x5d6
push 1
push 0x5c12
push 0xab9
push 0x4520
push 1
push 0x7267
push 0xbee
lea eax, [ebp - 0xbc]
push eax
push 0x195e
push 0x7dad
call fcn.10046f1d
add esp, 0x34
jmp 0x10048556
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x118], 0
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x25c]
call fcn.10026fad
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x198], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x198]
call fcn.10045052
pop ecx
mov dword [ebp - 0x134], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.10026fd0
and dword [ebp - 0xb8], 0
jmp 0x100486ab
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0xb
jae 0x100486c4
mov eax, dword [ebp - 0xb8]
mov byte [ebp + eax - 0x118], 0
jmp 0x1004869e
mov byte [ebp - 0x94], 2
mov byte [ebp - 0x93], 0xbc
mov byte [ebp - 0x92], 9
mov byte [ebp - 0x91], 7
mov byte [ebp - 0x90], 1
mov byte [ebp - 0x8f], 6
mov byte [ebp - 0x8e], 2
mov byte [ebp - 0x8d], 0xd8
mov byte [ebp - 0x8c], 0xf5
mov byte [ebp - 0x8b], 5
mov byte [ebp - 0x8a], 7
mov byte [ebp - 0x89], 0
mov byte [ebp - 0x88], 0
mov byte [ebp - 0x87], 7
mov byte [ebp - 0x86], 7
mov byte [ebp - 0x85], 6
mov byte [ebp - 0x84], 0xf
mov byte [ebp - 0x83], 4
mov byte [ebp - 0x82], 0xd
mov byte [ebp - 0x81], 3
mov byte [ebp - 0x80], 6
mov byte [ebp - 0x7f], 8
mov byte [ebp - 0x7e], 2
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x94]
or eax, 0x8b
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x94]
and ecx, 0x8b
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x94]
mov byte [ebp + ecx - 0x124], al
mov dword [ebp - 0x24], 2
and dword [ebp - 0xc0], 0
jmp 0x100487b2
mov eax, dword [ebp - 0x24]
inc eax
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x17
jae 0x1004889c
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x94]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x24], eax
jne 0x100487fc
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x94]
inc eax
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x94]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x24], eax
jmp 0x100487aa
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x93]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0xc0]
movzx ecx, byte [ebp + ecx - 0x96]
movsx ecx, byte [ebp + ecx - 0x124]
or eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x93]
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0xc0]
movzx edx, byte [ebp + edx - 0x96]
movsx edx, byte [ebp + edx - 0x124]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x94]
mov byte [ebp + ecx - 0x124], al
push 0
push 0x1104
push 0x280
push 0
push 0x7d5a
push 0x2191
push 0x4fba
push 0x2a7c
push 0x7cb2
push 0x2044
lea eax, [ebp - 0xc0]
push eax
call fcn.10046c83
add esp, 0x2c
jmp 0x100487aa
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x124], 0
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x22c]
call fcn.10026fad
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x1a8]
call fcn.10045052
pop ecx
mov dword [ebp - 0x1b0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10026fd0
and dword [ebp - 0xb4], 0
jmp 0x10048910
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0xb
jae 0x10048929
mov eax, dword [ebp - 0xb4]
mov byte [ebp + eax - 0x124], 0
jmp 0x10048903
push dword [ebp - 0x1b0]
push dword [ebp - 0x134]
call fcn.100462d8
pop ecx
pop ecx
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 8], ecx
push 0xf
push 5
call fcn.100462d8
pop ecx
pop ecx
add eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], eax
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
jbe 0x10048984
mov eax, dword [ebp - 0x18]
push dword [eax + 0x18]
push 0
call fcn.100462d8
pop ecx
pop ecx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], eax
and dword [ebp - 0xa8], 0
jmp 0x100489af
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x50]
jge 0x10048bef
push 1
push 0
push 0x55a5
push 0x3a60
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x194]
push eax
push 0x2227
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 1
push 0x25f
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0x25a5
call fcn.1004830c
add esp, 0x38
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x194]
mov dword [ecx + eax], edx
lea eax, [ebp - 0x10]
push eax
push 0x29a1
push 1
push 0xcd4
push 1
push 1
call fcn.10047167
add esp, 0x18
mov dword [ebp - 0x13c], 0x1754
cmp dword [ebp - 0x13c], 0xdfa
jge 0x10048bea
push 0x109ec524
push 0x1000e1fc
call fcn.10058aab
pop ecx
pop ecx
and dword [ebp - 0x54], 0
jmp 0x10048a69
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
cmp eax, dword [0x109ec524]
jge 0x10048aa7
mov eax, dword [ebp - 0x54]
lea eax, [eax*4 + 0x109ec528]
push eax
push 0x1000e1fc
call fcn.10058aab
pop ecx
pop ecx
mov eax, dword [ebp - 0x54]
add eax, dword [0x109ec524]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx*4 + 0x109ec528]
mov dword [eax*4 + 0x109ec528], ecx
jmp 0x10048a62
push 0x109ec520
push 0x109ec51c
push 0x1000e9e8
call fcn.10058aab
add esp, 0xc
mov eax, dword [0x109ec51c]
dec eax
mov dword [0x109ec51c], eax
mov eax, dword [0x109ec520]
dec eax
mov dword [0x109ec520], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov eax, dword [eax + 0x109ec528]
mov dword [ecx + 0x1061bc18], eax
mov dword [ebp - 0x4c], 1
jmp 0x10048afc
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [0x109ec524]
shl eax, 1
cmp dword [ebp - 0x4c], eax
jge 0x10048b28
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax*4 + 0x109ec528]
mov ecx, dword [ebp - 0x4c]
add eax, dword [ecx*4 + 0x1061bc14]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx*4 + 0x1061bc18], eax
jmp 0x10048af5
and dword [ebp - 0xe0], 0
mov eax, dword [0x109ec51c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xb0], 1
jmp 0x10048b50
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
cmp eax, dword [0x109ec524]
jg 0x10048bd8
mov eax, dword [0x109ec520]
sub eax, dword [0x109ec51c]
mov ecx, dword [ebp - 0x34]
lea eax, [ecx + eax - 1]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax*4 + 0x1061bc18]
sub eax, dword [ecx*4 + 0x1061bc14]
cmp dword [ebp - 0xe0], eax
jge 0x10048bbe
mov eax, dword [0x109ec520]
sub eax, dword [0x109ec51c]
mov ecx, dword [ebp - 0x34]
lea eax, [ecx + eax - 1]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax*4 + 0x1061bc18]
sub eax, dword [ecx*4 + 0x1061bc14]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
jns 0x10048bd3
mov eax, dword [ebp - 0x34]
add eax, dword [0x109ec524]
mov dword [ebp - 0x34], eax
jmp 0x10048b43
push dword [ebp - 0x1b4]
push 0x1000f0fc
call fcn.10058cdf
pop ecx
pop ecx
jmp 0x100489a2
push 0x223f
push 0x4399
lea eax, [ebp - 0x18]
push eax
push 0x652c
push 0xbef
lea eax, [ebp - 0x60]
push eax
push 1
push 0xc79
push 1
call fcn.10046a2c
add esp, 0x24
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], eax
and dword [ebp - 0xc8], 0
jmp 0x10048c3e
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0x50]
jge 0x10048c61
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
and dword [ecx + eax], 0
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
jmp 0x10048c31
push 0
push 0x23a3
lea eax, [ebp - 0x18]
push eax
push 1
push 0x24a1
push 0xb84
push 0x7ab6
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6683
push 0x458f
call fcn.10046c83
add esp, 0x2c
push 0x5981
push 0x7937
push 0x2baa
lea eax, [ebp - 0x18]
push eax
push 0x6907
push 0
push 0x7b25
push 0xd95
lea eax, [ebp - 0x60]
push eax
push 1
push 0x7d69
push 0
call fcn.10048051
add esp, 0x30
push 0x1056
push 0x74db
lea eax, [ebp - 0x50]
push eax
push 0x179
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x9f2
push 1
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.10048051
add esp, 0x30
push 0x18e2
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1e82
push 0x203
push 0x11de
push 0x55d0
push 0x3629
push 0
lea eax, [ebp - 0x18]
push eax
push 1
push 0x804
call fcn.10046b7b
add esp, 0x30
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x214]
call fcn.10026fad
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x214]
call fcn.1002701c
mov dword [ebp - 0x100], eax
push dword [ebp - 0x100]
mov eax, dword [ebp - 0x100]
shr eax, 1
push eax
call fcn.100462d8
pop ecx
pop ecx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x48], 1
mov byte [ebp - 0x47], 0xcd
mov byte [ebp - 0x46], 0
mov byte [ebp - 0x45], 0x4a
mov byte [ebp - 0x44], 4
mov byte [ebp - 0x43], 0x97
mov byte [ebp - 0x42], 0xec
mov byte [ebp - 0x41], 0xd2
mov byte [ebp - 0x40], 0xda
mov byte [ebp - 0x3f], 3
mov byte [ebp - 0x3e], 0x42
mov byte [ebp - 0x3d], 2
mov byte [ebp - 0x3c], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x48]
or eax, 0xa9
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x48]
and ecx, 0xa9
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x48]
mov byte [ebp + ecx - 0x9c], al
mov dword [ebp - 0x28], 2
and dword [ebp - 0xac], 0
jmp 0x10048e0b
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xd
jae 0x10048edf
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x48]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x28], eax
jne 0x10048e4c
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x48]
inc eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x48]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x28], eax
jmp 0x10048e03
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x47]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0xac]
movzx ecx, byte [ebp + ecx - 0x4a]
movsx ecx, byte [ebp + ecx - 0x9c]
or eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x47]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0xac]
movzx edx, byte [ebp + edx - 0x4a]
movsx edx, byte [ebp + edx - 0x9c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x48]
mov byte [ebp + ecx - 0x9c], al
lea eax, [ebp - 0xac]
push eax
push 0x7416
push 0x51c1
push 0x4449
push 0x6362
push 1
push 0x609b
push 0x1bae
push 0x626f
push 0
push 0x7edb
push 1
call fcn.10048051
add esp, 0x30
jmp 0x10048e03
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x9c], 0
cmp dword [ebp - 0x5c], 4
jle 0x10048fa7
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.10026fad
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x5c]
sub eax, 4
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.100465a8
pop ecx
pop ecx
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x14]
or eax, 2
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14c]
mov edx, dword [ebp - 0x1bc]
lea ecx, [ebp - 0x244]
call fcn.10049c76
pop ecx
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x14]
or eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0xe8], eax
jmp 0x10048fd3
push dword [ebp - 0x5c]
lea eax, [ebp - 0x28c]
push eax
call fcn.100465a8
pop ecx
pop ecx
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x14]
or eax, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x1c4], eax
push dword [ebp - 0x1c4]
lea ecx, [ebp - 0x1fc]
call fcn.1004980a
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x14]
and eax, 8
je 0x1004900e
and dword [ebp - 0x14], 0xfffffff7
lea ecx, [ebp - 0x28c]
call fcn.10026fd0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
and eax, 4
je 0x10049029
and dword [ebp - 0x14], 0xfffffffb
lea ecx, [ebp - 0x244]
call fcn.10026fd0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
and eax, 2
je 0x10049044
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x274]
call fcn.10026fd0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
and eax, 1
je 0x1004905f
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0x2a4]
call fcn.10026fd0
and dword [ebp - 0xa0], 0
jmp 0x10049075
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 5
jae 0x1004908e
mov eax, dword [ebp - 0xa0]
mov byte [ebp + eax - 0x9c], 0
jmp 0x10049068
push 1
lea eax, [ebp - 0x18]
push eax
push 0x416a
push 0x4f60
push 0x78e2
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.10047cad
add esp, 0x1c
push 0x3947
lea eax, [ebp - 0x20]
push eax
push 0x6c3d
push 1
push 0x24c0
push 0x9f3
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x6054
push 0x7d7b
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1fc]
push eax
call fcn.10046f1d
add esp, 0x34
push 0x2a56
push 1
push 1
push 0x6e6d
lea eax, [ebp - 0x10]
push eax
push 0x43cc
lea eax, [ebp - 0x5c]
push eax
push 0x293b
call fcn.10047e6a
add esp, 0x20
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + eax], 0
push 0x3870
lea eax, [ebp - 0x10]
push eax
push 0x93d
push 0x79da
push 0x58e6
push 1
push 0x1218
push 0x3411
push 0x109d
push 1
push 0x779
push 1
call fcn.10048051
add esp, 0x30
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
jbe 0x100491bf
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x18]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x10049193
mov dword [ebp - 0x104], 0xc
jmp 0x100491b1
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x18]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xf0], eax
jmp 0x100491c6
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x108], eax
and dword [ebp - 0xa4], 0
jmp 0x100491e8
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [eax + 0x18]
jae 0x10049350
push dword [ebp - 0x108]
mov eax, dword [ebp - 0x108]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.100462d8
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
push dword [ebp - 0xcc]
lea eax, [ebp - 0x1e4]
push eax
call fcn.100465a8
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x20]
push eax
push 0
push 0x29ab
push 0x669a
push 0x6e4e
push 0x2751
lea eax, [ebp - 0x18]
push eax
push 0x3b41
push 0
push 0x6788
lea eax, [ebp - 0x1c]
push eax
push 0x45f6
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100472df
add esp, 0x38
push 0
push dword [ebp - 0xcc]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.10049870
push 0x611
push 0
push 0x72c9
lea eax, [ebp - 0x10]
push eax
push 0x75ba
push 0x4099
push 0x7eca
push 0x6a43
push 1
push 0x2279
push 0x5db6
lea eax, [ebp - 0xcc]
push eax
push 0x2b30
push 0x5e7a
call fcn.100472df
add esp, 0x38
push 0x1191
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x6189
push 0x5b7e
lea eax, [ebp - 0x20]
push eax
push 0
push 0x6784
call fcn.10047f22
add esp, 0x24
push 0x62e5
push 1
lea eax, [ebp - 0x10]
push eax
push 1
push 0x73aa
push 0x6500
push 0x35bf
push 0x50e4
push 0x76a7
push 0x47d2
call fcn.100481ca
add esp, 0x28
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1e4]
call fcn.10026fd0
jmp 0x100491db
and dword [ebp - 0x64], 0
jmp 0x1004935d
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x64], eax
jae 0x100493a9
lea eax, [ebp - 0x10]
push eax
push 1
push 0x2e4b
push 1
lea eax, [ebp - 0x20]
push eax
push 0x2a27
push 0xdfd
push 0x21b2
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x212e
call fcn.10046de9
add esp, 0x2c
jmp 0x10049356
push 1
push 0x4a16
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x4ace
push 0x4625
push 0
call fcn.10047cad
add esp, 0x1c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1fc]
call fcn.10026fd0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
call fcn.10026fd0
jmp 0x1004946b
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xdc]
and eax, dword [ecx]
je 0x1004944a
mov eax, dword [ebp - 0xc4]
push dword [eax]
mov eax, dword [ebp - 0xdc]
push dword [eax]
call fcn.10046746
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc4]
add eax, dword [ecx]
mov dword [ebp - 0xf8], eax
jmp 0x10049458
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [ebp - 0xf8]
mov dword [eax], ecx
jmp 0x10049600
jmp 0x10049600
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x174]
movzx eax, byte [eax]
test eax, eax
je 0x100495df
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xd8]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0xfc]
cmp dword [ecx], eax
jae 0x100495ac
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x160]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0xe4]
mov eax, dword [ecx + eax]
mov dword [edx], eax
jmp 0x100495dd
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xd0]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
add eax, dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax]
push dword [eax + 0x14]
call fcn.100462d8
pop ecx
pop ecx
mov ecx, dword [ebp - 0xe4]
mov dword [ecx], eax
jmp 0x10049600
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
and dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret