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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100713c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x230
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x1c], 0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10050ffb
mov eax, dword [ebp + 8]
mov dword [ebp - 0x158], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x124]
movzx eax, byte [eax]
test eax, eax
je 0x10050fd8
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100500cd
jmp 0x10051041
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0x4550
je 0x100500ec
jmp 0x10051041
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 0x1005010a
jmp 0x10051041
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x38]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x38]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x4c], eax
and dword [ebp - 0xbc], 0
jmp 0x1005013e
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x4c]
add eax, 0x28
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xbc], eax
jge 0x100501ad
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc8]
jb 0x100501a8
mov eax, dword [ebp - 0x38]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x4c]
push dword [eax + 8]
call fcn.1004db21
pop ecx
pop ecx
add eax, dword [ebp - 0xc8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x100]
jae 0x100501a8
push 1
push 1
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1004db69
add esp, 0x10
jmp 0x100501ad
jmp 0x10050128
cmp dword [ebp - 0x24], 0
jne 0x100501b8
jmp 0x10051041
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
call fcn.10034d3b
push eax
call fcn.10059c6e
pop ecx
mov byte [ebp - 0x68], 7
mov byte [ebp - 0x67], 0xe8
mov byte [ebp - 0x66], 5
mov byte [ebp - 0x65], 7
mov byte [ebp - 0x64], 8
mov byte [ebp - 0x63], 1
mov byte [ebp - 0x62], 0
mov byte [ebp - 0x61], 1
mov byte [ebp - 0x60], 3
mov byte [ebp - 0x5f], 6
mov byte [ebp - 0x5e], 1
mov byte [ebp - 0x5d], 2
mov byte [ebp - 0x5c], 9
mov byte [ebp - 0x5b], 5
mov byte [ebp - 0x5a], 2
mov byte [ebp - 0x59], 7
mov byte [ebp - 0x58], 4
mov byte [ebp - 0x57], 0x56
mov byte [ebp - 0x56], 0x60
mov byte [ebp - 0x55], 0x3f
mov byte [ebp - 0x54], 0xe
mov byte [ebp - 0x53], 6
mov byte [ebp - 0x52], 6
mov byte [ebp - 0x51], 4
mov byte [ebp - 0x50], 9
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x68]
and eax, 0xde
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x68]
or ecx, 0xde
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x68]
mov byte [ebp + eax - 0xf0], cl
mov dword [ebp - 0x20], 2
and dword [ebp - 0x88], 0
jmp 0x10050285
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x19
jae 0x10050365
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x68]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x100502c6
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x68]
inc eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x68]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x1005027d
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x88]
movzx eax, byte [ebp + eax - 0x6a]
movsx eax, byte [ebp + eax - 0xf0]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x67]
and ecx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x88]
movzx eax, byte [ebp + eax - 0x6a]
movsx eax, byte [ebp + eax - 0xf0]
mov edx, dword [ebp - 0x20]
movzx edx, byte [ebp + edx - 0x67]
and edx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x88]
movzx eax, byte [ebp + eax - 0x6a]
movsx eax, byte [ebp + eax - 0xf0]
mov esi, dword [ebp - 0x20]
movzx ebx, byte [ebp + esi - 0x67]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x68]
mov byte [ebp + eax - 0xf0], bl
push 0x19ab
push 0x75ca
push 0x26bc
push 0x322f
push 0
push 1
lea eax, [ebp - 0x88]
push eax
call fcn.10050045
add esp, 0x1c
jmp 0x1005027d
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xf0], 0
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.1004afba
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x134], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x134]
call fcn.1004be3b
pop ecx
mov dword [ebp - 0x10c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.10032e9e
and dword [ebp - 0x9c], 0
jmp 0x100503d6
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0xb
jae 0x100503ef
mov eax, dword [ebp - 0x9c]
mov byte [ebp + eax - 0xf0], 0
jmp 0x100503c9
mov byte [ebp - 0x80], 4
mov byte [ebp - 0x7f], 0x71
mov byte [ebp - 0x7e], 8
mov byte [ebp - 0x7d], 4
mov byte [ebp - 0x7c], 2
mov byte [ebp - 0x7b], 7
mov byte [ebp - 0x7a], 7
mov byte [ebp - 0x79], 1
mov byte [ebp - 0x78], 5
mov byte [ebp - 0x77], 7
mov byte [ebp - 0x76], 1
mov byte [ebp - 0x75], 7
mov byte [ebp - 0x74], 6
mov byte [ebp - 0x73], 0xf
mov byte [ebp - 0x72], 3
mov byte [ebp - 0x71], 0xb
mov byte [ebp - 0x70], 0
mov byte [ebp - 0x6f], 3
mov byte [ebp - 0x6e], 9
mov byte [ebp - 0x6d], 1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x80]
and eax, 0x45
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x80]
or ecx, 0x45
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x80]
mov byte [ebp + eax - 0xfc], cl
mov dword [ebp - 0x34], 2
and dword [ebp - 0xb8], 0
jmp 0x10050487
mov eax, dword [ebp - 0x34]
inc eax
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x14
jae 0x10050512
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0xb8]
movzx eax, byte [ebp + eax - 0x82]
movsx eax, byte [ebp + eax - 0xfc]
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ebp + ecx - 0x7f]
and ecx, eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0xb8]
movzx eax, byte [ebp + eax - 0x82]
movsx eax, byte [ebp + eax - 0xfc]
mov edx, dword [ebp - 0x34]
movzx edx, byte [ebp + edx - 0x7f]
and edx, eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0xb8]
movzx eax, byte [ebp + eax - 0x82]
movsx eax, byte [ebp + eax - 0xfc]
mov esi, dword [ebp - 0x34]
movzx ebx, byte [ebp + esi - 0x7f]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x34]
movzx eax, byte [ebp + eax - 0x80]
mov byte [ebp + eax - 0xfc], bl
jmp 0x1005047f
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xfc], 0
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x240]
call fcn.1004afba
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x164], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x164]
call fcn.1004be3b
pop ecx
mov dword [ebp - 0x14c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.10032e9e
and dword [ebp - 0xac], 0
jmp 0x10050586
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xb
jae 0x1005059f
mov eax, dword [ebp - 0xac]
mov byte [ebp + eax - 0xfc], 0
jmp 0x10050579
push dword [ebp - 0x14c]
push dword [ebp - 0x10c]
call fcn.1004d531
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
push 0
push 0x3b43
lea eax, [ebp - 0x38]
push eax
push 1
push 0x1c5
push 0x3031
push 0x3d6f
lea eax, [ebp - 0xcc]
push eax
push 0x3e1b
call fcn.1004fc3d
add esp, 0x24
push 1
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xcc]
push eax
push 0x1625
push 0x4012
push 0x30cd
push 0x2201
push 0x4bab
call fcn.1004f56b
add esp, 0x24
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x1005065f
push 0x12ac
push 1
push 0
push 0x7114
lea eax, [ebp - 0x14]
push eax
push 0x100
push 0x2d86
push 1
push 0x11d8
push 0x7c67
lea eax, [ebp - 0x8c]
push eax
call fcn.1004de57
add esp, 0x2c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x8c]
mov dword [ebp - 0x48], eax
and dword [ebp - 0xb4], 0
jmp 0x1005068d
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
cmp eax, dword [ebp - 0x48]
jge 0x100506fa
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
call fcn.1004eeb5
add esp, 0x20
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x15c]
mov dword [ecx + eax], edx
push 0x6a1
push 1
push 1
push 0x7263
push 0x7bd5
push 0x6d13
lea eax, [ebp - 0x18]
push eax
call fcn.1004f146
add esp, 0x1c
jmp 0x10050680
push 0x414d
push 0
push 1
lea eax, [ebp - 0x14]
push eax
push 0x14c5
lea eax, [ebp - 0x8c]
push eax
push 0x5731
push 1
push 0x3a56
push 0x30cb
push 0x7e5e
call fcn.1004de57
add esp, 0x2c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x478d
push 1
push 0x3005
push 0
push 0x5280
push 0x3466
push 0x6c80
lea eax, [ebp - 0x8c]
push eax
push 0x4c8b
call fcn.1004f307
add esp, 0x2c
push 1
push 1
push 0x56d8
push 0x7289
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x6785
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.1004f56b
add esp, 0x24
push 0x5729
push 0x5fdd
push 0x583f
push 1
push 0x1e3b
lea eax, [ebp - 0x14]
push eax
push 1
push 0x6a9b
lea eax, [ebp - 0x48]
push eax
push 0x4779
lea eax, [ebp - 0x18]
push eax
call fcn.1004f6a2
add esp, 0x2c
push 0x1495
push 1
push 1
push 0x6a5
push 0x10c9
push 0x16b0
lea eax, [ebp - 0x8c]
push eax
push 1
push 0x6399
lea eax, [ebp - 0x14]
push eax
push 0x5b40
call fcn.1004de57
add esp, 0x2c
lea eax, [ebp - 0x24]
push eax
push 1
push 0x3ad5
push 0x62f0
push 0x77f7
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x2fdb
push 0x1c62
push 1
lea eax, [ebp - 0x48]
push eax
push 0x3cb2
push 0x701b
push 1
push 0x4068
call fcn.1004f807
add esp, 0x40
mov eax, dword [ebp - 0x48]
shl eax, 1
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1b0]
call fcn.1004afba
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1b0]
call fcn.10033db2
mov dword [ebp - 0xe4], eax
push dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe4]
shr eax, 1
push eax
call fcn.1004d531
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x44], 1
mov byte [ebp - 0x43], 0xcc
mov byte [ebp - 0x42], 0
mov byte [ebp - 0x41], 0x4a
mov byte [ebp - 0x40], 3
mov byte [ebp - 0x3f], 0x97
mov byte [ebp - 0x3e], 0xba
mov byte [ebp - 0x3d], 0
mov byte [ebp - 0x3c], 2
mov byte [ebp - 0x3b], 0x42
mov byte [ebp - 0x3a], 3
mov byte [ebp - 0x39], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x44]
and eax, 0xa8
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x44]
or ecx, 0xa8
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x44]
mov byte [ebp + eax - 0x94], cl
mov dword [ebp - 0x2c], 2
and dword [ebp - 0xa0], 0
jmp 0x10050922
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xc
jae 0x100509e5
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x44]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x10050963
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x44]
inc eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x44]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x1005091a
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0xa0]
movzx eax, byte [ebp + eax - 0x46]
movsx eax, byte [ebp + eax - 0x94]
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x43]
and ecx, eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0xa0]
movzx eax, byte [ebp + eax - 0x46]
movsx eax, byte [ebp + eax - 0x94]
mov edx, dword [ebp - 0x2c]
movzx edx, byte [ebp + edx - 0x43]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x44]
mov byte [ebp + eax - 0x94], dl
push 0x5590
push 0x35a0
push 1
push 0x3201
push 0x5ff9
lea eax, [ebp - 0xa0]
push eax
push 0
push 0x2d60
call fcn.1004e9af
add esp, 0x20
jmp 0x1005091a
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x94], 0
mov dword [ebp - 0xe0], 0x2871
mov dword [ebp - 0x138], 0x1000954c
cmp dword [ebp - 0xe0], 0x2a9f
jle 0x10050a8a
and dword [ebp - 0x98], 0
jmp 0x10050a29
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x5e5b
jge 0x10050a8a
and dword [ebp - 0xa4], 0
jmp 0x10050a4b
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x2107
jge 0x10050a88
mov eax, dword [ebp - 0x98]
xor eax, dword [ebp - 0xa4]
cdq
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], edx
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
mov ecx, 0x10617a78
call fcn.10021ac1
jmp 0x10050a3e
jmp 0x10050a1c
cmp dword [ebp - 0x6c], 4
jle 0x10050b44
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x210]
call fcn.1004afba
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x6c]
sub eax, 4
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.1004da05
pop ecx
pop ecx
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
or eax, 2
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x120]
mov edx, dword [ebp - 0x144]
lea ecx, [ebp - 0x228]
call fcn.1005166c
pop ecx
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
or eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xc4], eax
jmp 0x10050b70
push dword [ebp - 0x6c]
lea eax, [ebp - 0x1c8]
push eax
call fcn.1004da05
pop ecx
pop ecx
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x1c]
or eax, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x150], eax
push dword [ebp - 0x150]
lea ecx, [ebp - 0x198]
call fcn.100511f7
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
and eax, 8
je 0x10050bab
and dword [ebp - 0x1c], 0xfffffff7
lea ecx, [ebp - 0x1c8]
call fcn.10032e9e
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
and eax, 4
je 0x10050bc6
and dword [ebp - 0x1c], 0xfffffffb
lea ecx, [ebp - 0x228]
call fcn.10032e9e
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
and eax, 2
je 0x10050be1
and dword [ebp - 0x1c], 0xfffffffd
lea ecx, [ebp - 0x1e0]
call fcn.10032e9e
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
and eax, 1
je 0x10050bfc
and dword [ebp - 0x1c], 0xfffffffe
lea ecx, [ebp - 0x210]
call fcn.10032e9e
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xe0], 0x2812
jge 0x10050c1c
mov edx, dword [ebp - 0x138]
mov ecx, 0x10617a78
call fcn.100250d0
jmp 0x10050c38
mov dword [ebp - 4], 9
jmp 0x10050c48
and dword [ebp - 0xb0], 0
jmp 0x10050c5e
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 5
jae 0x10050c77
mov eax, dword [ebp - 0xb0]
mov byte [ebp + eax - 0x94], 0
jmp 0x10050c51
push 1
push 1
push 0x418b
push 1
push 0x1bfb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x2c25
push 0x657a
push 0x38a1
push 0x3ce6
push 0x5096
call fcn.1004fb1c
add esp, 0x30
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x6108
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x198]
push eax
push 1
push 1
push 0x2fc9
push 0
call fcn.1004e819
add esp, 0x28
push 0x1e49
push 0x1f3e
push 0x44e
lea eax, [ebp - 0x6c]
push eax
push 0x563f
push 0x300d
push 1
push 1
lea eax, [ebp - 0x18]
push eax
push 1
call fcn.1004e819
add esp, 0x28
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x10050d80
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
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 0x10050d54
mov dword [ebp - 0xd0], 0xc
jmp 0x10050d72
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
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 - 0xd4], eax
jmp 0x10050d87
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
and dword [ebp - 0xa8], 0
jmp 0x10050da9
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xa8]
cmp ecx, dword [eax + 0x18]
jae 0x10050f0f
push dword [ebp - 0xdc]
mov eax, dword [ebp - 0xdc]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.1004d531
pop ecx
pop ecx
mov dword [ebp - 0xc0], eax
push dword [ebp - 0xc0]
lea eax, [ebp - 0x180]
push eax
call fcn.1004da05
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
push 0x294c
push 1
push 0x3133
lea eax, [ebp - 0xa8]
push eax
push 0x6135
push 0
push 0x2736
lea eax, [ebp - 0x14]
push eax
push 0x6db
push 0x40e6
lea eax, [ebp - 0x18]
push eax
push 1
push 0x120a
push 0xbb9
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1004eb81
add esp, 0x40
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x28e6
push 1
lea eax, [ebp - 0x24]
push eax
call fcn.1004e9af
add esp, 0x20
push 1
push 0x319c
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0xc0]
push eax
call fcn.1004fd2c
add esp, 0x14
push 0xf10
push 1
lea eax, [ebp - 0x28]
push eax
push 0xeea
lea eax, [ebp - 0x24]
push eax
push 1
push 0x7b18
push 0x3466
lea eax, [ebp - 0x18]
push eax
push 0x56c3
push 0xa5c
push 1
push 0x393e
push 0x2257
push 0x37c9
push 0x3801
call fcn.1004eb81
add esp, 0x40
push 1
push 0x2da3
lea eax, [ebp - 0x18]
push eax
push 0xf70
push 0x5f91
push 0x7a48
push 0x5a5c
push 1
call fcn.1004fe79
add esp, 0x20
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x180]
call fcn.10032e9e
jmp 0x10050d9c
and dword [ebp - 0x84], 0
jmp 0x10050f25
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x84], eax
jae 0x10050f8d
push 0x6ab8
push 0
lea eax, [ebp - 0x24]
push eax
push 0x2867
push 0x3854
push 0x2311
push 0x711d
push 0x559f
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x382f
push 0x49ef
push 0x5527
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.1004f807
add esp, 0x40
jmp 0x10050f18
lea eax, [ebp - 0x84]
push eax
push 0x455
push 0x13fd
push 0x1026
push 0x6323
push 1
push 1
lea eax, [ebp - 0x30]
push eax
call fcn.1004ed86
add esp, 0x20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x198]
call fcn.10032e9e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b0]
call fcn.10032e9e
jmp 0x10050ff9
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
and dword [eax], 0
jmp 0x10051041
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x104], eax
push 0x7a00
push 0x773c
push dword [ebp - 0x168]
push 1
push dword [ebp - 0x104]
push dword [ebp - 0x108]
push 0x3e9d
call fcn.1004f66f
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret