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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100657cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2dc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
cmp dword [ebp + 0x10], 0
jbe 0x1004a403
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1004a403
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10049c4e
pop ecx
pop ecx
jmp 0x1004b7a0
mov dword [ebp - 0x1b0], 0x5c95
mov dword [ebp - 0x1ec], 0x1000baa0
cmp dword [ebp - 0x1b0], 0x5e00
jle 0x1004a4c8
and dword [ebp - 0x50], 0
jmp 0x1004a434
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x3928
jge 0x1004a4c8
and dword [ebp - 0x58], 0
jmp 0x1004a44e
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x1f04
jge 0x1004a4c3
and dword [ebp - 0x74], 0
jmp 0x1004a464
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x387
jge 0x1004a4c1
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x58]
and eax, dword [ebp - 0x74]
cdq
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1f0], edx
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
lea ecx, [ebp - 0x2d4]
call fcn.1000d25a
pop ecx
pop ecx
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1f8]
call fcn.1001a84e
push eax
call fcn.1004f3d6
pop ecx
lea ecx, [ebp - 0x2d4]
call fcn.1001a844
jmp 0x1004a45d
jmp 0x1004a447
jmp 0x1004a42d
and dword [ebp - 4], 0
cmp dword [ebp - 0x1b0], 0x5b23
jge 0x1004a4e4
push dword [ebp - 0x1ec]
call fcn.1004f3d6
pop ecx
jmp 0x1004a500
or dword [ebp - 4], 0xffffffff
jmp 0x1004a50a
cmp dword [ebp + 0x10], 0
jne 0x1004ae42
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.100468a7
mov dword [ebp - 0x7c], eax
cmp dword [0x1060ef80], 0
jne 0x1004ae16
mov dword [ebp - 0x208], 0x348
lea eax, [ebp - 0x208]
push eax
call fcn.10049b0f
pop ecx
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 0x1a4], 0xb
mov byte [ebp - 0x1a3], 0xa5
mov byte [ebp - 0x1a2], 4
mov byte [ebp - 0x1a1], 0x1d
mov byte [ebp - 0x1a0], 0
mov byte [ebp - 0x19f], 0x22
mov byte [ebp - 0x19e], 6
mov byte [ebp - 0x19d], 0x34
mov byte [ebp - 0x19c], 9
mov byte [ebp - 0x19b], 0x1d
mov byte [ebp - 0x19a], 8
mov byte [ebp - 0x199], 1
mov byte [ebp - 0x198], 7
mov byte [ebp - 0x197], 6
mov byte [ebp - 0x196], 0xa
mov byte [ebp - 0x195], 0x2c
mov byte [ebp - 0x194], 3
mov byte [ebp - 0x193], 0x13
mov byte [ebp - 0x192], 1
mov byte [ebp - 0x191], 0x33
mov byte [ebp - 0x190], 2
mov byte [ebp - 0x18f], 0x11
mov byte [ebp - 0x18e], 5
mov byte [ebp - 0x18d], 6
mov byte [ebp - 0x18c], 0x63
mov byte [ebp - 0x18b], 0x3a
mov byte [ebp - 0x18a], 0x28
mov byte [ebp - 0x189], 0x93
mov byte [ebp - 0x188], 0xb9
mov byte [ebp - 0x187], 0xa8
mov byte [ebp - 0x186], 0x34
mov byte [ebp - 0x185], 0xd3
mov byte [ebp - 0x184], 0x85
mov byte [ebp - 0x183], 0x80
mov byte [ebp - 0x182], 0x55
mov byte [ebp - 0x181], 0x5a
mov byte [ebp - 0x180], 0xb
mov byte [ebp - 0x17f], 0x13
mov byte [ebp - 0x17e], 0x57
mov byte [ebp - 0x17d], 0xb7
mov byte [ebp - 0x17c], 3
mov byte [ebp - 0x17b], 0xc5
mov byte [ebp - 0x17a], 0x98
mov byte [ebp - 0x179], 0xfa
mov byte [ebp - 0x178], 0x8e
mov byte [ebp - 0x177], 0x81
mov byte [ebp - 0x176], 0x35
mov byte [ebp - 0x175], 0xeb
mov byte [ebp - 0x174], 0xa3
mov byte [ebp - 0x173], 0x37
mov byte [ebp - 0x172], 0x24
mov byte [ebp - 0x171], 0xa5
mov byte [ebp - 0x170], 0x51
mov byte [ebp - 0x16f], 0xe9
mov byte [ebp - 0x16e], 0x91
mov byte [ebp - 0x16d], 0xb5
mov byte [ebp - 0x16c], 0xe0
mov byte [ebp - 0x16b], 0x12
mov byte [ebp - 0x16a], 0xce
mov byte [ebp - 0x169], 0xb4
mov byte [ebp - 0x168], 0xb2
mov byte [ebp - 0x167], 0x59
mov byte [ebp - 0x166], 0xb4
mov byte [ebp - 0x165], 0x60
mov byte [ebp - 0x164], 0x6e
mov byte [ebp - 0x163], 0xea
mov byte [ebp - 0x162], 0x36
mov byte [ebp - 0x161], 0x3a
mov byte [ebp - 0x160], 0xc0
mov byte [ebp - 0x15f], 0xe9
mov byte [ebp - 0x15e], 0x97
mov byte [ebp - 0x15d], 0x32
mov byte [ebp - 0x15c], 0xe2
mov byte [ebp - 0x15b], 0xc6
mov byte [ebp - 0x15a], 0xf5
mov byte [ebp - 0x159], 0xd9
mov byte [ebp - 0x158], 0x1e
mov byte [ebp - 0x157], 0x7f
mov byte [ebp - 0x156], 0xa2
mov byte [ebp - 0x155], 0x31
mov byte [ebp - 0x154], 0xe7
mov byte [ebp - 0x153], 5
mov byte [ebp - 0x152], 0xf1
mov byte [ebp - 0x151], 0xf8
mov byte [ebp - 0x150], 0x7f
mov byte [ebp - 0x14f], 0x58
mov byte [ebp - 0x14e], 1
mov byte [ebp - 0x14d], 0x34
mov byte [ebp - 0x14c], 0x79
mov byte [ebp - 0x14b], 0x94
mov byte [ebp - 0x14a], 0xa6
mov byte [ebp - 0x149], 0x35
mov byte [ebp - 0x148], 0xb6
mov byte [ebp - 0x147], 0x6f
mov byte [ebp - 0x146], 0xf5
mov byte [ebp - 0x145], 0x50
mov byte [ebp - 0x144], 0xbb
mov byte [ebp - 0x143], 0x7d
mov byte [ebp - 0x142], 0x95
mov byte [ebp - 0x141], 0x37
mov byte [ebp - 0x140], 0x4c
mov byte [ebp - 0x13f], 0xaa
mov byte [ebp - 0x13e], 0x54
mov byte [ebp - 0x13d], 1
mov byte [ebp - 0x13c], 0xdc
mov byte [ebp - 0x13b], 0x3c
mov byte [ebp - 0x13a], 0x39
mov byte [ebp - 0x139], 0xcd
mov byte [ebp - 0x138], 0x2a
mov byte [ebp - 0x137], 0xdb
mov byte [ebp - 0x136], 0xf7
mov byte [ebp - 0x135], 0x36
mov byte [ebp - 0x134], 0x88
mov byte [ebp - 0x133], 0xe7
mov byte [ebp - 0x132], 0x89
mov byte [ebp - 0x131], 0x55
mov byte [ebp - 0x130], 0xd2
mov byte [ebp - 0x12f], 0x15
mov byte [ebp - 0x12e], 0xd4
mov byte [ebp - 0x12d], 0x24
mov byte [ebp - 0x12c], 0x68
mov byte [ebp - 0x12b], 0xa8
mov byte [ebp - 0x12a], 0x97
mov byte [ebp - 0x129], 0xfa
mov byte [ebp - 0x128], 0xc
mov byte [ebp - 0x127], 0x25
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x1a4]
or eax, 0xdd
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x1a4]
and ecx, 0xdd
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x1a4]
mov byte [ebp + ecx - 0x1d4], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x40], 0
jmp 0x1004a911
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x7e
jae 0x1004a9e0
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x1a4]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1004a958
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x1a4]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x1a4]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x1004a909
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x1a3]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0x1a6]
movsx ecx, byte [ebp + ecx - 0x1d4]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x1a3]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x1a6]
movsx edx, byte [ebp + edx - 0x1d4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x1a3]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x1a6]
movsx edx, byte [ebp + edx - 0x1d4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x1a4]
mov byte [ebp + ecx - 0x1d4], al
and dword [ebp - 0x40], 0
jmp 0x1004a909
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x1d4], 0
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.1001a983
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x218]
call fcn.100468a7
mov dword [0x1060ef80], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.1001aa0b
and dword [ebp - 0x60], 0
jmp 0x1004aa4b
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xe
jae 0x1004aa5e
mov eax, dword [ebp - 0x60]
mov byte [ebp + eax - 0x1d4], 0
jmp 0x1004aa44
mov byte [ebp - 0xcc], 4
mov byte [ebp - 0xcb], 0xb9
mov byte [ebp - 0xca], 0xd
mov byte [ebp - 0xc9], 0x23
mov byte [ebp - 0xc8], 7
mov byte [ebp - 0xc7], 0x25
mov byte [ebp - 0xc6], 0xb
mov byte [ebp - 0xc5], 1
mov byte [ebp - 0xc4], 6
mov byte [ebp - 0xc3], 0x23
mov byte [ebp - 0xc2], 0x30
mov byte [ebp - 0xc1], 0x26
mov byte [ebp - 0xc0], 0xa8
mov byte [ebp - 0xbf], 0x86
mov byte [ebp - 0xbe], 0xe3
mov byte [ebp - 0xbd], 0xbf
mov byte [ebp - 0xbc], 0x1c
mov byte [ebp - 0xbb], 0x9b
mov byte [ebp - 0xba], 0x65
mov byte [ebp - 0xb9], 0x5a
mov byte [ebp - 0xb8], 0xc5
mov byte [ebp - 0xb7], 0x18
mov byte [ebp - 0xb6], 0xbe
mov byte [ebp - 0xb5], 0x24
mov byte [ebp - 0xb4], 0x97
mov byte [ebp - 0xb3], 0xe
mov byte [ebp - 0xb2], 0xd2
mov byte [ebp - 0xb1], 0x70
mov byte [ebp - 0xb0], 0x5c
mov byte [ebp - 0xaf], 0x6e
mov byte [ebp - 0xae], 0x84
mov byte [ebp - 0xad], 0x2c
mov byte [ebp - 0xac], 0x4a
mov byte [ebp - 0xab], 0xfc
mov byte [ebp - 0xaa], 0xb4
mov byte [ebp - 0xa9], 0x7e
mov byte [ebp - 0xa8], 0xd8
mov byte [ebp - 0xa7], 0x39
mov byte [ebp - 0xa6], 0xc8
mov byte [ebp - 0xa5], 0x39
mov byte [ebp - 0xa4], 0x4a
mov byte [ebp - 0xa3], 1
mov byte [ebp - 0xa2], 0x29
mov byte [ebp - 0xa1], 0xed
mov byte [ebp - 0xa0], 0xb9
mov byte [ebp - 0x9f], 0xc3
mov byte [ebp - 0x9e], 0x5e
mov byte [ebp - 0x9d], 0xb2
mov byte [ebp - 0x9c], 0xa6
mov byte [ebp - 0x9b], 0x1c
mov byte [ebp - 0x9a], 0x25
mov byte [ebp - 0x99], 0x6b
mov byte [ebp - 0x98], 0xcf
mov byte [ebp - 0x97], 0xad
mov byte [ebp - 0x96], 0xa4
mov byte [ebp - 0x95], 0xba
mov byte [ebp - 0x94], 0xce
mov byte [ebp - 0x93], 0xfc
mov byte [ebp - 0x92], 0xa9
mov byte [ebp - 0x91], 5
mov byte [ebp - 0x90], 0x35
mov byte [ebp - 0x8f], 2
mov byte [ebp - 0x8e], 0
mov byte [ebp - 0x8d], 9
mov byte [ebp - 0x8c], 6
mov byte [ebp - 0x8b], 3
mov byte [ebp - 0x8a], 2
mov byte [ebp - 0x89], 0xa
mov byte [ebp - 0x88], 4
mov byte [ebp - 0x87], 0
mov byte [ebp - 0x86], 0x26
mov byte [ebp - 0x85], 0xc
mov byte [ebp - 0x84], 0x30
mov byte [ebp - 0x83], 8
mov byte [ebp - 0x82], 0x1c
mov byte [ebp - 0x81], 1
mov byte [ebp - 0x80], 0x1d
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xcc]
or eax, 0xcd
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xcc]
and ecx, 0xcd
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xcc]
mov byte [ebp + ecx - 0x1e4], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x48], 0
jmp 0x1004acc9
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4d
jae 0x1004ad98
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xcc]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x1004ad10
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xcc]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xcc]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x1004acc1
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xcb]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x48]
movzx ecx, byte [ebp + ecx - 0xce]
movsx ecx, byte [ebp + ecx - 0x1e4]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xcb]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0xce]
movsx edx, byte [ebp + edx - 0x1e4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xcb]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0xce]
movsx edx, byte [ebp + edx - 0x1e4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xcc]
mov byte [ebp + ecx - 0x1e4], al
and dword [ebp - 0x48], 0
jmp 0x1004acc1
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x1e4], 0
lea eax, [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.1001a983
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x20c]
call fcn.100468a7
mov dword [0x1060f0ec], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.1001aa0b
and dword [ebp - 0x78], 0
jmp 0x1004ae03
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xf
jae 0x1004ae16
mov eax, dword [ebp - 0x78]
mov byte [ebp + eax - 0x1e4], 0
jmp 0x1004adfc
mov eax, dword [0x1060ef80]
cmp eax, dword [ebp - 0x7c]
je 0x1004ae2a
mov eax, dword [0x1060f0ec]
cmp eax, dword [ebp - 0x7c]
jne 0x1004ae42
mov ecx, dword [ebp + 0xc]
call fcn.1001a84e
push eax
push dword [ebp + 8]
call fcn.10049c4e
pop ecx
pop ecx
jmp 0x1004b7a0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x1004b79e
mov eax, dword [ebp - 0x68]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1004b79e
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x68]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
jne 0x1004b79e
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
jbe 0x1004b79e
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + eax + 0x78], 0
je 0x1004b79e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x24], edx
mov eax, 0xffff
mov word [ebp - 0x20], ax
or dword [ebp - 0x38], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x1004aee3
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x1004aede
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x20], ax
jmp 0x1004b079
mov eax, dword [0x1060f0c8]
and eax, 1
jne 0x1004af1a
mov eax, dword [0x1060f0c8]
or eax, 1
mov dword [0x1060f0c8], eax
mov dword [ebp - 4], 4
mov ecx, 0x1060f0f0
call fcn.10021f95
push 0x10065a14
call fcn.1004f3ac
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1060ef88]
test eax, eax
je 0x1004af80
mov ecx, 0x1060f0f0
call fcn.1004bc8d
movzx eax, al
test eax, eax
jne 0x1004af80
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x1c4]
push eax
mov ecx, 0x1060f0f0
call fcn.10021f6d
lea eax, [ebp - 0x228]
push eax
mov ecx, 0x1060f0f0
call fcn.10021f5f
push eax
lea ecx, [ebp - 0x1c4]
call fcn.10021f82
movzx eax, al
test eax, eax
je 0x1004af80
lea ecx, [ebp - 0x1c4]
call fcn.1004bc96
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x1004b079
mov ecx, 0x1060f0f0
call fcn.1004bcda
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x1060f0f0
call fcn.1004bcde
and dword [ebp - 0x3c], 0
jmp 0x1004afb2
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax + 0x18]
jae 0x1004b079
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x3c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
je 0x1004b074
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x28c]
call fcn.1001a983
mov dword [ebp - 4], 5
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x28c]
call fcn.100468a7
mov dword [ebp - 0x1b4], eax
movzx eax, byte [0x1060ef88]
test eax, eax
je 0x1004b031
mov ecx, 0x1060f0f0
call fcn.1004bc8d
movzx eax, al
test eax, eax
jne 0x1004b04e
lea eax, [ebp - 0x1b4]
push eax
mov ecx, 0x1060f0f0
call fcn.1004bc9c
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov byte [0x1060ef88], 1
cmp dword [ebp - 0x38], 0xffffffff
jne 0x1004b065
mov eax, dword [ebp - 0x1b4]
cmp eax, dword [ebp - 0x7c]
jne 0x1004b065
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28c]
call fcn.1001aa0b
jmp 0x1004afab
cmp dword [ebp + 0x10], 0
jne 0x1004b099
cmp dword [ebp - 0x38], 0xffffffff
je 0x1004b099
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x38]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x20], ax
movzx eax, word [ebp - 0x20]
cmp eax, 0xffff
je 0x1004b79e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x20]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
jbe 0x1004b799
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x28], edx
jae 0x1004b799
mov eax, dword [0x1060f0c8]
and eax, 2
jne 0x1004b123
mov eax, dword [0x1060f0c8]
or eax, 2
mov dword [0x1060f0c8], eax
mov dword [ebp - 4], 6
push 0x68b
call fcn.10021320
pop ecx
mov byte [0x1060f0c0], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x124], 2
mov byte [ebp - 0x123], 0xb
mov byte [ebp - 0x122], 0
mov byte [ebp - 0x121], 8
mov byte [ebp - 0x120], 1
mov byte [ebp - 0x11f], 8
mov byte [ebp - 0x11e], 0x50
mov byte [ebp - 0x11d], 0x6c
mov byte [ebp - 0x11c], 0x3e
mov byte [ebp - 0x11b], 0xf5
mov byte [ebp - 0x11a], 0xa1
mov byte [ebp - 0x119], 0x5b
mov byte [ebp - 0x118], 0x11
mov byte [ebp - 0x117], 0x45
mov byte [ebp - 0x116], 0xe7
mov byte [ebp - 0x115], 0x44
mov byte [ebp - 0x114], 0x93
mov byte [ebp - 0x113], 0x22
mov byte [ebp - 0x112], 0x54
mov byte [ebp - 0x111], 0xe0
mov byte [ebp - 0x110], 0xd8
mov byte [ebp - 0x10f], 0xcc
mov byte [ebp - 0x10e], 0xfc
mov byte [ebp - 0x10d], 0xb0
mov byte [ebp - 0x10c], 0x4d
mov byte [ebp - 0x10b], 0x88
mov byte [ebp - 0x10a], 0xb2
mov byte [ebp - 0x109], 0x24
mov byte [ebp - 0x108], 0x37
mov byte [ebp - 0x107], 0xf0
mov byte [ebp - 0x106], 0x26
mov byte [ebp - 0x105], 0xf4
mov byte [ebp - 0x104], 0xce
mov byte [ebp - 0x103], 0xfa
mov byte [ebp - 0x102], 0x59
mov byte [ebp - 0x101], 0x9b
mov byte [ebp - 0x100], 0xdb
mov byte [ebp - 0xff], pe_nt_image_headers32
mov byte [ebp - 0xfe], 0xf2
mov byte [ebp - 0xfd], 0x39
mov byte [ebp - 0xfc], 0x9b
mov byte [ebp - 0xfb], 0xf4
mov byte [ebp - 0xfa], 0x34
mov byte [ebp - 0xf9], 0x67
mov byte [ebp - 0xf8], 0xce
mov byte [ebp - 0xf7], 0xed
mov byte [ebp - 0xf6], 0x43
mov byte [ebp - 0xf5], 0xc2
mov byte [ebp - 0xf4], 0x32
mov byte [ebp - 0xf3], 0x1c
mov byte [ebp - 0xf2], 0x84
mov byte [ebp - 0xf1], 0xab
mov byte [ebp - 0xf0], 0x52
mov byte [ebp - 0xef], 0x1b
mov byte [ebp - 0xee], 0x9d
mov byte [ebp - 0xed], 0xfc
mov byte [ebp - 0xec], 0x6b
mov byte [ebp - 0xeb], 0x88
mov byte [ebp - 0xea], 0
mov byte [ebp - 0xe9], 0x48
mov byte [ebp - 0xe8], 0xce
mov byte [ebp - 0xe7], 0x26
mov byte [ebp - 0xe6], 0x88
mov byte [ebp - 0xe5], 0x50
mov byte [ebp - 0xe4], 0xf8
mov byte [ebp - 0xe3], 0xe4
mov byte [ebp - 0xe2], 0x7a
mov byte [ebp - 0xe1], 0xd1
mov byte [ebp - 0xe0], 0xd6
mov byte [ebp - 0xdf], 0xe1
mov byte [ebp - 0xde], 8
mov byte [ebp - 0xdd], 0x4e
mov byte [ebp - 0xdc], 0xe6
mov byte [ebp - 0xdb], 0x57
mov byte [ebp - 0xda], 0x9c
mov byte [ebp - 0xd9], 0xea
mov byte [ebp - 0xd8], 0xad
mov byte [ebp - 0xd7], 0x90
mov byte [ebp - 0xd6], 0x97
mov byte [ebp - 0xd5], 0x25
mov byte [ebp - 0xd4], 0x31
mov byte [ebp - 0xd3], 0x43
mov byte [ebp - 0xd2], 0x34
mov byte [ebp - 0xd1], 0xdb
mov byte [ebp - 0xd0], 0x6c
mov byte [ebp - 0xcf], 0x8c
mov byte [ebp - 0xce], 0x44
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x124]
or eax, 0x67
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x124]
and ecx, 0x67
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x124]
mov byte [ebp + ecx - 0x30], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x4c], 0
jmp 0x1004b3cf
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x57
jae 0x1004b492
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x124]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1004b416
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x124]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x124]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x1004b3c7
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x123]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x4c]
movzx ecx, byte [ebp + ecx - 0x126]
movsx ecx, byte [ebp + ecx - 0x30]
add eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x123]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x4c]
movzx edx, byte [ebp + edx - 0x126]
movsx edx, byte [ebp + edx - 0x30]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x123]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x4c]
movzx edx, byte [ebp + edx - 0x126]
movsx edx, byte [ebp + edx - 0x30]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x124]
mov byte [ebp + ecx - 0x30], al
and dword [ebp - 0x4c], 0
jmp 0x1004b3c7
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x30], 0
mov eax, dword [0x1060f0c8]
and eax, 4
jne 0x1004b4d8
mov eax, dword [0x1060f0c8]
or eax, 4
mov dword [0x1060f0c8], eax
mov dword [ebp - 4], 7
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x1060f07c
call fcn.1001a983
push 0x10065a05
call fcn.1004f3ac
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x70], 0
jmp 0x1004b4e5
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 4
jae 0x1004b4f5
mov eax, dword [ebp - 0x70]
mov byte [ebp + eax - 0x30], 0
jmp 0x1004b4de
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax]
movsx ecx, byte [0x1060f0c0]
cmp eax, ecx
je 0x1004b515
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
jmp 0x1004b4fb
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x244]
call fcn.1004bf55
mov dword [ebp - 4], 8
push 0x1060f07c
lea ecx, [ebp - 0x244]
call fcn.1001aa15
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x244]
call fcn.10022394
push dword [eax]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x244]
call fcn.10022380
push dword [eax]
lea ecx, [ebp - 0x274]
call fcn.1004bf7e
mov byte [ebp - 4], 9
lea eax, [ebp - 0x274]
push eax
call fcn.100486a6
pop ecx
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1bc], 0x4b45
mov dword [ebp - 0x214], 0x1000bb20
cmp dword [ebp - 0x1bc], 0x4d82
jle 0x1004b683
push 0
call dword [sym.imp.KERNEL32.dll_GlobalLock]
and dword [ebp - 0x54], 0
jmp 0x1004b5c7
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x5f18
jge 0x1004b683
and dword [ebp - 0x5c], 0
jmp 0x1004b5e1
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x6268
jge 0x1004b67e
and dword [ebp - 0x64], 0
jmp 0x1004b5fb
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x208f
jge 0x1004b679
and dword [ebp - 0x6c], 0
jmp 0x1004b611
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x31c1
jge 0x1004b674
mov eax, dword [ebp - 0x54]
cdq
idiv dword [ebp - 0x5c]
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
and eax, edx
cdq
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x1fc], edx
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea ecx, [ebp - 0x2ec]
call fcn.1000d25a
pop ecx
pop ecx
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
call fcn.1001a84e
push eax
call fcn.1004f3d6
pop ecx
lea ecx, [ebp - 0x2ec]
call fcn.1001a844
jmp 0x1004b60a
jmp 0x1004b5f4
jmp 0x1004b5da
jmp 0x1004b5c0
cmp dword [ebp - 0x1a8], 0
je 0x1004b700
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x25c]
call fcn.1001a983
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x204]
lea ecx, [ebp - 0x25c]
call fcn.1004784e
movzx eax, al
test eax, eax
je 0x1004b6d3
push 0
push dword [ebp - 0x204]
push 0
push dword [ebp - 0x1a8]
call fcn.1004a3bc
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x1004b6ef
push 1
push 0
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x1a8]
call fcn.1004a3bc
add esp, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x25c]
call fcn.1001aa0b
jmp 0x1004b733
cmp dword [ebp + 0x10], 0
jne 0x1004b716
mov ecx, dword [ebp + 0xc]
call fcn.1001a84e
mov dword [ebp - 0x1b8], eax
jmp 0x1004b720
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x1b8], eax
push dword [ebp - 0x1b8]
push dword [ebp + 8]
call fcn.10049c4e
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x1bc], 0x49f4
jge 0x1004b74f
push dword [ebp - 0x214]
call fcn.1004f3d6
pop ecx
jmp 0x1004b76b
mov dword [ebp - 4], 9
jmp 0x1004b77b
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x274]
call fcn.10021d50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.1001aa0b
mov eax, dword [ebp - 0x28]
jmp 0x1004b7a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret