Function at 0x477600
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Check os version
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c82af
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x7c]
xor ebp, ebp
mov dword [esp + 0x74], ebp
mov dword [esi + 4], 0x4a39a2
mov dword [esi + 8], 0x4a3cd1
mov dword [esi + 0xc], fcn.004a38c5
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], 0x1fff8
mov dword [esi], 0x4dba34
lea eax, [esi + 0x18]
push eax
mov byte [esp + 0x78], 5
call fcn.0045ccd0
lea eax, [esi + 0x30]
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x78], 6
call fcn.0045c950
lea ecx, [esi + 0x48]
push ecx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x78], 7
call fcn.0045cb60
mov byte [esp + 0x74], 8
mov ecx, dword [esp + 0x98]
sub ecx, dword [esp + 0x94]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [esi + 0x60]
push eax
push ecx
call fcn.0045c770
mov byte [esp + 0x74], 9
mov eax, dword [esp + 0xc8]
sub eax, dword [esp + 0xc4]
lea ecx, [esi + 0x78]
sar eax, 2
push eax
push ecx
call fcn.0045c770
lea eax, [esi + 0x90]
push eax
mov byte [esp + 0x78], 0xa
call fcn.0045ccd0
mov byte [esp + 0x74], 0xb
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0xac]
lea ecx, [esi + 0xa8]
sar eax, 4
push eax
push ecx
call fcn.0045c770
mov byte [esp + 0x74], 0xc
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0xac]
lea ecx, [esi + 0xc0]
sar eax, 4
push eax
push ecx
call fcn.0045c770
lea eax, [esi + 0xd8]
push eax
mov byte [esp + 0x78], 0xd
call fcn.0045ccd0
mov eax, dword [esp + 0x84]
mov byte [esp + 0x74], 0xe
mov ecx, dword [esp + 0x98]
sub ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x80]
mov dword [esi + 0xf4], eax
mov dword [esi + 0xf0], edx
mov eax, 0x2e8ba2e9
imul ecx
mov eax, dword [esp + 0xc8]
sub eax, dword [esp + 0xc4]
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0xb0]
sub edx, dword [esp + 0xac]
sar eax, 2
mov dword [esi + 0x100], eax
lea eax, [esi + 0x114]
sar edx, 4
push eax
mov dword [esi + 0xf8], ecx
mov dword [esi + 0xfc], edx
mov byte [esi + 0x108], 0
mov dword [esi + 0x110], ebp
call fcn.0045ccd0
lea eax, [esi + 0x12c]
push eax
mov byte [esp + 0x78], 0xf
call fcn.0045ccd0
mov byte [esp + 0x74], 0x10
mov edx, dword [esi + 0xfc]
mov eax, dword [esi + 0xf8]
mov ecx, dword [esi + 0x100]
lea edi, [eax + edx]
lea edi, [edi + ecx + 2]
add ecx, eax
lea edi, [edi + edi*2]
lea eax, [ecx + eax*4]
add edi, edi
lea ecx, [eax + edx*4]
add edi, edi
lea edx, [ecx*4 + 0xc]
mov dword [esi + 0x104], edi
mov dword [esi + 0x10c], edx
mov esi, dword [esp + 0xdc]
cmp esi, dword [esp + 0xe0]
jbe 0x477835
call fcn.004ac063
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0xf4]
mov dword [esp + 0x20], eax
cmp esi, dword [esp + 0xf8]
jbe 0x477859
call fcn.004ac063
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x98]
sub ecx, dword [esp + 0x94]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x2c], esi
je 0x47846a
xor edi, edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x18], edi
cmp ebp, eax
jb 0x4778a3
call fcn.004ac063
mov edx, dword [esp + 0x94]
mov eax, ebp
imul eax, eax, 0x2c
mov dword [esp + 0x84], eax
mov eax, dword [eax + edx]
and eax, 0xffffff8f
cmp eax, 5
jne 0x4779c7
mov esi, dword [esp + 0xe0]
cmp dword [esp + 0xdc], esi
jbe 0x4778da
call fcn.004ac063
mov ebx, dword [esp + 0x20]
cmp ebx, edi
je 0x4778eb
cmp ebx, dword [esp + 0xd0]
je 0x4778f0
call fcn.004ac063
cmp dword [esp + 0x24], esi
je 0x4779c7
mov esi, dword [esp + 0xf8]
cmp dword [esp + 0xf4], esi
jbe 0x47790f
call fcn.004ac063
mov edi, dword [esp + 0x28]
test edi, edi
je 0x477920
cmp edi, dword [esp + 0xe8]
je 0x477925
call fcn.004ac063
cmp dword [esp + 0x2c], esi
je 0x4779c7
test ebx, ebx
jne 0x477a4c
call fcn.004ac063
xor eax, eax
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x10]
jb 0x47794c
call fcn.004ac063
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov dword [esp + 0x80], eax
test edi, edi
jne 0x477a53
call fcn.004ac063
xor eax, eax
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [eax + 0x10]
jb 0x477976
call fcn.004ac063
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov dword [esp + 0x18], eax
test ebx, ebx
jne 0x477a5a
call fcn.004ac063
xor eax, eax
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x10]
jb 0x47799d
call fcn.004ac063
mov esi, 4
add dword [esp + 0x24], esi
test edi, edi
jne 0x477a61
call fcn.004ac063
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp edx, dword [eax + 0x10]
jb 0x4779c3
call fcn.004ac063
add dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x98]
mov edi, dword [esp + 0x94]
sub ecx, edi
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x4779f8
call fcn.004ac063
mov edi, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x84]
sub ecx, edi
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea esi, [ebx + edi]
cmp ebp, ecx
jb 0x477a2c
call fcn.004ac063
mov edi, dword [esp + 0x94]
mov ecx, dword [ebx + edi]
mov eax, dword [esi + 0x28]
and ecx, 0xffffff8f
dec ecx
cmp ecx, 4
ja 0x477a68
mov edx, dword [esp + 0x80]
push edx
call fcn.0048b650
mov edi, eax
jmp 0x477a6a
mov eax, dword [ebx]
jmp 0x47793e
mov eax, dword [edi]
jmp 0x477968
mov eax, dword [ebx]
jmp 0x47798f
mov eax, dword [edi]
jmp 0x4779b5
xor edi, edi
mov ecx, dword [esp + 0x98]
sub ecx, dword [esp + 0x94]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], edi
cmp ebp, eax
jb 0x477a96
call fcn.004ac063
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x94]
mov ecx, dword [ecx + edx]
and ecx, 0xffffff8f
dec ecx
cmp ecx, 4
ja 0x477abc
mov eax, dword [esp + 0x18]
push eax
call fcn.0048b730
jmp 0x477abe
xor eax, eax
mov esi, dword [esp + 0x7c]
mov ecx, dword [esi + 0x120]
add esi, 0x114
mov dword [esp + 0x80], eax
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x477ae1
xor eax, eax
jmp 0x477ae9
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
mov ebx, dword [esi + 0x10]
mov edx, ebx
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x477b01
mov dword [ebx], edi
add ebx, 4
mov dword [esi + 0x10], ebx
jmp 0x477b1f
cmp ecx, ebx
jbe 0x477b0a
call fcn.004ac063
mov eax, dword [esi]
push ebx
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov eax, esi
call fcn.00485830
mov edi, dword [esp + 0x7c]
mov ecx, dword [edi + 0x138]
add edi, 0x12c
test ecx, ecx
jne 0x477b37
xor eax, eax
jmp 0x477b3f
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov ebx, dword [edi + 0x10]
mov edx, ebx
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x477b5e
mov eax, dword [esp + 0x80]
mov dword [ebx], eax
add ebx, 4
mov dword [edi + 0x10], ebx
jmp 0x477b7c
cmp ecx, ebx
jbe 0x477b67
call fcn.004ac063
mov eax, dword [edi]
push ebx
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
mov eax, edi
call fcn.00485830
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
cmp ebp, eax
jb 0x477b8e
call fcn.004ac063
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + ebp*4]
lea eax, [ecx + ebp*4]
mov eax, dword [edx + 4]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00484960
mov byte [esp + 0x74], 0x11
mov edi, dword [esp + 0x7c]
lea ecx, [esp + 0x50]
push ecx
add edi, 0x18
call fcn.004848c0
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, esi
sub edx, ecx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x477bf5
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x84]
mov edx, dword [ebx + ecx + 0x14]
sub edx, dword [ebx + ecx + 0x10]
mov edi, dword [esp + 0x7c]
sar edx, 2
add edx, edx
add dword [edi + 0x10c], edx
mov edx, esi
sub edx, ecx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x80], 0
cmp ebp, eax
jb 0x477c4a
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [ebx + ecx]
shr edx, 4
test dl, 1
je 0x477c60
mov dword [esp + 0x80], 4
mov edx, esi
sub edx, ecx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x477c8c
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [ebx + ecx]
shr edx, 5
test dl, 1
jne 0x477cce
mov edx, esi
sub edx, ecx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x477cc3
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [ebx + ecx]
shr edx, 6
test dl, 1
je 0x477cd6
add dword [esp + 0x80], 4
mov edx, esi
sub edx, ecx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x477d02
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
cmp dword [ebx + ecx + 0x28], 0
je 0x477d77
mov edx, esi
sub edx, ecx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x477d35
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [ebx + ecx]
and edx, 0xffffff8f
cmp edx, 4
je 0x477d77
mov edx, esi
sub edx, ecx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x477d6c
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [ebx + ecx]
and edx, 0xffffff8f
cmp edx, 5
jne 0x477d7e
mov byte [edi + 0x108], 1
mov edx, esi
sub edx, ecx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x477daa
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
cmp dword [ebx + ecx + 0x1c], 0
jge 0x477fb7
xor edi, edi
mov dword [esp + 0x18], edi
jmp 0x477dc0
mov edx, esi
sub edx, ecx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x477dec
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + ebx + 0x14]
sub edx, dword [ecx + ebx + 0x10]
sub esi, ecx
sar edx, 2
mov eax, 0x2e8ba2e9
cmp edi, edx
jae 0x477f24
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x477e22
call fcn.004ac063
mov ecx, dword [esp + 0x94]
lea esi, [ecx + ebx + 0x10]
mov ecx, dword [ecx + ebx + 0x14]
sub ecx, dword [esi]
sar ecx, 2
cmp edi, ecx
jb 0x477e38
call fcn.004ac063
mov eax, dword [esp + 0x18]
mov ebx, dword [esi]
mov edi, dword [esp + 0x7c]
add eax, eax
add eax, eax
add ebx, eax
add edi, 0xd8
call fcn.004841e0
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, esi
sub edx, ecx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x477e8d
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x84]
mov edx, dword [ebx + ecx]
mov edi, dword [esp + 0x18]
and edx, 0xffffff8f
cmp edx, 4
jne 0x477ea7
test edi, edi
je 0x477f13
mov edx, esi
sub edx, ecx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x477ed3
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x84]
mov eax, dword [ecx + edx + 0x14]
sub eax, dword [ecx + ebx + 0x10]
lea ebx, [ecx + ebx + 0x10]
sar eax, 2
cmp edi, eax
jb 0x477f00
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [ebx]
mov eax, dword [edx + edi*4]
mov edx, dword [eax*4 + 0x4e1418]
add dword [esp + 0x80], edx
mov ebx, dword [esp + 0x84]
inc edi
mov dword [esp + 0x18], edi
jmp 0x477dc0
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x477f40
call fcn.004ac063
mov ecx, dword [esp + 0x94]
cmp dword [ebx + ecx + 0x1c], 0xffffffff
jne 0x477f4f
add dword [esp + 0x80], 4
mov esi, dword [esp + 0x7c]
mov ecx, dword [esi + 0x9c]
add esi, 0x90
test ecx, ecx
jne 0x477f67
xor eax, eax
jmp 0x477f6f
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
mov edi, dword [esi + 0x10]
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x477f91
mov eax, dword [esp + 0x80]
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x478433
cmp ecx, edi
jbe 0x477f9a
call fcn.004ac063
mov eax, dword [esi]
push edi
push eax
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x4c]
push edx
mov eax, esi
call fcn.0046fa80
jmp 0x478433
mov edx, esi
sub edx, ecx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x477fe3
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edi, dword [ebx + ecx + 0x14]
sub edi, dword [ebx + ecx + 0x10]
mov edx, esi
sub edx, ecx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
sar edi, 2
cmp ebp, eax
jb 0x47801a
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0xac]
mov edx, dword [esp + 0x84]
mov ebx, dword [edx + ecx + 0x1c]
sar eax, 4
cmp ebx, eax
jb 0x47804d
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xac]
shl ebx, 4
sub edi, dword [ebx + edx]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edi
test edi, edi
jle 0x478196
mov edi, edi
sub esi, ecx
mov eax, 0x2e8ba2e9
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x478093
call fcn.004ac063
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x84]
lea esi, [eax + ecx + 0x10]
mov ecx, dword [eax + ecx + 0x14]
sub ecx, dword [esi]
sar ecx, 2
cmp dword [esp + 0x18], ecx
jb 0x4780b2
call fcn.004ac063
mov eax, dword [esp + 0x18]
mov ebx, dword [esi]
mov edi, dword [esp + 0x7c]
add eax, eax
add eax, eax
add ebx, eax
add edi, 0xd8
call fcn.004841e0
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, esi
sub edx, ecx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x478107
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edi, dword [esp + 0x84]
mov edx, dword [edi + ecx]
mov ebx, dword [esp + 0x18]
and edx, 0xffffff8f
cmp edx, 4
jne 0x478121
test ebx, ebx
je 0x478187
mov edx, esi
sub edx, ecx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x47814d
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [edi + ecx + 0x14]
sub edx, dword [edi + ecx + 0x10]
lea edi, [edi + ecx + 4]
sar edx, 2
cmp ebx, edx
jb 0x478173
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov eax, dword [edi + 0xc]
mov edx, dword [eax + ebx*4]
mov eax, dword [edx*4 + 0x4e1418]
add dword [esp + 0x80], eax
inc ebx
cmp ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
jl 0x478070
mov esi, dword [esp + 0x7c]
mov ecx, dword [esi + 0x9c]
add dword [esp + 0x80], 4
add esi, 0x90
test ecx, ecx
jne 0x4781b6
xor eax, eax
jmp 0x4781be
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
mov edi, dword [esi + 0x10]
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x4781dd
mov eax, dword [esp + 0x80]
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x4781fe
cmp ecx, edi
jbe 0x4781e6
call fcn.004ac063
mov eax, dword [esi]
push edi
push eax
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x54]
push edx
mov eax, esi
call fcn.0046fa80
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x80], 0
mov dword [esp + 0x18], eax
jmp 0x478220
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, esi
sub edx, ecx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x47825a
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edi, dword [esp + 0x84]
mov edx, dword [ecx + edi + 0x14]
sub edx, dword [ecx + edi + 0x10]
mov eax, 0x2e8ba2e9
sar edx, 2
cmp dword [esp + 0x18], edx
mov edx, esi
jae 0x478343
sub edx, ecx
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x4782a2
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + edi + 0x14]
sub edx, dword [ecx + edi + 0x10]
lea ebx, [ecx + edi + 0x10]
sar edx, 2
cmp dword [esp + 0x18], edx
jb 0x4782ca
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edi, dword [esp + 0x18]
mov eax, dword [ebx]
add edi, edi
add edi, edi
mov edx, dword [edi + eax]
mov eax, dword [edx*4 + 0x4e1418]
add dword [esp + 0x80], eax
sub esi, ecx
mov eax, 0x2e8ba2e9
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x478308
call fcn.004ac063
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x84]
lea esi, [ecx + eax + 0x10]
mov ecx, dword [ecx + eax + 0x14]
sub ecx, dword [esi]
sar ecx, 2
cmp dword [esp + 0x18], ecx
jb 0x478327
call fcn.004ac063
mov ebx, dword [esi]
add ebx, edi
mov edi, dword [esp + 0x7c]
add edi, 0xd8
call fcn.004841e0
inc dword [esp + 0x18]
jmp 0x478220
sub edx, ecx
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x478368
call fcn.004ac063
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [edi + ecx]
shr edx, 6
test dl, 1
jne 0x47837b
add dword [esp + 0x80], 4
sub esi, ecx
mov eax, 0x2e8ba2e9
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x47839e
call fcn.004ac063
mov ecx, dword [esp + 0x94]
mov esi, dword [edi + ecx + 0x1c]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [ebx + 0xd0]
sub ecx, dword [ebx + 0xcc]
sar ecx, 2
cmp esi, ecx
jb 0x4783be
call fcn.004ac063
mov edx, dword [ebx + 0xcc]
mov eax, dword [esp + 0x80]
mov dword [edx + esi*4], eax
mov ecx, dword [esp + 0x98]
sub ecx, dword [esp + 0x94]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebp, ecx
jb 0x4783f6
call fcn.004ac063
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0xac]
mov edx, dword [esp + 0x94]
mov edi, dword [edi + edx + 0x1c]
sar eax, 4
cmp edi, eax
jb 0x47841b
call fcn.004ac063
mov ecx, dword [esp + 0xac]
shl edi, 4
cmp dword [edi + ecx + 0xc], 0
jne 0x478433
mov byte [ebx + 0x108], 1
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x78], 0x10
call fcn.004849f0
mov ecx, dword [esp + 0x98]
sub ecx, dword [esp + 0x94]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
cmp ebp, eax
jb 0x47788d
mov ebp, dword [esp + 0x7c]
cmp byte [ebp + 0x108], 0
jne 0x4785c1
mov ecx, dword [esp + 0x98]
sub ecx, dword [esp + 0x94]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
je 0x4784f5
xor ebx, ebx
cmp esi, eax
jb 0x4784a9
call fcn.004ac063
mov ecx, dword [ebp + 0x70]
sub ecx, dword [ebp + 0x6c]
mov eax, dword [esp + 0x94]
sar ecx, 2
lea edi, [ebx + eax]
cmp esi, ecx
jb 0x4784c5
call fcn.004ac063
mov edx, dword [ebp + 0x6c]
mov eax, dword [edi + 0x28]
mov dword [edx + esi*4], eax
mov ecx, dword [esp + 0x98]
sub ecx, dword [esp + 0x94]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebx, 0x2c
cmp esi, eax
jb 0x4784a9
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0xac]
xor esi, esi
sar eax, 4
test eax, eax
jbe 0x47855e
xor ebx, ebx
cmp esi, eax
jb 0x478517
call fcn.004ac063
mov edx, dword [ebp + 0xb8]
sub edx, dword [ebp + 0xb4]
mov ecx, dword [esp + 0xac]
sar edx, 2
lea edi, [ebx + ecx]
cmp esi, edx
jb 0x478539
call fcn.004ac063
mov eax, dword [ebp + 0xb4]
mov ecx, dword [edi + 0xc]
mov dword [eax + esi*4], ecx
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0xac]
inc esi
sar eax, 4
add ebx, 0x10
cmp esi, eax
jb 0x478517
mov eax, dword [esp + 0xc8]
sub eax, dword [esp + 0xc4]
xor esi, esi
sar eax, 2
test eax, eax
jbe 0x4785c1
cmp esi, eax
jb 0x47857e
call fcn.004ac063
mov eax, dword [ebp + 0x88]
sub eax, dword [ebp + 0x84]
mov edx, dword [esp + 0xc4]
sar eax, 2
lea edi, [edx + esi*4]
cmp esi, eax
jb 0x4785a0
call fcn.004ac063
mov ecx, dword [ebp + 0x84]
mov edx, dword [edi]
mov dword [ecx + esi*4], edx
mov eax, dword [esp + 0xc8]
sub eax, dword [esp + 0xc4]
inc esi
sar eax, 2
cmp esi, eax
jb 0x47857e
mov byte [esp + 0x74], 0x12
mov eax, dword [esp + 0x94]
xor esi, esi
cmp eax, esi
je 0x478634
mov ebx, dword [esp + 0x98]
cmp eax, ebx
je 0x478622
mov esi, eax
add esi, 0x10
lea edi, [esi - 0xc]
mov dword [esp + 0x7c], edi
mov byte [esp + 0x74], 0x13
mov eax, dword [esi]
test eax, eax
je 0x4785fe
push eax
call fcn.004aac3a
add esp, 4
xor eax, eax
mov byte [esp + 0x74], 0x12
mov edi, dword [edi]
push edi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.004aac3a
add esi, 0x2c
lea eax, [esi - 0x10]
add esp, 4
cmp eax, ebx
jne 0x4785e3
mov ecx, dword [esp + 0x94]
push ecx
call fcn.004aac3a
add esp, 4
xor esi, esi
mov byte [esp + 0x74], 3
mov edx, dword [esp + 0x88]
push edx
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
call fcn.004aac3a
add esp, 4
mov byte [esp + 0x74], 0x14
mov eax, dword [esp + 0xac]
cmp eax, esi
je 0x478677
push eax
call fcn.004aac3a
add esp, 4
mov byte [esp + 0x74], 2
mov eax, dword [esp + 0xa0]
push eax
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
call fcn.004aac3a
add esp, 4
mov byte [esp + 0x74], 0x15
mov eax, dword [esp + 0xc4]
cmp eax, esi
je 0x4786ba
push eax
call fcn.004aac3a
add esp, 4
mov byte [esp + 0x74], 1
mov ecx, dword [esp + 0xb8]
push ecx
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
call fcn.004aac3a
add esp, 4
mov byte [esp + 0x74], 0x16
mov eax, dword [esp + 0xdc]
cmp eax, esi
je 0x4786fd
push eax
call fcn.004aac3a
add esp, 4
mov byte [esp + 0x74], 0
mov edx, dword [esp + 0xd0]
push edx
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe8], esi
call fcn.004aac3a
add esp, 4
mov dword [esp + 0x74], 0x17
mov eax, dword [esp + 0xf4]
cmp eax, esi
je 0x478743
push eax
call fcn.004aac3a
add esp, 4
mov dword [esp + 0x74], 0xffffffff
mov eax, dword [esp + 0xe8]
push eax
mov dword [esp + 0xf8], esi
mov dword [esp + 0xfc], esi
mov dword [esp + 0x100], esi
call fcn.004aac3a
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x84