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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
and dword [ebp - 4], 0
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x475a23
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x12c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
movzx eax, byte [eax]
test eax, eax
je 0x4759d3
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x474b3f
jmp 0x475a41
mov eax, dword [ebp - 0xe4]
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 0x474b5e
jmp 0x475a41
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 0x474b7c
jmp 0x475a41
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 - 0xec], eax
push 1
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x1080
lea eax, [ebp - 0x18]
push eax
push 0x590f
push 1
call fcn.00473a0c
add esp, 0x20
cmp dword [ebp - 0x14], 0
jne 0x474bc8
jmp 0x475a41
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
xor ecx, ecx
call fcn.004425e6
push eax
call fcn.00479873
pop ecx
mov byte [ebp - 0x9c], 0
mov byte [ebp - 0x9b], 0x32
mov byte [ebp - 0x9a], 0x14
mov byte [ebp - 0x99], 0x3f
mov byte [ebp - 0x98], 0xd3
mov byte [ebp - 0x97], 0x7b
mov byte [ebp - 0x96], 8
mov byte [ebp - 0x95], 0xbf
mov byte [ebp - 0x94], 0xb6
mov byte [ebp - 0x93], 0xf1
mov byte [ebp - 0x92], 0x8c
mov byte [ebp - 0x91], 0xc5
mov byte [ebp - 0x90], 0x31
mov byte [ebp - 0x8f], 0x17
mov byte [ebp - 0x8e], 0x94
mov byte [ebp - 0x8d], 0x7e
mov byte [ebp - 0x8c], 0xcf
mov byte [ebp - 0x8b], 0x1c
mov byte [ebp - 0x8a], 0x26
mov byte [ebp - 0x89], 0x2c
mov byte [ebp - 0x88], 0xdd
mov byte [ebp - 0x87], 0xec
mov byte [ebp - 0x86], 8
mov byte [ebp - 0x85], 0x33
mov byte [ebp - 0x84], 1
mov byte [ebp - 0x83], 0x3a
mov byte [ebp - 0x82], 3
mov byte [ebp - 0x81], 0x3e
mov byte [ebp - 0x80], 2
mov byte [ebp - 0x7f], 0x40
mov byte [ebp - 0x7e], 6
mov byte [ebp - 0x7d], 0x3c
mov byte [ebp - 0x7c], 4
mov byte [ebp - 0x7b], 0x45
mov byte [ebp - 0x7a], 5
mov byte [ebp - 0x79], 0x40
mov byte [ebp - 0x78], 7
mov byte [ebp - 0x77], 0x47
mov byte [ebp - 0x76], 9
mov byte [ebp - 0x75], 0x43
and dword [ebp - 0x20], 0
and dword [ebp - 0x108], 0
jmp 0x474ced
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x28
jae 0x474da5
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x9c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x474d3e
mov dword [ebp - 0x108], 0x14
push 1
push 0x4aa8
push 0x4502
push 0x530a
push 0x1d1c
lea eax, [ebp - 0x20]
push eax
push 1
call fcn.0046bff9
add esp, 0x1c
jmp 0x474ce5
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x9b]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x108]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x110]
push eax
push 1
push 0x2b16
push 0x25e7
push 0x504b
push 0x5e0
push 0x3bc5
push 1
call fcn.00473b46
add esp, 0x20
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x9c]
mov cl, byte [ebp - 0x110]
mov byte [ebp + eax - 0x158], cl
jmp 0x474ce5
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x158], 0
push 0xa
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00425bb1
xor edx, edx
mov ecx, eax
call fcn.0046072f
pop ecx
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x23c]
call fcn.00425bd4
and dword [ebp - 0x44], 0
jmp 0x474def
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xb
jae 0x474e02
mov eax, dword [ebp - 0x44]
mov byte [ebp + eax - 0x158], 0
jmp 0x474de8
mov byte [ebp - 0xd0], 9
mov byte [ebp - 0xcf], 0x31
mov byte [ebp - 0xce], 6
mov byte [ebp - 0xcd], 0x3c
mov byte [ebp - 0xcc], 3
mov byte [ebp - 0xcb], 0x37
mov byte [ebp - 0xca], 2
mov byte [ebp - 0xc9], 0x3e
mov byte [ebp - 0xc8], 8
mov byte [ebp - 0xc7], 0x39
mov byte [ebp - 0xc6], 7
mov byte [ebp - 0xc5], 0x41
mov byte [ebp - 0xc4], 1
mov byte [ebp - 0xc3], 0x43
mov byte [ebp - 0xc2], 5
mov byte [ebp - 0xc1], 0x40
mov byte [ebp - 0xc0], 4
mov byte [ebp - 0xbf], 0x45
mov byte [ebp - 0xbe], 0
mov byte [ebp - 0xbd], 0x44
mov byte [ebp - 0xbc], 0x1f
mov byte [ebp - 0xbb], 0xc1
mov byte [ebp - 0xba], 0x79
mov byte [ebp - 0xb9], 0xf8
mov byte [ebp - 0xb8], 0x79
mov byte [ebp - 0xb7], 0x2d
mov byte [ebp - 0xb6], pe_nt_image_headers32
mov byte [ebp - 0xb5], 0x2f
mov byte [ebp - 0xb4], 0x10
mov byte [ebp - 0xb3], 0xee
mov byte [ebp - 0xb2], 0x41
mov byte [ebp - 0xb1], 0x32
mov byte [ebp - 0xb0], 0x97
mov byte [ebp - 0xaf], 0xec
mov byte [ebp - 0xae], 0xce
mov byte [ebp - 0xad], 0x39
mov byte [ebp - 0xac], 0xb1
mov byte [ebp - 0xab], 0x50
mov byte [ebp - 0xaa], 0xd1
mov byte [ebp - 0xa9], 0xe6
mov byte [ebp - 0xa8], 0xcc
mov byte [ebp - 0xa7], 0xdd
mov byte [ebp - 0xa6], 0xd0
mov byte [ebp - 0xa5], 0x32
mov byte [ebp - 0xa4], 0x48
mov byte [ebp - 0xa3], 0x83
mov byte [ebp - 0xa2], 0xce
mov byte [ebp - 0xa1], 0xa8
mov byte [ebp - 0xa0], 0xdb
mov byte [ebp - 0x9f], 0x31
mov byte [ebp - 0x9e], 0xcc
and dword [ebp - 0x24], 0
and dword [ebp - 0x118], 0
jmp 0x474f7c
mov eax, dword [ebp - 0x24]
inc eax
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x33
jae 0x47506d
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xd0]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x24], eax
jne 0x475010
push 0x5829
push 0x4699
lea eax, [ebp - 0x118]
push eax
push 0x7890
push 0
push 0x5c39
push 1
push 0x48e1
push 0x7b86
push 0x6175
push 0x7cc0
push 0x3ff9
call fcn.00473ee0
add esp, 0x30
push 0
push 0x7c63
push 1
push 0x12d2
push 0x6202
lea eax, [ebp - 0x24]
push eax
push 0x6518
push 0x39c0
push 0x500d
call fcn.00473e2f
add esp, 0x24
jmp 0x474f74
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0xcf]
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x118]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x10c]
push eax
push 0x3e9f
push 0xcaa
push 1
push 0
push 0x4fe
call fcn.00473fef
add esp, 0x18
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0xd0]
mov cl, byte [ebp - 0x10c]
mov byte [ebp + eax - 0x164], cl
jmp 0x474f74
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x164], 0
push 0xa
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.00425bb1
xor edx, edx
mov ecx, eax
call fcn.0046072f
pop ecx
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x1f4]
call fcn.00425bd4
and dword [ebp - 0x40], 0
jmp 0x4750b7
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xb
jae 0x4750ca
mov eax, dword [ebp - 0x40]
mov byte [ebp + eax - 0x164], 0
jmp 0x4750b0
push dword [ebp - 0x14c]
push dword [ebp - 0x138]
call fcn.00463ebb
pop ecx
pop ecx
mov dword [ebp - 0x100], eax
push 0x2c92
push 1
lea eax, [ebp - 0x28]
push eax
push 0x3f76
lea eax, [ebp - 0x100]
push eax
push 1
push 0xd0d
push 0x187e
call fcn.00473d8d
add esp, 0x20
lea eax, [ebp - 0x100]
push eax
push 1
push 0x6c67
push 0
push 0x3f32
lea eax, [ebp - 8]
push eax
call fcn.00474aca
add esp, 0x18
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jbe 0x47514e
mov eax, dword [ebp - 8]
push dword [eax + 0x18]
push 0
call fcn.00463ebb
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x4c], 0
jmp 0x475170
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x2c]
jge 0x475211
push 0x1211
lea eax, [ebp - 8]
push eax
push 0
push 0x7159
lea eax, [ebp - 0x14]
push eax
push 0x1d52
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x9b
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x148]
push eax
push 0
call fcn.00473c0f
add esp, 0x30
lea eax, [ebp - 0x10]
push eax
push 1
push 0
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x3a34
push 0x6d00
push 0x5964
lea eax, [ebp - 0xc]
push eax
call fcn.004746aa
add esp, 0x24
lea eax, [ebp - 0xc]
push eax
push 0x272b
push 0x2d80
push 0x26e7
push 0x20b9
push 1
push 1
call fcn.0046e291
add esp, 0x1c
jmp 0x475169
push 1
lea eax, [ebp - 8]
push eax
push 1
push 0x42b
push 0x4479
push 0x2576
push 0x6a9
lea eax, [ebp - 0x30]
push eax
push 0x1805
call fcn.00473e2f
add esp, 0x24
push 0x1a5a
push 0x7eed
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x2245
push 1
push 0x604
push 0
lea eax, [ebp - 8]
push eax
push 1
push 0x771b
push 0x6ed6
push 0x7f81
push 0x5e8f
call fcn.004740db
add esp, 0x38
push 0x6426
push 0x6819
push 1
push 0x2c04
push 1
lea eax, [ebp - 0x14]
push eax
push 0
push 0x3bb1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x672e
lea eax, [ebp - 0x10]
push eax
call fcn.00473735
add esp, 0x30
push 0x313e
push 0
push 1
lea eax, [ebp - 0xc]
push eax
push 0x477
push 0x3c23
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004749d5
add esp, 0x20
push 0x597
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x5011
call fcn.00473fef
add esp, 0x18
and dword [ebp - 0x48], 0
jmp 0x475309
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x2c]
jge 0x475397
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x230
push 0x3422
push 1
push 0x1497
push 1
push 0x654
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x275f
lea eax, [ebp - 8]
push eax
call fcn.00473ee0
add esp, 0x30
push 0x12d9
lea eax, [ebp - 0xc]
push eax
push 0x5904
push 0x575c
push 0x33bf
push 1
push 0x202e
push 1
push 0x3977
push 1
push 0x2105
push 0x582c
push 0x5eae
push 0x698c
call fcn.004740db
add esp, 0x38
jmp 0x475302
push 0x5aea
push 0
push 0x5607
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x29ae
push 0x2520
push 0x7b5d
push 0x3e46
push 0x7075
push 0x29a3
push 1
lea eax, [ebp - 8]
push eax
call fcn.00474855
add esp, 0x34
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x194]
call fcn.00425bb1
lea ecx, [ebp - 0x194]
call fcn.00425c2b
mov dword [ebp - 0x104], eax
push dword [ebp - 0x104]
mov eax, dword [ebp - 0x104]
shr eax, 1
push eax
call fcn.00463ebb
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x74], 0
mov byte [ebp - 0x73], 0x2f
mov byte [ebp - 0x72], 0x1e
mov byte [ebp - 0x71], 0x6c
mov byte [ebp - 0x70], 8
mov byte [ebp - 0x6f], 0x3c
mov byte [ebp - 0x6e], 0xfb
mov byte [ebp - 0x6d], 0x58
mov byte [ebp - 0x6c], 0x60
mov byte [ebp - 0x6b], 0x21
mov byte [ebp - 0x6a], 0xc8
mov byte [ebp - 0x69], 0xc5
mov byte [ebp - 0x68], 0xe6
mov byte [ebp - 0x67], 0x66
mov byte [ebp - 0x66], 0xab
mov byte [ebp - 0x65], 0x40
mov byte [ebp - 0x64], 0x43
mov byte [ebp - 0x63], 0x26
mov byte [ebp - 0x62], 0x28
mov byte [ebp - 0x61], 0xd5
mov byte [ebp - 0x60], 0xa3
mov byte [ebp - 0x5f], 0xeb
mov byte [ebp - 0x5e], 0x6e
mov byte [ebp - 0x5d], 0x82
mov byte [ebp - 0x5c], 0x5b
mov byte [ebp - 0x5b], 0xc4
mov byte [ebp - 0x5a], 0x22
mov byte [ebp - 0x59], 0xec
mov byte [ebp - 0x58], 0xce
mov byte [ebp - 0x57], 0x97
mov byte [ebp - 0x56], 0x5e
mov byte [ebp - 0x55], 0x51
mov byte [ebp - 0x54], 3
mov byte [ebp - 0x53], 0x6f
mov byte [ebp - 0x52], 2
mov byte [ebp - 0x51], 0x71
mov byte [ebp - 0x50], 1
mov byte [ebp - 0x4f], 0x6b
and dword [ebp - 0x1c], 0
and dword [ebp - 0xf4], 0
jmp 0x4754c6
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x26
jae 0x4755ae
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x74]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x47554d
push 0x213b
push 1
push 1
push 0x712f
push 0x7e2b
push 0x7d7c
lea eax, [ebp - 0xf4]
push eax
push 0x346c
push 0xb43
call fcn.004746aa
add esp, 0x24
push 0x169a
push 0x6559
push 0x17b1
push 0x4355
push 0x7be6
push 0x700a
push 0x6a04
push 1
push 1
lea eax, [ebp - 0x1c]
push eax
call fcn.0047476f
add esp, 0x28
jmp 0x4754be
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x73]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xf4]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x114], eax
push 0
push 0x3c74
push 0x208d
push 0x547d
push 0x1e4e
push 0x787c
lea eax, [ebp - 0x114]
push eax
push 1
call fcn.00473a0c
add esp, 0x20
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x74]
mov cl, byte [ebp - 0x114]
mov byte [ebp + eax - 0xdc], cl
jmp 0x4754be
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0xdc], 0
cmp dword [ebp - 0x34], 4
jle 0x47560c
or dword [ebp - 4], 1
or dword [ebp - 4], 2
or dword [ebp - 4], 4
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x224]
call fcn.00425bb1
push eax
mov eax, dword [ebp - 0x34]
sub eax, 4
push eax
lea eax, [ebp - 0x1c4]
push eax
call fcn.0046b427
pop ecx
pop ecx
mov edx, eax
lea ecx, [ebp - 0x20c]
call fcn.00477ae3
pop ecx
mov dword [ebp - 0xfc], eax
jmp 0x475627
or dword [ebp - 4], 8
push dword [ebp - 0x34]
lea eax, [ebp - 0x1dc]
push eax
call fcn.0046b427
pop ecx
pop ecx
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x144], eax
push dword [ebp - 0x144]
lea ecx, [ebp - 0x1ac]
call fcn.004776d8
mov eax, dword [ebp - 4]
and eax, 8
je 0x47565b
and dword [ebp - 4], 0xfffffff7
lea ecx, [ebp - 0x1dc]
call fcn.00425bd4
mov eax, dword [ebp - 4]
and eax, 4
je 0x475672
and dword [ebp - 4], 0xfffffffb
lea ecx, [ebp - 0x20c]
call fcn.00425bd4
mov eax, dword [ebp - 4]
and eax, 2
je 0x475689
and dword [ebp - 4], 0xfffffffd
lea ecx, [ebp - 0x1c4]
call fcn.00425bd4
mov eax, dword [ebp - 4]
and eax, 1
je 0x4756a0
and dword [ebp - 4], 0xfffffffe
lea ecx, [ebp - 0x224]
call fcn.00425bd4
and dword [ebp - 0x38], 0
jmp 0x4756ad
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 5
jae 0x4756c0
mov eax, dword [ebp - 0x38]
mov byte [ebp + eax - 0xdc], 0
jmp 0x4756a6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x2677
push 1
push 0x3390
call fcn.0047240f
add esp, 0x14
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5d2e
push 1
lea eax, [ebp - 0x1ac]
push eax
push 0x2fc8
push 0
lea eax, [ebp - 0x10]
push eax
push 0x5606
lea eax, [ebp - 8]
push eax
call fcn.004738a0
add esp, 0x28
lea eax, [ebp - 0x34]
push eax
push 0x48cb
push 0x1ca2
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push 0x27e7
push 0x64b5
call fcn.00473248
add esp, 0x20
push 0x3a3a
push 0
push 0x22a0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x558a
push 1
call fcn.00473b46
add esp, 0x20
lea eax, [ebp - 0xc]
push eax
push 0x7ef1
push 1
push 0x21c9
push 1
push 0x77c3
push 1
push 0x655
push 0x28bc
push 0x44c3
push 0x7062
push 0xf19
call fcn.00473735
add esp, 0x30
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jbe 0x4757f5
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 8]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x4757c9
mov dword [ebp - 0xe0], 0xc
jmp 0x4757e7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 8]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe8], eax
jmp 0x4757fc
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], eax
and dword [ebp - 0x3c], 0
jmp 0x475815
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax + 0x18]
jae 0x475961
push dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf0]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.00463ebb
pop ecx
pop ecx
mov dword [ebp - 0xd4], eax
push dword [ebp - 0xd4]
lea eax, [ebp - 0x17c]
push eax
call fcn.0046b427
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x5718
lea eax, [ebp - 0x10]
push eax
push 0x582
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0x16b4
call fcn.0047476f
add esp, 0x28
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x5623
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xd4]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 0x51e1
push 0x618c
call fcn.00474241
add esp, 0x28
push 0x1951
push 0x561d
lea eax, [ebp - 0xd4]
push eax
push 1
push 0x2ec0
push 0xbc7
push 1
push 0x5001
lea eax, [ebp - 0xc]
push eax
push 0xde
call fcn.004738a0
add esp, 0x28
push 0x34
push 0x31b7
push 1
lea eax, [ebp - 0xc]
push eax
push 0x3a53
lea eax, [ebp - 0x14]
push eax
push 0x916
push 0x2132
lea eax, [ebp - 0x10]
push eax
push 0x82d
push 0x7c4b
push 0
call fcn.00473c0f
add esp, 0x30
push 0x175c
push 0
push 0x347d
push 0x6a15
push 0x139c
push 1
push 0x423c
lea eax, [ebp - 0xc]
push eax
call fcn.00473d8d
add esp, 0x20
lea ecx, [ebp - 0x17c]
call fcn.00425bd4
jmp 0x47580e
and dword [ebp - 0xf8], 0
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 0x75d5
push 0x2d52
push 0x7414
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xf8]
push eax
push 0x5417
push 0x23dd
lea eax, [ebp - 0xc]
push eax
push 1
push 0x2c0f
call fcn.00474855
add esp, 0x34
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x1ac]
call fcn.00425bd4
lea ecx, [ebp - 0x194]
call fcn.00425bd4
jmp 0x475a21
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x13c], eax
push 0xf
push 5
call fcn.00463ebb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x13c]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x120]
mov ecx, dword [ecx]
mov dword [ecx + 4], eax
jmp 0x475a41
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x124], eax
push 1
push dword [ebp - 0x124]
push 0x5a0e
call fcn.0046e1d2
add esp, 0xc
mov esp, ebp
pop ebp
ret