Function at 0x40f814
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
and dword [ebp - 0xc], 0
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x410783
lea eax, [ebp + 0xc]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x134]
movzx eax, byte [eax]
test eax, eax
je 0x410757
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x40f880
jmp 0x4107b0
mov eax, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0x4550
je 0x40f89f
jmp 0x4107b0
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0
jne 0x40f8bd
jmp 0x4107b0
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x108], eax
push 0
push 1
push 0x212
push 0x40ec
push 1
push 0x5087
push 0x1de2
lea eax, [ebp - 0x108]
push eax
push 0x7d8e
push 0x3f30
push 0x101a
push 0x4703
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x7650
push 0x2b96
call fcn.0040eedf
add esp, 0x44
cmp dword [ebp - 0x14], 0
jne 0x40f933
jmp 0x4107b0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
xor ecx, ecx
call fcn.004011e9
push eax
call fcn.00467ca5
pop ecx
mov byte [ebp - 0xd8], 9
mov byte [ebp - 0xd7], 0x31
mov byte [ebp - 0xd6], 6
mov byte [ebp - 0xd5], 0x34
mov byte [ebp - 0xd4], 3
mov byte [ebp - 0xd3], 0x3c
mov byte [ebp - 0xd2], 0
mov byte [ebp - 0xd1], 0x38
mov byte [ebp - 0xd0], 8
mov byte [ebp - 0xcf], 0x39
mov byte [ebp - 0xce], 4
mov byte [ebp - 0xcd], 0x43
mov byte [ebp - 0xcc], 1
mov byte [ebp - 0xcb], 0x42
mov byte [ebp - 0xca], 7
mov byte [ebp - 0xc9], 0x45
mov byte [ebp - 0xc8], 5
mov byte [ebp - 0xc7], 0x42
mov byte [ebp - 0xc6], 2
mov byte [ebp - 0xc5], 0x4a
mov byte [ebp - 0xc4], 0x1a
mov byte [ebp - 0xc3], 0xf3
mov byte [ebp - 0xc2], 0xfb
mov byte [ebp - 0xc1], 0x4a
mov byte [ebp - 0xc0], 0x99
mov byte [ebp - 0xbf], 0xa3
mov byte [ebp - 0xbe], 0x92
mov byte [ebp - 0xbd], 0xd3
mov byte [ebp - 0xbc], 0x52
mov byte [ebp - 0xbb], 0xbb
mov byte [ebp - 0xba], 0xbf
mov byte [ebp - 0xb9], 0x28
mov byte [ebp - 0xb8], 3
mov byte [ebp - 0xb7], 0xe1
mov byte [ebp - 0xb6], 0xe6
mov byte [ebp - 0xb5], 0x2b
mov byte [ebp - 0xb4], 0xce
mov byte [ebp - 0xb3], 0x3e
mov byte [ebp - 0xb2], 0xd8
mov byte [ebp - 0xb1], 0x7c
mov byte [ebp - 0xb0], 0xab
mov byte [ebp - 0xaf], 0x77
mov byte [ebp - 0xae], 0xf6
mov byte [ebp - 0xad], 2
mov byte [ebp - 0xac], 0xb0
mov byte [ebp - 0xab], 0xdf
and dword [ebp - 0x20], 0
and dword [ebp - 0x110], 0
jmp 0x40faa6
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2e
jae 0x40fb50
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xd8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x40fb08
mov dword [ebp - 0x110], 0x1a
push 1
push 0
push 0xc30
push 1
push 0x5fd8
push 0x1f40
push 0x5eaa
push 0x4e62
push 0x6580
push 0x1a82
lea eax, [ebp - 0x20]
push eax
call fcn.00408feb
add esp, 0x2c
jmp 0x40fa9e
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0xd7]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x110]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jge 0x40fb36
mov eax, dword [ebp - 0x54]
add eax, 0x100
mov dword [ebp - 0x54], eax
jmp 0x40fb23
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0xd8]
mov cl, byte [ebp - 0x54]
mov byte [ebp + eax - 0x150], cl
jmp 0x40fa9e
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x150], 0
push 0xa
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x234]
call fcn.004120d3
xor edx, edx
mov ecx, eax
call fcn.004011ae
pop ecx
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x234]
call fcn.0041213e
and dword [ebp - 0x44], 0
jmp 0x40fb9a
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xb
jae 0x40fbad
mov eax, dword [ebp - 0x44]
mov byte [ebp + eax - 0x150], 0
jmp 0x40fb93
mov byte [ebp - 0x78], 5
mov byte [ebp - 0x77], 0x32
mov byte [ebp - 0x76], 4
mov byte [ebp - 0x75], 0x37
mov byte [ebp - 0x74], 2
mov byte [ebp - 0x73], 0x3c
mov byte [ebp - 0x72], 8
mov byte [ebp - 0x71], 0x37
mov byte [ebp - 0x70], 9
mov byte [ebp - 0x6f], 0x39
mov byte [ebp - 0x6e], 7
mov byte [ebp - 0x6d], 0x41
mov byte [ebp - 0x6c], 0xf
mov byte [ebp - 0x6b], 0x3c
mov byte [ebp - 0x6a], 0x3c
mov byte [ebp - 0x69], 0xbf
mov byte [ebp - 0x68], 0xdd
mov byte [ebp - 0x67], 4
mov byte [ebp - 0x66], 0xbf
mov byte [ebp - 0x65], 0xec
mov byte [ebp - 0x64], 0x77
mov byte [ebp - 0x63], 0x11
mov byte [ebp - 0x62], 0x44
mov byte [ebp - 0x61], 0x93
mov byte [ebp - 0x60], 0x20
mov byte [ebp - 0x5f], 0x79
mov byte [ebp - 0x5e], 0x21
mov byte [ebp - 0x5d], 6
mov byte [ebp - 0x5c], 0x46
mov byte [ebp - 0x5b], 0
mov byte [ebp - 0x5a], 0x40
mov byte [ebp - 0x59], 3
mov byte [ebp - 0x58], 0x43
mov byte [ebp - 0x57], 1
mov byte [ebp - 0x56], 0x49
and dword [ebp - 0x24], 0
and dword [ebp - 0x118], 0
jmp 0x40fc4e
mov eax, dword [ebp - 0x24]
inc eax
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x23
jae 0x40fd0b
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x78]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x24], eax
jne 0x40fcaf
push 0x1c91
lea eax, [ebp - 0x118]
push eax
push 1
push 0x13fe
push 1
call fcn.0040e6f5
add esp, 0x14
push 0x2c9c
push 1
push 0x6f77
lea eax, [ebp - 0x24]
push eax
push 0
push 0x7f0d
push 0x36c5
call fcn.0040e76b
add esp, 0x1c
jmp 0x40fc46
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x77]
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x118]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x120], eax
push 0x4df8
push 1
push 0x3fff
push 0x3b92
push 1
push 0x2043
lea eax, [ebp - 0x120]
push eax
call fcn.0040e76b
add esp, 0x1c
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x78]
mov cl, byte [ebp - 0x120]
mov byte [ebp + eax - 0x15c], cl
jmp 0x40fc46
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x15c], 0
push 0xa
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.004120d3
xor edx, edx
mov ecx, eax
call fcn.004011ae
pop ecx
mov dword [ebp - 0x144], eax
lea ecx, [ebp - 0x1ec]
call fcn.0041213e
and dword [ebp - 0x48], 0
jmp 0x40fd55
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xb
jae 0x40fd68
mov eax, dword [ebp - 0x48]
mov byte [ebp + eax - 0x15c], 0
jmp 0x40fd4e
push dword [ebp - 0x144]
push dword [ebp - 0x130]
call fcn.00404974
pop ecx
pop ecx
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x114]
mov dword [eax + 8], ecx
push 0x37a3
push 0x7293
push 1
lea eax, [ebp - 4]
push eax
push 0
push 0x208
push 0x3450
push 0x5d40
push 0x6e19
push 0x6cef
lea eax, [ebp - 0x114]
push eax
push 0
push 0x607b
call fcn.0040e83f
add esp, 0x34
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jbe 0x40fe21
push 1
push 0x16ed
push 0
push 0x318f
push 0x71c8
push 0x5cbc
push 0x6d6d
push 0x18c3
push 0x2e3c
push 0x813
lea eax, [ebp - 4]
push eax
push 0x400f
lea eax, [ebp - 0x30]
push eax
push 0x5140
call fcn.0040f6af
add esp, 0x38
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x34], 0
jmp 0x40fe43
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jge 0x40ff07
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x34], eax
jae 0x40fe7a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0xf4], eax
jmp 0x40febb
lea eax, [ebp - 0xf4]
push eax
push 0xdd7
push 1
push 0x240f
push 1
push 0x30b7
push 0x2a5f
lea eax, [ebp - 0x108]
push eax
push 0x50
push 0x2416
push 0x6737
push 1
push 0x5431
call fcn.0040e83f
add esp, 0x34
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xf4]
mov dword [ecx + eax], edx
push 0
push 1
push 0x6809
push 1
push 0x72e4
push 0x722f
push 0x5a7e
push 0x18ce
lea eax, [ebp - 8]
push eax
push 0x7924
push 0x5e5b
call fcn.00408feb
add esp, 0x2c
jmp 0x40fe3c
push 0x450
lea eax, [ebp - 0x30]
push eax
push 1
push 0x5276
push 1
push 0x5ab7
lea eax, [ebp - 4]
push eax
push 0x6b37
push 0x4f22
push 0x1b64
push 0x30fb
push 0
push 0x7259
call fcn.0040e83f
add esp, 0x34
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
push 0x1ef6
push 0x4f7c
push 0
push 0x3061
push 1
lea eax, [ebp - 0x14]
push eax
push 0x2b3d
push 0x23e1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x6bef
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.0040e83f
add esp, 0x34
push 1
push 1
lea eax, [ebp - 8]
push eax
push 1
push 0x7e96
push 0x4c88
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x7f0f
push 0x482c
push 0x6a03
call fcn.00408feb
add esp, 0x2c
push 0x6ed5
push 0x6ac3
push 1
push 0x3440
push 0x7e6
push 0x1ad4
push 0xdf1
lea eax, [ebp - 0x30]
push eax
push 0x6b96
push 0x14a9
push 0x62ea
push 0
lea eax, [ebp - 4]
push eax
call fcn.0040d1b5
add esp, 0x34
and dword [ebp - 0x50], 0
jmp 0x41000e
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x2c]
jge 0x410086
push 1
push 1
lea eax, [ebp - 4]
push eax
push 0x3033
push 0
lea eax, [ebp - 0x14]
push eax
push 0x2c7d
push 0x5c32
push 0xc8e
push 0x5a8b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x6e64
push 0x5254
push 0x2b9b
push 0x77ab
lea eax, [ebp - 8]
push eax
call fcn.0040eedf
add esp, 0x44
push 0x651e
push 0x5de1
push 1
push 0x2ad
push 0
lea eax, [ebp - 8]
push eax
call fcn.0040f814
add esp, 0x18
jmp 0x410007
mov eax, dword [ebp - 0x2c]
shl eax, 1
mov ecx, dword [ebp - 8]
sub ecx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x174]
call fcn.004120d3
lea ecx, [ebp - 0x174]
call fcn.00412182
mov dword [ebp - 0x10c], eax
push dword [ebp - 0x10c]
mov eax, dword [ebp - 0x10c]
shr eax, 1
push eax
call fcn.00404974
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
mov byte [ebp - 0xa8], 2
mov byte [ebp - 0xa7], 0x6d
mov byte [ebp - 0xa6], 0
mov byte [ebp - 0xa5], 0x31
mov byte [ebp - 0xa4], 1
mov byte [ebp - 0xa3], 0x69
mov byte [ebp - 0xa2], 0x25
mov byte [ebp - 0xa1], 0xbe
mov byte [ebp - 0xa0], 0xaa
mov byte [ebp - 0x9f], 0xc3
mov byte [ebp - 0x9e], 0x8e
mov byte [ebp - 0x9d], 0xd7
mov byte [ebp - 0x9c], 0x30
mov byte [ebp - 0x9b], 0xf6
mov byte [ebp - 0x9a], 0xe7
mov byte [ebp - 0x99], 0x3c
mov byte [ebp - 0x98], 0xf2
mov byte [ebp - 0x97], 0x1e
mov byte [ebp - 0x96], 0x62
mov byte [ebp - 0x95], 0x2b
mov byte [ebp - 0x94], 0x42
mov byte [ebp - 0x93], 0x14
mov byte [ebp - 0x92], 0xa
mov byte [ebp - 0x91], 0xd5
mov byte [ebp - 0x90], 0xa0
mov byte [ebp - 0x8f], 0x2a
mov byte [ebp - 0x8e], 0x78
mov byte [ebp - 0x8d], 0xbe
mov byte [ebp - 0x8c], 0x8c
mov byte [ebp - 0x8b], 0xb1
mov byte [ebp - 0x8a], 0x46
mov byte [ebp - 0x89], 0x66
mov byte [ebp - 0x88], 0x98
mov byte [ebp - 0x87], 0xbf
mov byte [ebp - 0x86], 0xc7
mov byte [ebp - 0x85], 0x29
mov byte [ebp - 0x84], 0xc1
mov byte [ebp - 0x83], 0x2f
mov byte [ebp - 0x82], 0xf5
mov byte [ebp - 0x81], 0x64
mov byte [ebp - 0x80], 0xff
mov byte [ebp - 0x7f], 0xe8
mov byte [ebp - 0x7e], 0xab
mov byte [ebp - 0x7d], 3
mov byte [ebp - 0x7c], 0x73
and dword [ebp - 0x1c], 0
and dword [ebp - 0xe8], 0
jmp 0x410219
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2d
jae 0x4102f5
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xa8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x4102ad
push 0x7bab
push 0x4e95
push 0x48fd
push 0x1a88
push 0xae9
push 0xf6c
push 1
push 0
lea eax, [ebp - 0xe8]
push eax
push 0x78d1
push 0x5412
call fcn.0040f59f
add esp, 0x2c
push 0x62fb
push 0x7c1f
push 0x5c10
push 0x457b
push 0xe19
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x620a
push 0x57c4
push 1
call fcn.0040ed3b
add esp, 0x28
jmp 0x410211
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0xa7]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xe8]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jge 0x4102db
mov eax, dword [ebp - 0x3c]
add eax, 0x100
mov dword [ebp - 0x3c], eax
jmp 0x4102c8
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0xa8]
mov cl, byte [ebp - 0x3c]
mov byte [ebp + eax - 0xe4], cl
jmp 0x410211
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0xe4], 0
cmp dword [ebp - 0x38], 4
jle 0x410353
or dword [ebp - 0xc], 1
or dword [ebp - 0xc], 2
or dword [ebp - 0xc], 4
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004120d3
push eax
mov eax, dword [ebp - 0x38]
sub eax, 4
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.00408520
pop ecx
pop ecx
mov edx, eax
lea ecx, [ebp - 0x204]
call fcn.00413135
pop ecx
mov dword [ebp - 0x11c], eax
jmp 0x41036e
or dword [ebp - 0xc], 8
push dword [ebp - 0x38]
lea eax, [ebp - 0x1d4]
push eax
call fcn.00408520
pop ecx
pop ecx
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x12c], eax
push dword [ebp - 0x12c]
lea ecx, [ebp - 0x1a4]
call fcn.004120f6
mov eax, dword [ebp - 0xc]
and eax, 8
je 0x4103a2
and dword [ebp - 0xc], 0xfffffff7
lea ecx, [ebp - 0x1d4]
call fcn.0041213e
mov eax, dword [ebp - 0xc]
and eax, 4
je 0x4103b9
and dword [ebp - 0xc], 0xfffffffb
lea ecx, [ebp - 0x204]
call fcn.0041213e
mov eax, dword [ebp - 0xc]
and eax, 2
je 0x4103d0
and dword [ebp - 0xc], 0xfffffffd
lea ecx, [ebp - 0x1bc]
call fcn.0041213e
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x4103e7
and dword [ebp - 0xc], 0xfffffffe
lea ecx, [ebp - 0x21c]
call fcn.0041213e
and dword [ebp - 0x4c], 0
jmp 0x4103f4
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 5
jae 0x410407
mov eax, dword [ebp - 0x4c]
mov byte [ebp + eax - 0xe4], 0
jmp 0x4103ed
push 1
push 1
push 0x229b
push 0x37b1
push 1
push 0x2038
lea eax, [ebp - 8]
push eax
push 0x15a6
push 0x7517
push 0x65d4
push 0x551b
push 0x64d9
push 0x5157
push 0x6c
push 0x1f22
lea eax, [ebp - 4]
push eax
push 0x1ddd
call fcn.0040eedf
add esp, 0x44
push 0x7bf1
push 0x7dc6
push 1
lea eax, [ebp - 0x1a4]
push eax
push 0x1818
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6818
lea eax, [ebp - 0x14]
push eax
push 0x34a8
lea eax, [ebp - 4]
push eax
push 1
push 0x23d6
call fcn.0040d1b5
add esp, 0x34
push 0x32e5
lea eax, [ebp - 0x38]
push eax
push 0x425e
push 1
lea eax, [ebp - 8]
push eax
push 0x318f
push 0x622
push 1
push 0x75ff
push 0x5aca
call fcn.0040f1ae
add esp, 0x28
push 0x1d71
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x82b
lea eax, [ebp - 8]
push eax
push 1
push 0x6e06
call fcn.0040e3d0
add esp, 0x1c
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jbe 0x410553
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 4]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x410527
mov dword [ebp - 0x104], 0xc
jmp 0x410545
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 4]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xec], eax
jmp 0x41055a
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
and dword [ebp - 0x40], 0
jmp 0x410573
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax + 0x18]
jae 0x4106b3
push dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf0]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.00404974
pop ecx
pop ecx
mov dword [ebp - 0xdc], eax
push dword [ebp - 0xdc]
lea eax, [ebp - 0x18c]
push eax
call fcn.00408520
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
push 0x4b31
lea eax, [ebp - 0x40]
push eax
push 1
push 0x24e5
push 0x6d58
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 0x422b
call fcn.0040f2c1
add esp, 0x2c
push 0x6d45
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x7e08
push 0x5db6
push 0x15ba
push 1
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0xdc]
push eax
push 0x1ff1
push 1
lea eax, [ebp - 8]
push eax
push 0x3981
call fcn.0040f427
add esp, 0x34
push 0x6fdb
lea eax, [ebp - 8]
push eax
push 0x4704
push 0x653a
lea eax, [ebp - 0xdc]
push eax
push 1
push 1
call fcn.0040e482
add esp, 0x1c
push 0x50e6
push 0x5b8d
lea eax, [ebp - 8]
push eax
push 0x25c3
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push 1
push 0x16f6
push 0x441b
push 0x678
call fcn.0040f59f
add esp, 0x2c
push 0x7b38
push 0x572b
push 0
lea eax, [ebp - 8]
push eax
push 1
call fcn.0040e6f5
add esp, 0x14
lea ecx, [ebp - 0x18c]
call fcn.0041213e
jmp 0x41056c
and dword [ebp - 0xf8], 0
push 1
push 0x1e4a
push 1
lea eax, [ebp - 0x10]
push eax
push 0x30e4
lea eax, [ebp - 8]
push eax
push 0xc30
push 0x1403
lea eax, [ebp - 0x18]
push eax
push 0x38d0
push 0x5178
lea eax, [ebp - 0x14]
push eax
push 0x4e6a
lea eax, [ebp - 0xf8]
push eax
call fcn.0040f6af
add esp, 0x38
push 1
push 0xfb6
push 1
lea eax, [ebp - 0x18]
push eax
push 0x5b82
lea eax, [ebp - 0xf8]
push eax
push 0x1bf2
push 0x7606
push 0x4e75
push 0x4a67
push 0x5b86
push 0x554d
call fcn.0040e51b
add esp, 0x30
lea ecx, [ebp - 0x1a4]
call fcn.0041213e
lea ecx, [ebp - 0x174]
call fcn.0041213e
jmp 0x410781
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov eax, dword [eax]
inc eax
inc eax
mov ecx, dword [ebp - 0x100]
mov dword [ecx], eax
jmp 0x4107b0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x140], eax
push 1
push 0x2d32
push dword [ebp - 0x140]
push dword [ebp - 0x138]
call fcn.0040e45d
add esp, 0x10
mov esp, ebp
pop ebp
ret