Function at 0x1004b72f
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006bdd4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x240
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x18], 0
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004c679
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x120], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
movzx eax, byte [eax]
test eax, eax
je 0x1004c616
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1004b7c0
jmp 0x1004c6f5
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
je 0x1004b7df
jmp 0x1004c6f5
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
jne 0x1004b7fd
jmp 0x1004c6f5
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0xd4], eax
push 0x2eb6
lea eax, [ebp - 0x30]
push eax
push 0x3334
push 0
push 0xaff
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xd4]
push eax
push 0x735f
push 0x7ba7
lea eax, [ebp - 0x24]
push eax
push 0x1995
push 1
push 0x7ef5
push 0x3c6f
push 1
push 0x16e
push 0x7bb9
call fcn.10047690
add esp, 0x44
cmp dword [ebp - 0x24], 0
jne 0x1004b873
jmp 0x1004c6f5
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
add ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
call fcn.10045c08
push eax
call fcn.10054208
pop ecx
mov byte [ebp - 0x68], 6
mov byte [ebp - 0x67], 0x2c
mov byte [ebp - 0x66], 7
mov byte [ebp - 0x65], 7
mov byte [ebp - 0x64], 3
mov byte [ebp - 0x63], 1
mov byte [ebp - 0x62], 5
mov byte [ebp - 0x61], 6
mov byte [ebp - 0x60], 2
mov byte [ebp - 0x5f], 6
mov byte [ebp - 0x5e], 9
mov byte [ebp - 0x5d], 7
mov byte [ebp - 0x5c], 1
mov byte [ebp - 0x5b], 5
mov byte [ebp - 0x5a], 4
mov byte [ebp - 0x59], 0xd
mov byte [ebp - 0x58], 0
mov byte [ebp - 0x57], 9
mov byte [ebp - 0x56], 8
mov byte [ebp - 0x55], 1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x68]
and eax, 0x1d
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x68]
or ecx, 0x1d
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x68]
mov byte [ebp + eax - 0xf8], cl
mov dword [ebp - 0x34], 2
and dword [ebp - 0xb8], 0
jmp 0x1004b927
mov eax, dword [ebp - 0x34]
inc eax
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x14
jae 0x1004b9a5
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0xb8]
movzx eax, byte [ebp + eax - 0x6a]
movsx eax, byte [ebp + eax - 0xf8]
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ebp + ecx - 0x67]
and ecx, eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0xb8]
movzx eax, byte [ebp + eax - 0x6a]
movsx eax, byte [ebp + eax - 0xf8]
mov edx, dword [ebp - 0x34]
movzx edx, byte [ebp + edx - 0x67]
and edx, eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0xb8]
movzx eax, byte [ebp + eax - 0x6a]
movsx eax, byte [ebp + eax - 0xf8]
mov esi, dword [ebp - 0x34]
movzx ebx, byte [ebp + esi - 0x67]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x34]
movzx eax, byte [ebp + eax - 0x68]
mov byte [ebp + eax - 0xf8], bl
jmp 0x1004b91f
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xf8], 0
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x208]
call fcn.1002b9bc
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x13c], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x13c]
call fcn.10045bcd
pop ecx
mov dword [ebp - 0x178], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x208]
call fcn.1001313b
and dword [ebp - 0xa0], 0
jmp 0x1004ba16
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xb
jae 0x1004ba2f
mov eax, dword [ebp - 0xa0]
mov byte [ebp + eax - 0xf8], 0
jmp 0x1004ba09
mov byte [ebp - 0x84], 8
mov byte [ebp - 0x83], 0x68
mov byte [ebp - 0x82], 0
mov byte [ebp - 0x81], 1
mov byte [ebp - 0x80], 2
mov byte [ebp - 0x7f], 6
mov byte [ebp - 0x7e], 1
mov byte [ebp - 0x7d], 1
mov byte [ebp - 0x7c], 5
mov byte [ebp - 0x7b], 7
mov byte [ebp - 0x7a], 3
mov byte [ebp - 0x79], 3
mov byte [ebp - 0x78], 9
mov byte [ebp - 0x77], 2
mov byte [ebp - 0x76], 7
mov byte [ebp - 0x75], 6
mov byte [ebp - 0x74], 6
mov byte [ebp - 0x73], 0xf
mov byte [ebp - 0x72], 4
mov byte [ebp - 0x71], 0x65
mov byte [ebp - 0x70], 0xe5
mov byte [ebp - 0x6f], 0xab
mov byte [ebp - 0x6e], 0xb
mov byte [ebp - 0x6d], 4
mov byte [ebp - 0x6c], 0xd
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x84]
and eax, 0x58
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x84]
or ecx, 0x58
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x84]
mov byte [ebp + eax - 0x104], cl
mov dword [ebp - 0x20], 2
and dword [ebp - 0xac], 0
jmp 0x1004baf0
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x19
jae 0x1004bbc1
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x84]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x1004bb3a
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x84]
inc eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x84]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x1004bae8
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0xac]
movzx eax, byte [ebp + eax - 0x86]
movsx eax, byte [ebp + eax - 0x104]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x83]
and ecx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0xac]
movzx eax, byte [ebp + eax - 0x86]
movsx eax, byte [ebp + eax - 0x104]
mov edx, dword [ebp - 0x20]
movzx edx, byte [ebp + edx - 0x83]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x84]
mov byte [ebp + eax - 0x104], dl
push 0x6e6a
lea eax, [ebp - 0xac]
push eax
push 0x5e7e
push 0
push 0x627c
push 1
call fcn.1004a614
add esp, 0x18
jmp 0x1004bae8
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x104], 0
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x250]
call fcn.1002b9bc
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x14c]
call fcn.10045bcd
pop ecx
mov dword [ebp - 0x174], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.1001313b
and dword [ebp - 0xb4], 0
jmp 0x1004bc35
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0xb
jae 0x1004bc4e
mov eax, dword [ebp - 0xb4]
mov byte [ebp + eax - 0x104], 0
jmp 0x1004bc28
push dword [ebp - 0x174]
push dword [ebp - 0x178]
call fcn.10046722
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
push 0x4307
lea eax, [ebp - 0x44]
push eax
push 0
push 1
lea eax, [ebp - 0xcc]
push eax
push 0x1eee
call fcn.1004b4f1
add esp, 0x18
lea eax, [ebp - 0xcc]
push eax
push 1
push 0x184c
push 0x7e8b
push 1
lea eax, [ebp - 0x14]
push eax
call fcn.10047097
add esp, 0x18
and dword [ebp - 0x50], 0
push 0x1733
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x50]
push eax
push 1
call fcn.10049cb0
add esp, 0x14
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
push 0x4b4a
lea eax, [ebp - 0x48]
push eax
push 1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0x54cb
push 0x6dc3
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
push 0x109b
push 0x1134
push 0x5223
push 0x1eed
call fcn.1004a243
add esp, 0x40
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
push 1
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x55f1
lea eax, [ebp - 0x48]
push eax
push 1
push 0x45e1
push 0x64c0
push 0x3652
push 0x38ef
call fcn.1004a7bc
add esp, 0x28
push 0
push 0x58
push 0x65f2
lea eax, [ebp - 0x48]
push eax
push 1
push 0x303c
push 0x225b
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x6d48
call fcn.1004aa9a
add esp, 0x30
lea eax, [ebp - 0x48]
push eax
push 1
push 0
push 0x2925
push 0x46a7
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xc3c
push 1
push 0x4ea2
push 0x1665
call fcn.1004b5d2
add esp, 0x2c
push 0x28c1
push 0x3e07
push 1
push 0x1d86
push 0x3986
push 0x4df6
push 1
push 0x5cce
push 0x1653
push 0x6fd0
push 0x18f0
push 0
lea eax, [ebp - 0x50]
push eax
push 0x15fc
lea eax, [ebp - 0x14]
push eax
push 0x4d8c
call fcn.1004a243
add esp, 0x40
push 1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x602b
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x27b4
push 0x5f2
push 0xd5
lea eax, [ebp - 0x2c]
push eax
call fcn.1004aa9a
add esp, 0x30
mov eax, dword [ebp - 0x48]
shl eax, 1
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], ecx
mov dword [ebp - 0xec], 0x7791
mov dword [ebp - 0x114], 0x10009128
cmp dword [ebp - 0xec], 0x7a16
jle 0x1004bf60
and dword [ebp - 0xa4], 0
jmp 0x1004be9b
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x7dbf
jge 0x1004bf60
and dword [ebp - 0xa8], 0
jmp 0x1004bec1
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x41aa
jge 0x1004bf5b
and dword [ebp - 0x98], 0
jmp 0x1004bee7
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x2bf0
jge 0x1004bf56
and dword [ebp - 0x9c], 0
jmp 0x1004bf09
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x43bd
jge 0x1004bf54
mov eax, dword [ebp - 0x98]
add eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa4]
and ecx, dword [ebp - 0xa8]
and eax, ecx
cdq
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], edx
push dword [ebp - 0x128]
push dword [ebp - 0x12c]
mov ecx, 0x106128d8
call fcn.10012ec5
jmp 0x1004befc
jmp 0x1004beda
jmp 0x1004beb4
jmp 0x1004be8e
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1c0]
call fcn.1002b9bc
mov dword [ebp - 4], 2
mov byte [ebp - 4], 3
cmp dword [ebp - 0xec], 0x775c
jge 0x1004bf9f
mov edx, dword [ebp - 0x114]
mov ecx, 0x106128d8
call fcn.10015cdf
jmp 0x1004bfbb
mov dword [ebp - 4], 2
jmp 0x1004bfcb
lea ecx, [ebp - 0x1c0]
call fcn.100139e0
mov dword [ebp - 0xc4], eax
push dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc4]
shr eax, 1
push eax
call fcn.10046722
pop ecx
pop ecx
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x3f], 0xf3
mov byte [ebp - 0x3e], 3
mov byte [ebp - 0x3d], 0x13
mov byte [ebp - 0x3c], 0x5e
mov byte [ebp - 0x3b], 0xb
mov byte [ebp - 0x3a], 2
mov byte [ebp - 0x39], 0x42
mov byte [ebp - 0x38], 1
mov byte [ebp - 0x37], 8
mov byte [ebp - 0x36], 3
mov byte [ebp - 0x35], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x40]
and eax, 0xdd
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x40]
or ecx, 0xdd
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x40]
mov byte [ebp + eax - 0x8c], cl
mov dword [ebp - 0x28], 2
and dword [ebp - 0x90], 0
jmp 0x1004c072
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xc
jae 0x1004c110
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x40]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x28], eax
jne 0x1004c0b3
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x40]
inc eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x40]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x28], eax
jmp 0x1004c06a
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x90]
movzx eax, byte [ebp + eax - 0x42]
movsx eax, byte [ebp + eax - 0x8c]
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x3f]
and ecx, eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x90]
movzx eax, byte [ebp + eax - 0x42]
movsx eax, byte [ebp + eax - 0x8c]
mov edx, dword [ebp - 0x28]
movzx edx, byte [ebp + edx - 0x3f]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x40]
mov byte [ebp + eax - 0x8c], dl
and dword [ebp - 0x90], 0
jmp 0x1004c06a
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x8c], 0
cmp dword [ebp - 0x4c], 4
jle 0x1004c1d8
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x220]
call fcn.1002b9bc
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x4c]
sub eax, 4
push eax
lea eax, [ebp - 0x1f0]
push eax
call fcn.10046d8d
pop ecx
pop ecx
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], eax
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x18]
or eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x16c]
mov edx, dword [ebp - 0x124]
lea ecx, [ebp - 0x238]
call fcn.1004d1d5
pop ecx
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x130], eax
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x18]
or eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xe4], eax
jmp 0x1004c204
push dword [ebp - 0x4c]
lea eax, [ebp - 0x1d8]
push eax
call fcn.10046d8d
pop ecx
pop ecx
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x18]
or eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x138], eax
push dword [ebp - 0x138]
lea ecx, [ebp - 0x1a8]
call fcn.10012e78
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x1004c23f
and dword [ebp - 0x18], 0xfffffff7
lea ecx, [ebp - 0x1d8]
call fcn.1001313b
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x1004c25a
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x238]
call fcn.1001313b
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x18]
and eax, 2
je 0x1004c275
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x1f0]
call fcn.1001313b
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x1004c290
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x220]
call fcn.1001313b
and dword [ebp - 0xb0], 0
jmp 0x1004c2a6
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 5
jae 0x1004c2bf
mov eax, dword [ebp - 0xb0]
mov byte [ebp + eax - 0x8c], 0
jmp 0x1004c299
push 0x6dc6
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x188e
lea eax, [ebp - 0x14]
push eax
push 0x1428
push 1
call fcn.1004ae92
add esp, 0x1c
lea eax, [ebp - 0x14]
push eax
push 0x75c4
push 0x67b2
push 1
lea eax, [ebp - 0x4c]
push eax
push 0xed6
push 0x618f
push 0x38c0
lea eax, [ebp - 0x2c]
push eax
push 0x2c84
push 0x7b4d
push 1
push 0x6fc4
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x1a8]
push eax
push 0x3106
call fcn.10047690
add esp, 0x44
push 0x5f64
push 0x11c9
push 0x4679
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x1121
lea eax, [ebp - 0x4c]
push eax
push 0x4fe7
push 1
call fcn.100482cf
add esp, 0x28
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], 0
push 0x765a
push 0
push 0
push 0x5b71
lea eax, [ebp - 0x1c]
push eax
push 0x2d75
push 0x414e
push 0x50eb
push 1
push 0x1b7e
push 0x6801
call fcn.1004b5d2
add esp, 0x2c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x1004c403
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x1004c3d7
mov dword [ebp - 0xd0], 0xc
jmp 0x1004c3f5
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xe8], eax
jmp 0x1004c40a
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xd8], eax
and dword [ebp - 0x94], 0
jmp 0x1004c42c
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [eax + 0x18]
jae 0x1004c56e
push dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd8]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.10046722
pop ecx
pop ecx
mov dword [ebp - 0xbc], eax
push dword [ebp - 0xbc]
lea eax, [ebp - 0x190]
push eax
call fcn.10046d8d
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
push 0x5ff5
push 0x7474
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x56e5
lea eax, [ebp - 0x2c]
push eax
push 1
call fcn.1004b01d
add esp, 0x28
lea eax, [ebp - 0x190]
push eax
push 1
lea eax, [ebp - 0xbc]
push eax
push 0x44f9
push 0x2325
push 0x4aa4
push 0x7ee6
push 0x321c
push 0x1391
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x2658
push 1
push 1
lea eax, [ebp - 0x2c]
push eax
push 0x449b
push 0x42c8
push 0x3323
call fcn.1004b2a2
add esp, 0x48
lea eax, [ebp - 0x1c]
push eax
push 0x3457
push 1
push 1
push 0x3339
lea eax, [ebp - 0xbc]
push eax
call fcn.1004b4f1
add esp, 0x18
lea eax, [ebp - 0x2c]
push eax
push 0x2d31
push 1
lea eax, [ebp - 0x24]
push eax
push 0x7c21
push 0x203f
push 0x6040
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x7080
call fcn.10049b98
add esp, 0x28
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x190]
call fcn.1001313b
jmp 0x1004c41f
and dword [ebp - 0x54], 0
jmp 0x1004c57b
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x54], eax
jae 0x1004c5c2
push 1
push 0x3de1
push 0x70b8
lea eax, [ebp - 0x1c]
push eax
push 0x40b6
push 0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x7105
call fcn.1004a7bc
add esp, 0x28
jmp 0x1004c574
push 0x1696
push 1
push 1
lea eax, [ebp - 0x30]
push eax
push 0xa2
push 0x64e1
push 0xf5
push 0x408c
push 1
push 0x1350
lea eax, [ebp - 0x54]
push eax
call fcn.1004b5d2
add esp, 0x2c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1a8]
call fcn.1001313b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c0]
call fcn.1001313b
jmp 0x1004c677
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc0]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x14]
add ecx, dword [eax + 0x10]
push ecx
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
push dword [eax + 0x14]
call fcn.10046722
pop ecx
pop ecx
mov ecx, dword [ebp - 0x168]
mov dword [ecx], eax
jmp 0x1004c6f5
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x170], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x150]
movzx eax, byte [eax]
test eax, eax
je 0x1004c6cc
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xdc]
mov dword [ecx], eax
jmp 0x1004c6f5
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret