Function at 0x47c5f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c51db
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x53856c]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x474]
mov esi, dword [esp + 0x470]
mov eax, dword [esp + 0x47c]
mov ebx, dword [esp + 0x478]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x124]
sub eax, dword [esi + 0x120]
mov dword [esp + 0x20], esi
sar eax, 2
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x6c], edx
cmp ebp, eax
jae 0x47ca4f
mov ecx, dword [esi + 0x124]
sub ecx, dword [esi + 0x120]
sar ecx, 2
cmp ebp, ecx
jb 0x47c68a
call fcn.004ac063
mov edx, dword [esi + 0x120]
xor eax, eax
cmp dword [edx + ebp*4], eax
je 0x47ca4f
mov dword [esp + 0x50], 0x4a39a2
mov dword [esp + 0x54], 0x4a3cd1
mov dword [esp + 0x58], fcn.004a38c5
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x1fff8
mov dword [esp + 0x4c], 0x4dba34
mov dword [esp + 0x468], eax
mov eax, dword [esi + 0x124]
sub eax, edx
sar eax, 2
cmp ebp, eax
jb 0x47c6e2
call fcn.004ac063
mov edx, dword [ebx + 0x10]
sub edx, dword [ebx + 0xc]
mov ecx, dword [esi + 0x120]
mov edi, dword [ecx + ebp*4]
sar edx, 2
test edx, edx
ja 0x47c6fd
call fcn.004ac063
mov eax, dword [ebx + 0xc]
mov edx, dword [edi]
mov eax, dword [eax]
mov edx, dword [edx + 4]
push eax
mov ecx, edi
call edx
mov dword [esp + 0x24], eax
test eax, eax
jl 0x47ca4f
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
sar eax, 2
test eax, eax
ja 0x47c72a
call fcn.004ac063
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47c732
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 6]
push eax
lea ecx, [esp + 0x50]
call fcn.00409710
add esi, 0x30
mov edi, ebp
mov dword [esp + 0x3c], eax
call fcn.004845d0
mov esi, eax
mov edx, dword [esi + 0x14]
sub edx, dword [esi + 0x10]
add esi, 4
sar edx, 2
test edx, edx
ja 0x47c774
call fcn.004ac063
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
mov esi, dword [esi + 0xc]
sar eax, 2
test eax, eax
ja 0x47c789
call fcn.004ac063
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0xc]
mov ebx, dword [esp + 0x20]
mov edx, dword [esi]
mov eax, dword [eax]
mov ecx, dword [esp + 0x3c]
push ebx
call fcn.0047f680
add ebx, 0x18
mov edi, ebp
mov esi, ebx
mov dword [esp + 0x40], 0
call fcn.00484890
mov edi, dword [esp + 0x24]
mov esi, eax
call fcn.00484890
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
lea edx, [edx + ecx - 1]
mov dword [esp + 0x48], edx
test edx, edx
jl 0x47ca24
lea eax, [ebp + ebp*2]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x1c], eax
mov eax, edi
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
add eax, edx
cdq
sub eax, edx
mov edi, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
sar edi, 1
add ecx, edx
mov dword [esp + 0x38], edi
cmp ebp, ecx
jb 0x47c838
call fcn.004ac063
mov esi, dword [ebx + 0xc]
add esi, dword [esp + 0x1c]
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x24], eax
jb 0x47c861
call fcn.004ac063
mov esi, dword [esi + 0xc]
add esi, dword [esp + 0x44]
mov eax, 0x66666667
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x47c888
call fcn.004ac063
mov edx, dword [esi + 0xc]
lea eax, [edi + edi*4]
shl eax, 4
mov dword [esp + 0x30], eax
mov eax, dword [eax + edx]
lea edx, [eax + 2]
jmp 0x47c8a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47c8a0
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 6]
push eax
lea ecx, [esp + 0x50]
call fcn.00409710
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov dword [esp + 0x34], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x47c8e1
call fcn.004ac063
mov esi, dword [ebx + 0xc]
add esi, dword [esp + 0x1c]
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x24], ecx
jb 0x47c90a
call fcn.004ac063
mov esi, dword [esi + 0xc]
add esi, dword [esp + 0x44]
mov eax, 0x66666667
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x47c931
call fcn.004ac063
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov esi, dword [esi + 0xc]
add esi, dword [esp + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x64], esi
cmp ebp, ecx
jb 0x47c95c
call fcn.004ac063
mov esi, dword [ebx + 0xc]
add esi, dword [esp + 0x1c]
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x24], eax
jb 0x47c985
call fcn.004ac063
mov esi, dword [esi + 0xc]
add esi, dword [esp + 0x44]
mov eax, 0x66666667
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x47c9ac
call fcn.004ac063
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + eax]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x64]
mov edx, dword [edx + 4]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.0047f680
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x13c]
sub edx, dword [eax + 0x138]
sar edx, 2
cmp ebp, edx
jb 0x47c9e7
call fcn.004ac063
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x138]
mov eax, dword [esp + 0x34]
mov ecx, dword [ecx + ebp*4]
mov edx, dword [ecx]
mov edx, dword [edx]
push eax
mov eax, dword [esp + 0x40]
push eax
call edx
test eax, eax
jge 0x47ca0f
dec edi
mov dword [esp + 0x48], edi
jmp 0x47ca16
jle 0x47ca7b
inc edi
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x40], eax
jle 0x47c803
mov dword [esp + 0x468], 0xffffffff
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x47ca4f
mov edi, dword [esp + 0x58]
jmp 0x47ca40
mov eax, esi
mov esi, dword [esi + 4]
push eax
call edi
add esp, 4
test esi, esi
jne 0x47ca40
xor al, al
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.004aac2b
add esp, 0x458
ret 0x10
mov edi, ebp
mov esi, ebx
call fcn.00484890
mov edi, dword [esp + 0x24]
mov esi, eax
call fcn.00484890
lea esi, [esp + 0x64]
mov edi, eax
call fcn.00484670
mov ecx, dword [eax]
mov edi, dword [esp + 0x18]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x38]
mov dword [edi + 4], edx
call fcn.00484aa0
mov esi, dword [esp + 0x20]
mov edi, ebp
add esi, 0x30
call fcn.004845d0
cmp dword [eax + 0x1c], 0
jge 0x47ccc6
mov esi, dword [esp + 0x28]
mov edi, 1
call fcn.00423a30
mov eax, dword [eax]
lea ecx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x47cae0
sub eax, ecx
sar eax, 1
lea eax, [eax + eax + 6]
push eax
lea ecx, [esp + 0x50]
call fcn.00409710
mov edi, ebp
mov ebp, dword [esp + 0x20]
lea esi, [ebp + 0x30]
mov ebx, eax
call fcn.004845d0
mov esi, eax
add esi, 4
mov edi, 1
call fcn.00423a30
mov eax, dword [eax]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x38], eax
call fcn.00423a30
mov eax, dword [eax]
mov edx, dword [esp + 0x38]
push ebp
mov ecx, ebx
call fcn.0047f680
mov esi, dword [esp + 0x18]
call fcn.00484a70
mov esi, eax
add esi, 8
xor edi, edi
call fcn.00423a30
mov eax, dword [eax]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x47cb53
sub eax, ecx
sar eax, 1
lea eax, [eax + eax + 6]
push eax
lea ecx, [esp + 0x50]
call fcn.00409710
mov esi, dword [esp + 0x18]
mov dword [esp + 0x64], eax
call fcn.00484a70
mov esi, eax
add esi, 0x38
xor edi, edi
call fcn.00423a30
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
call fcn.00484a70
mov esi, eax
add esi, 8
call fcn.00423a30
mov esi, dword [esp + 0x64]
mov eax, dword [eax]
mov edx, dword [esp + 0x38]
push ebp
mov ecx, esi
call fcn.0047f680
mov ecx, esi
mov eax, ebx
call fcn.0047c300
test eax, eax
jne 0x47ca24
mov esi, dword [esp + 0x18]
xor ebp, ebp
mov dword [esp + 0x1c], ebp
call fcn.00484a70
mov edi, eax
call fcn.00484a70
mov edx, dword [edi]
mov esi, dword [esp + 0x20]
push edx
mov edx, dword [eax + 4]
lea ebx, [esp + 0x20]
call fcn.0047f620
mov edi, dword [esp + 0x2c]
call fcn.00484250
mov esi, dword [esp + 0x18]
call fcn.00484a70
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x14]
add eax, 8
sar ecx, 2
test ecx, ecx
jbe 0x47cc99
mov esi, dword [esp + 0x18]
call fcn.00484a70
mov ebx, eax
mov edx, dword [ebx + 0x48]
sub edx, dword [ebx + 0x44]
add ebx, 0x38
sar edx, 2
cmp ebp, edx
jb 0x47cc34
call fcn.004ac063
mov ebx, dword [ebx + 0xc]
lea edi, [ebp*4]
add ebx, edi
call fcn.00484a70
mov esi, eax
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x14]
add esi, 8
sar eax, 2
cmp ebp, eax
jb 0x47cc5c
call fcn.004ac063
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + edi]
mov esi, dword [esp + 0x20]
push edx
mov edx, dword [ebx]
lea ebx, [esp + 0x20]
call fcn.0047f620
mov edi, dword [esp + 0x2c]
call fcn.00484250
mov esi, dword [esp + 0x18]
inc ebp
call fcn.00484a70
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x14]
add eax, 8
sar ecx, 2
cmp ebp, ecx
jb 0x47cc14
mov dword [esp + 0x468], 0xffffffff
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x47ccbf
mov edi, dword [esp + 0x58]
mov eax, esi
mov esi, dword [esi + 4]
push eax
call edi
add esp, 4
test esi, esi
jne 0x47ccb0
mov al, 1
jmp 0x47ca51
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], 0
call fcn.00484a70
mov ecx, dword [eax + 0x30]
sub ecx, dword [eax + 0x2c]
mov esi, dword [esp + 0x20]
add eax, 0x20
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax - 1]
mov edi, ebp
add esi, 0x30
mov dword [esp + 0x30], ecx
call fcn.004845d0
mov ebx, dword [eax + 0x14]
sub ebx, dword [eax + 0x10]
mov esi, dword [esp + 0x20]
add eax, 4
add esi, 0x30
sar ebx, 2
call fcn.004845d0
mov esi, dword [esp + 0x20]
mov edi, dword [eax + 0x1c]
add esi, 0x48
call fcn.0041b870
sub ebx, dword [eax]
mov esi, dword [esp + 0x28]
mov edi, ebx
call fcn.00423a30
mov eax, dword [eax]
lea ecx, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x47cd40
sub eax, ecx
sar eax, 1
lea eax, [eax + eax + 6]
push eax
lea ecx, [esp + 0x50]
call fcn.00409710
mov esi, dword [esp + 0x20]
mov edi, ebp
add esi, 0x30
mov dword [esp + 0x34], eax
call fcn.004845d0
mov esi, eax
add esi, 4
mov edi, ebx
call fcn.00423a30
mov esi, dword [esp + 0x28]
mov ebp, dword [eax]
call fcn.00423a30
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
mov ecx, dword [esp + 0x34]
push edx
mov edx, ebp
call fcn.0047f680
cmp dword [esp + 0x30], 0
jl 0x47ca24
mov esi, dword [esp + 0x18]
dec ebx
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x28], 0
mov eax, dword [esi]
test eax, eax
jne 0x47cdc9
call fcn.004ac063
mov eax, dword [esi]
test eax, eax
je 0x47cdcd
mov eax, dword [eax]
jmp 0x47cdcf
xor eax, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 0x10]
jb 0x47cddc
call fcn.004ac063
mov edi, dword [esi + 4]
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x47cdff
call fcn.004ac063
mov edi, dword [edi + 0x2c]
add edi, dword [esp + 0x28]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
sar ecx, 2
test ecx, ecx
ja 0x47ce18
call fcn.004ac063
mov edx, dword [edi + 0xc]
mov eax, dword [edx]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47ce20
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 6]
push eax
lea ecx, [esp + 0x50]
call fcn.00409710
mov ebx, eax
mov eax, dword [esi]
test eax, eax
jne 0x47ce50
call fcn.004ac063
mov eax, dword [esi]
test eax, eax
je 0x47ce54
mov eax, dword [eax]
jmp 0x47ce56
xor eax, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 0x10]
jb 0x47ce63
call fcn.004ac063
mov edi, dword [esi + 4]
mov edx, dword [edi + 0x48]
sub edx, dword [edi + 0x44]
sar edx, 2
cmp dword [esp + 0x3c], edx
jb 0x47ce7a
call fcn.004ac063
mov eax, dword [edi + 0x44]
mov ecx, dword [esp + 0x3c]
lea ebp, [eax + ecx*4]
mov eax, dword [esi]
test eax, eax
jne 0x47ce95
call fcn.004ac063
mov eax, dword [esi]
test eax, eax
je 0x47ce99
mov eax, dword [eax]
jmp 0x47ce9b
xor eax, eax
mov edx, dword [esi + 4]
cmp edx, dword [eax + 0x10]
jb 0x47cea8
call fcn.004ac063
mov edi, dword [esi + 4]
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x1c], eax
jb 0x47cecd
call fcn.004ac063
mov edi, dword [edi + 0x2c]
add edi, dword [esp + 0x28]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
sar ecx, 2
test ecx, ecx
ja 0x47cee6
call fcn.004ac063
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0xc]
mov edx, dword [ebp]
mov eax, dword [eax]
push ecx
mov ecx, ebx
call fcn.0047f680
mov eax, dword [esp + 0x34]
mov ecx, ebx
call fcn.0047c300
test eax, eax
je 0x47cf26
mov ebx, dword [esp + 0x1c]
add dword [esp + 0x28], 0x18
inc ebx
cmp ebx, dword [esp + 0x30]
mov dword [esp + 0x1c], ebx
jle 0x47cdb8
jmp 0x47ca24
mov dword [esp + 0x24], 0
mov ebp, esi
call fcn.00484a70
mov edi, eax
call fcn.00484a70
mov edx, dword [edi]
mov esi, dword [esp + 0x20]
push edx
mov edx, dword [eax + 4]
lea ebx, [esp + 0x28]
call fcn.0047f620
mov edi, dword [esp + 0x2c]
call fcn.00484250
mov dword [esp + 0x18], 0
mov eax, dword [ebp]
test eax, eax
jne 0x47cf73
call fcn.004ac063
mov eax, dword [ebp]
test eax, eax
je 0x47cf77
mov eax, dword [eax]
jmp 0x47cf79
xor eax, eax
mov ecx, dword [ebp + 4]
cmp ecx, dword [eax + 0x10]
jb 0x47cf86
call fcn.004ac063
mov eax, dword [ebp + 4]
mov edx, dword [eax + 0x18]
sub edx, dword [eax + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [ebp]
sar edx, 2
cmp esi, edx
jae 0x47d051
test eax, eax
jne 0x47cfb1
call fcn.004ac063
mov eax, dword [ebp]
test eax, eax
je 0x47cfb5
mov eax, dword [eax]
jmp 0x47cfb7
xor eax, eax
mov ecx, dword [ebp + 4]
cmp ecx, dword [eax + 0x10]
jb 0x47cfc4
call fcn.004ac063
mov edi, dword [ebp + 4]
mov edx, dword [edi + 0x48]
sub edx, dword [edi + 0x44]
add edi, 0x38
sar edx, 2
cmp esi, edx
jb 0x47cfdc
call fcn.004ac063
mov esi, dword [esp + 0x18]
mov ebx, dword [edi + 0xc]
mov eax, dword [ebp]
add esi, esi
add esi, esi
add ebx, esi
test eax, eax
jne 0x47cffc
call fcn.004ac063
mov eax, dword [ebp]
test eax, eax
je 0x47d000
mov eax, dword [eax]
jmp 0x47d002
xor eax, eax
mov ecx, dword [ebp + 4]
cmp ecx, dword [eax + 0x10]
jb 0x47d00f
call fcn.004ac063
mov edi, dword [ebp + 4]
mov edx, dword [edi + 0x18]
sub edx, dword [edi + 0x14]
add edi, 8
sar edx, 2
cmp dword [esp + 0x18], edx
jb 0x47d029
call fcn.004ac063
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + eax]
mov edx, dword [ebx]
mov esi, dword [esp + 0x20]
push ecx
lea ebx, [esp + 0x28]
call fcn.0047f620
mov edi, dword [esp + 0x2c]
call fcn.00484250
inc dword [esp + 0x18]
jmp 0x47cf60
test eax, eax
jne 0x47d061
call fcn.004ac063
mov eax, dword [ebp]
test eax, eax
je 0x47d065
mov eax, dword [eax]
jmp 0x47d067
xor eax, eax
mov edx, dword [ebp + 4]
cmp edx, dword [eax + 0x10]
jb 0x47d074
call fcn.004ac063
mov edi, dword [ebp + 4]
mov ebx, dword [edi + 0x2c]
cmp ebx, dword [edi + 0x30]
jbe 0x47d084
call fcn.004ac063
mov edi, dword [edi + 0x20]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x1c]
mov dword [esi], edi
mov edi, esi
mov dword [esi + 4], ebx
call fcn.00484af0
mov dword [esp + 0x1c], 0
mov eax, dword [esi]
test eax, eax
jne 0x47d0b4
call fcn.004ac063
mov eax, dword [esi]
test eax, eax
je 0x47d0b8
mov eax, dword [eax]
jmp 0x47d0ba
xor eax, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 0x10]
jb 0x47d0c7
call fcn.004ac063
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x10]
sub edx, dword [eax + 0xc]
sar edx, 2
cmp dword [esp + 0x1c], edx
jae 0x47d218
mov eax, dword [ebp]
test eax, eax
jne 0x47d0f0
call fcn.004ac063
mov eax, dword [ebp]
test eax, eax
je 0x47d0f4
mov eax, dword [eax]
jmp 0x47d0f6
xor eax, eax
mov ecx, dword [ebp + 4]
cmp ecx, dword [eax + 0x10]
jb 0x47d103
call fcn.004ac063
mov ebx, dword [ebp + 4]
mov edx, dword [ebx + 0x48]
sub edx, dword [ebx + 0x44]
mov edi, dword [esp + 0x18]
add ebx, 0x38
sar edx, 2
cmp edi, edx
jb 0x47d11f
call fcn.004ac063
mov eax, dword [ebx + 0xc]
lea ebx, [eax + edi*4]
mov eax, dword [esi]
test eax, eax
jne 0x47d136
call fcn.004ac063
mov eax, dword [esi]
test eax, eax
je 0x47d13a
mov eax, dword [eax]
jmp 0x47d13c
xor eax, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 0x10]
jb 0x47d149
call fcn.004ac063
mov edi, dword [esi + 4]
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 0xc]
sar edx, 2
cmp dword [esp + 0x1c], edx
jb 0x47d160
call fcn.004ac063
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebx]
push ecx
lea ecx, [esp + 0x78]
call fcn.0047f680
mov ecx, dword [esp + 0x20]
mov ebx, eax
push ebx
call fcn.00409710
push ebx
lea edx, [esp + 0x78]
mov edi, eax
push edx
push edi
mov dword [esp + 0x30], edi
call fcn.004ad8e0
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0xc]
add esp, 0xc
test eax, eax
jne 0x47d1aa
xor ecx, ecx
jmp 0x47d1b6
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x14]
sub ecx, eax
sar ecx, 2
mov edx, dword [esp + 0x2c]
mov ebx, dword [edx + 0x10]
mov edx, ebx
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x47d1e6
mov eax, dword [esp + 0x2c]
mov dword [ebx], edi
add ebx, 4
mov dword [eax + 0x10], ebx
mov eax, 1
add dword [esp + 0x1c], eax
add dword [esp + 0x18], eax
jmp 0x47d0a3
cmp eax, ebx
jbe 0x47d1ef
call fcn.004ac063
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push ebx
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.00485830
mov eax, 1
add dword [esp + 0x1c], eax
add dword [esp + 0x18], eax
jmp 0x47d0a3
mov dword [esp + 0x468], 0xffffffff
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x47d23f
mov edi, dword [esp + 0x58]
nop
mov eax, esi
mov esi, dword [esi + 4]
push eax
call edi
add esp, 4
test esi, esi
jne 0x47d230
mov al, 1
jmp 0x47ca51