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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006dee7
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 - 0x14], 0
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1004ebe5
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x13c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x168]
movzx eax, byte [eax]
test eax, eax
je 0x1004ebb7
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xcc], 0x3eef
mov dword [ebp - 0x150], 0x10009108
cmp dword [ebp - 0xcc], 0x427a
jle 0x1004dd3b
and dword [ebp - 0xa0], 0
jmp 0x1004dc97
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0x780c
jge 0x1004dd2e
and dword [ebp - 0xac], 0
jmp 0x1004dcbd
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x471e
jge 0x1004dd29
and dword [ebp - 0xb4], 0
jmp 0x1004dcdf
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x7f66
jge 0x1004dd27
mov eax, dword [ebp - 0xa0]
cdq
idiv dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb4]
sar edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], edx
push dword [ebp - 0x144]
push dword [ebp - 0x148]
mov ecx, 0x10614bf8
call fcn.10020ad3
jmp 0x1004dcd2
jmp 0x1004dcb0
jmp 0x1004dc8a
push 0
push 0x429
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 0xc8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1004dd50
jmp 0x1004ecb0
and dword [ebp - 4], 0
cmp dword [ebp - 0xcc], 0x3b56
jge 0x1004dd70
mov edx, dword [ebp - 0x150]
mov ecx, 0x10614bf8
call fcn.1002537e
jmp 0x1004dd8c
or dword [ebp - 4], 0xffffffff
jmp 0x1004dd96
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0x4550
je 0x1004ddb5
jmp 0x1004ecb0
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 0x1004ddd3
jmp 0x1004ecb0
and dword [ebp - 0x28], 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 0x1004de07
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 0x1004de9f
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xd0]
jb 0x1004de9a
mov eax, dword [ebp - 0x38]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x4c]
push dword [eax + 8]
call fcn.1004b8cf
pop ecx
pop ecx
add eax, dword [ebp - 0xd0]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x158]
jae 0x1004de9a
push 0x74f0
push 0x462d
push 1
push 0x5836
push 0x7487
push 0x6edc
push 0
push 1
push 0x2e7c
push 0x13b6
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1004ce4d
add esp, 0x30
jmp 0x1004de9f
jmp 0x1004ddf1
cmp dword [ebp - 0x28], 0
jne 0x1004deaa
jmp 0x1004ecb0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax]
add ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
call fcn.1004a192
push eax
call fcn.10056402
pop ecx
mov byte [ebp - 0x70], 8
mov byte [ebp - 0x6f], 0x9e
mov byte [ebp - 0x6e], 3
mov byte [ebp - 0x6d], 7
mov byte [ebp - 0x6c], 7
mov byte [ebp - 0x6b], 1
mov byte [ebp - 0x6a], 4
mov byte [ebp - 0x69], 0xe
mov byte [ebp - 0x68], 0
mov byte [ebp - 0x67], 9
mov byte [ebp - 0x66], 6
mov byte [ebp - 0x65], 0
mov byte [ebp - 0x64], 9
mov byte [ebp - 0x63], 1
mov byte [ebp - 0x62], 2
mov byte [ebp - 0x61], 7
mov byte [ebp - 0x60], 1
mov byte [ebp - 0x5f], 2
mov byte [ebp - 0x5e], 2
mov byte [ebp - 0x5d], 0xad
mov byte [ebp - 0x5c], 0xca
mov byte [ebp - 0x5b], 5
mov byte [ebp - 0x5a], 4
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x70]
and eax, 0xae
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x70]
or ecx, 0xae
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x70]
mov byte [ebp + eax - 0xf4], cl
mov dword [ebp - 0x20], 2
and dword [ebp - 0x7c], 0
jmp 0x1004df6c
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x17
jae 0x1004e01d
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x70]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x1004dfaa
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x70]
inc eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x70]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x1004df64
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x7c]
movzx eax, byte [ebp + eax - 0x72]
movsx eax, byte [ebp + eax - 0xf4]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x6f]
and ecx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x7c]
movzx eax, byte [ebp + eax - 0x72]
movsx eax, byte [ebp + eax - 0xf4]
mov edx, dword [ebp - 0x20]
movzx edx, byte [ebp + edx - 0x6f]
and edx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x7c]
movzx eax, byte [ebp + eax - 0x72]
movsx eax, byte [ebp + eax - 0xf4]
mov esi, dword [ebp - 0x20]
movzx ebx, byte [ebp + esi - 0x6f]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x70]
mov byte [ebp + eax - 0xf4], bl
and dword [ebp - 0x7c], 0
jmp 0x1004df64
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xf4], 0
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x238]
call fcn.10020c7c
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x104], eax
mov dword [ebp - 4], 2
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x104]
call fcn.1004a157
pop ecx
mov dword [ebp - 0x164], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.10020c9f
and dword [ebp - 0xb0], 0
jmp 0x1004e091
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0xb
jae 0x1004e0aa
mov eax, dword [ebp - 0xb0]
mov byte [ebp + eax - 0xf4], 0
jmp 0x1004e084
mov byte [ebp - 0x98], 2
mov byte [ebp - 0x97], 0x2d
mov byte [ebp - 0x96], 3
mov byte [ebp - 0x95], 5
mov byte [ebp - 0x94], 8
mov byte [ebp - 0x93], 2
mov byte [ebp - 0x92], 0
mov byte [ebp - 0x91], 1
mov byte [ebp - 0x90], 7
mov byte [ebp - 0x8f], 7
mov byte [ebp - 0x8e], 1
mov byte [ebp - 0x8d], 0
mov byte [ebp - 0x8c], 4
mov byte [ebp - 0x8b], 2
mov byte [ebp - 0x8a], 6
mov byte [ebp - 0x89], 0xd
mov byte [ebp - 0x88], 9
mov byte [ebp - 0x87], 9
mov byte [ebp - 0x86], 5
mov byte [ebp - 0x85], 1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x98]
and eax, 0x1a
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x98]
or ecx, 0x1a
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x98]
mov byte [ebp + eax - 0x100], cl
mov dword [ebp - 0x34], 2
and dword [ebp - 0xe8], 0
jmp 0x1004e187
mov eax, dword [ebp - 0x34]
inc eax
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x14
jae 0x1004e1ef
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0xe8]
movzx eax, byte [ebp + eax - 0x9a]
movsx eax, byte [ebp + eax - 0x100]
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ebp + ecx - 0x97]
and ecx, eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0xe8]
movzx eax, byte [ebp + eax - 0x9a]
movsx eax, byte [ebp + eax - 0x100]
mov edx, dword [ebp - 0x34]
movzx edx, byte [ebp + edx - 0x97]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x34]
movzx eax, byte [ebp + eax - 0x98]
mov byte [ebp + eax - 0x100], dl
jmp 0x1004e17f
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x100], 0
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x208]
call fcn.10020c7c
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x178], eax
mov dword [ebp - 4], 3
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x178]
call fcn.1004a157
pop ecx
mov dword [ebp - 0x110], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x208]
call fcn.10020c9f
and dword [ebp - 0x9c], 0
jmp 0x1004e263
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0xb
jae 0x1004e27c
mov eax, dword [ebp - 0x9c]
mov byte [ebp + eax - 0x100], 0
jmp 0x1004e256
push dword [ebp - 0x110]
push dword [ebp - 0x164]
call fcn.1004b6ea
pop ecx
pop ecx
mov dword [ebp - 0xdc], eax
push 0x70ec
push 0x7abe
push 1
push 1
push 0x5e
push 0x7a52
push 0x5542
push 0x70f2
push 0x35a0
lea eax, [ebp - 0x38]
push eax
push 1
lea eax, [ebp - 0xdc]
push eax
push 0x613a
push 0x3048
push 0x228d
call fcn.1004ca9c
add esp, 0x3c
push 1
lea eax, [ebp - 0x18]
push eax
push 0x5a22
push 0x1c8c
push 0x4a72
push 0
push 0x22f3
lea eax, [ebp - 0xdc]
push eax
call fcn.1004dab3
add esp, 0x20
and dword [ebp - 0x78], 0
push 0x4c66
push 0x3209
push 1
push 0x96d
push 0x5d8d
lea eax, [ebp - 0x18]
push eax
push 1
push 0
push 0x5d27
lea eax, [ebp - 0x78]
push eax
push 0x4b90
push 0x77a
call fcn.1004ce4d
add esp, 0x30
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x78]
mov dword [ebp - 0x50], eax
and dword [ebp - 0xa4], 0
jmp 0x1004e370
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x50]
jge 0x1004e46f
push 0x6d65
push 0x52ac
push 0x2f4d
push 0
lea eax, [ebp - 0x28]
push eax
push 0xa5a
push 0x2203
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0xe9a
lea eax, [ebp - 0x18]
push eax
push 0xa3d
push 0x2e70
push 0x6f7a
push 0x6169
push 0x1c51
lea eax, [ebp - 0x118]
push eax
push 1
push 1
call fcn.1004d7f8
add esp, 0x50
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x118]
push eax
push 0
push 0
push 0x42a1
push 0x1f82
push 0x5859
lea eax, [ebp - 0x28]
push eax
push 0x17fe
push 0x5563
push 1
push 0x2ba5
push 0xf3d
lea eax, [ebp - 0x2c]
push eax
push 0x3d8c
call fcn.1004ca9c
add esp, 0x3c
push 0x5b08
push 0xebd
push 0x278b
push 0xe0a
lea eax, [ebp - 0x1c]
push eax
push 0x2040
push 0x6d19
push 0x3062
push 1
push 1
push 0x5568
push 1
push 0x1324
call fcn.1004cd14
add esp, 0x34
jmp 0x1004e363
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x14], eax
push 0x30a2
push 0
push 0
push 0x3e9d
lea eax, [ebp - 0x78]
push eax
push 0xf54
lea eax, [ebp - 0x18]
push eax
push 0x39db
push 0x3790
push 0x3e3e
push 0x61cd
lea eax, [ebp - 0x50]
push eax
push 0x204e
push 0x4d3d
push 0x53c9
call fcn.1004cf9b
add esp, 0x3c
and dword [ebp - 0xb8], 0
jmp 0x1004e4de
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0x50]
jge 0x1004e556
push 0x2996
push 0x3510
lea eax, [ebp - 0x1c]
push eax
push 0x32ac
push 0x2677
push 0x1c9f
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 1
push 1
push 0x7dcb
push 0
push 0x4ba7
call fcn.1004cd14
add esp, 0x34
push 0x3f44
push 0x3890
push 0x3600
push 0x4ec6
push 0
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x6e33
push 0
call fcn.1004dbea
add esp, 0x24
jmp 0x1004e4d1
push 1
push 0x6dbc
push 0x4de5
push 0x4e28
push 0x7844
push 0x6364
push 0x94f
push 0x7dc4
lea eax, [ebp - 0x50]
push eax
push 0
push 0x83c
push 0x3006
push 0x1d7
push 0x7c5e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x3c5a
call fcn.1004c776
add esp, 0x44
push 0xf9c
push 0x60dd
push 0x49f0
push 1
push 0x654b
push 0x2e2d
push 0x4b3f
push 0x3b6c
push 0x6b91
push 0x11ac
push 0x898
push 0x41b8
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x2da1
push 0x74f5
push 0x15a3
push 0x3a52
push 0
push 0
call fcn.1004d7f8
add esp, 0x50
push 0x7b21
push 0
push 1
push 0x850
push 0x7b25
lea eax, [ebp - 0x18]
push eax
push 0x55f1
push 0xa16
push 0x592c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x3158
push 0x276f
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1004cf9b
add esp, 0x3c
push 0x4e89
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x1c5b
push 0x4e07
lea eax, [ebp - 0x18]
push eax
push 0x719d
push 0x11f1
push 1
push 0
push 0x5028
push 0x21bd
call fcn.1004d1a7
add esp, 0x30
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1c0]
call fcn.10020c7c
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x1c0]
call fcn.10020ceb
mov dword [ebp - 0xe0], eax
push dword [ebp - 0xe0]
mov eax, dword [ebp - 0xe0]
shr eax, 1
push eax
call fcn.1004b6ea
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x48], 2
mov byte [ebp - 0x47], 0x97
mov byte [ebp - 0x46], 0
mov byte [ebp - 0x45], 0x42
mov byte [ebp - 0x44], 1
mov byte [ebp - 0x43], 0x4a
mov byte [ebp - 0x42], 4
mov byte [ebp - 0x41], 0x82
mov byte [ebp - 0x40], 0x1c
mov byte [ebp - 0x3f], 0xc4
mov byte [ebp - 0x3e], 0xa2
mov byte [ebp - 0x3d], 3
mov byte [ebp - 0x3c], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x48]
and eax, 0xfb
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x48]
or ecx, 0xfb
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x48]
mov byte [ebp + eax - 0x58], cl
mov dword [ebp - 0x24], 2
and dword [ebp - 0x84], 0
jmp 0x1004e755
mov eax, dword [ebp - 0x24]
inc eax
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xd
jae 0x1004e809
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x48]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x24], eax
jne 0x1004e796
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x48]
inc eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x48]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x24], eax
jmp 0x1004e74d
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x84]
movzx eax, byte [ebp + eax - 0x4a]
movsx eax, byte [ebp + eax - 0x58]
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x47]
and ecx, eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x84]
movzx eax, byte [ebp + eax - 0x4a]
movsx eax, byte [ebp + eax - 0x58]
mov edx, dword [ebp - 0x24]
movzx edx, byte [ebp + edx - 0x47]
and edx, eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x84]
movzx eax, byte [ebp + eax - 0x4a]
movsx eax, byte [ebp + eax - 0x58]
mov esi, dword [ebp - 0x24]
movzx ebx, byte [ebp + esi - 0x47]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x48]
mov byte [ebp + eax - 0x58], bl
and dword [ebp - 0x84], 0
jmp 0x1004e74d
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x58], 0
cmp dword [ebp - 0x80], 4
jle 0x1004e8cb
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x250]
call fcn.10020c7c
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x80]
sub eax, 4
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.1004b71a
pop ecx
pop ecx
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x128], eax
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x14]
or eax, 2
mov dword [ebp - 0x14], eax
push dword [ebp - 0x16c]
mov edx, dword [ebp - 0x128]
lea ecx, [ebp - 0x1f0]
call fcn.1004f2d9
pop ecx
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x130], eax
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x14]
or eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xc0], eax
jmp 0x1004e8f7
push dword [ebp - 0x80]
lea eax, [ebp - 0x1d8]
push eax
call fcn.1004b71a
pop ecx
pop ecx
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x14]
or eax, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x138], eax
push dword [ebp - 0x138]
lea ecx, [ebp - 0x1a8]
call fcn.1004ee6d
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x14]
and eax, 8
je 0x1004e932
and dword [ebp - 0x14], 0xfffffff7
lea ecx, [ebp - 0x1d8]
call fcn.10020c9f
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
and eax, 4
je 0x1004e94d
and dword [ebp - 0x14], 0xfffffffb
lea ecx, [ebp - 0x1f0]
call fcn.10020c9f
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
and eax, 2
je 0x1004e968
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x220]
call fcn.10020c9f
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x14]
and eax, 1
je 0x1004e983
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0x250]
call fcn.10020c9f
and dword [ebp - 0xa8], 0
jmp 0x1004e999
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 5
jae 0x1004e9af
mov eax, dword [ebp - 0xa8]
mov byte [ebp + eax - 0x58], 0
jmp 0x1004e98c
lea eax, [ebp - 0x18]
push eax
push 0x5b16
push 1
push 0x5bc
push 0x758f
push 0x7e36
push 1
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x1cd0
push 0x3904
push 0x784c
call fcn.1004ce4d
add esp, 0x30
push 0
push dword [ebp - 0x80]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1a8]
call fcn.1004eeb5
push 0x7653
push 0x2d50
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x5f7b
push 1
call fcn.1004bed2
add esp, 0x1c
push 0x5139
push 0x71be
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x76bb
push 1
lea eax, [ebp - 0x28]
push eax
push 1
call fcn.1004dbea
add esp, 0x24
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
jbe 0x1004eab6
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 - 0x18]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x1004ea8a
mov dword [ebp - 0xe4], 0xc
jmp 0x1004eaa8
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 - 0x18]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xd4], eax
jmp 0x1004eabd
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x190], eax
lea eax, [ebp - 0x2c]
push eax
push 0x3028
push 0x3a3c
lea eax, [ebp - 0x190]
push eax
push 0x5a79
push 0x1c11
lea eax, [ebp - 0x28]
push eax
push 0x2886
push 1
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1004d1a7
add esp, 0x30
and dword [ebp - 0x74], 0
jmp 0x1004eb12
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], 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 - 0x74], eax
jae 0x1004eb88
lea eax, [ebp - 0x74]
push eax
push 0x49cf
push 0x3c45
push 1
push 0x61f2
push 0x641a
lea eax, [ebp - 0x1c]
push eax
push 0x3b6c
push 0x62d3
push 0x6710
lea eax, [ebp - 0x28]
push eax
push 0x7943
push 0x4863
push 0x16be
push 0x35cd
push 0x4eab
lea eax, [ebp - 0x2c]
push eax
push 0x4819
push 1
push 1
call fcn.1004d7f8
add esp, 0x50
jmp 0x1004eb0b
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a8]
call fcn.10020c9f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c0]
call fcn.10020c9f
jmp 0x1004ebe0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xd8]
mov dword [ecx], eax
jmp 0x1004ecb0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x184], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
movzx eax, byte [eax]
test eax, eax
je 0x1004ec85
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x114]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x11c]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x124]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x1004ecb0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp - 0xc4]
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