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

Disassembly:
sub esp, 0x3c
mov eax, dword [esp + 0x48]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x54]
mov ebp, ecx
push eax
lea ecx, [esp + 0x1c]
push edi
lea edx, [esp + 0x60]
push ecx
mov ecx, dword [ebp + 0x88]
push edx
mov dword [esp + 0x24], ebp
call fcn.00453e10
mov edx, dword [esp + 0x58]
mov esi, dword [ebp + 0x60]
mov eax, edx
sub eax, esi
imul eax, dword [0x536200]
test eax, eax
jl 0x471ac3
cmp eax, dword [ebp + 0x11c]
jge 0x471ac3
mov ecx, dword [ebp + 0x4c]
mov dword [esp + 0x54], 0
add eax, ecx
mov ecx, dword [ebp + 0x88]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x47187c
test edx, edx
je 0x47187c
mov eax, dword [ecx + 0x98]
test eax, eax
je 0x47183c
mov esi, dword [ecx + 0x2a0]
lea eax, [edx + edx*2]
lea eax, [esi + eax*4]
mov esi, dword [eax]
mov dword [esp + 0x20], esi
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
jmp 0x47185f
mov eax, dword [ecx + 0x74]
test eax, eax
je 0x47187c
mov esi, dword [ecx + 0x150]
lea eax, [edx + edx*2]
lea eax, [esi + eax*4]
mov esi, dword [eax]
mov dword [esp + 0x20], esi
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
xor eax, eax
test esi, esi
setg al
mov esi, eax
test esi, esi
je 0x47187c
push 0
push edi
call fcn.0044e550
mov edx, dword [esp + 0x58]
mov dword [esp + 0x54], eax
mov edi, dword [ebp + 0x88]
mov eax, dword [edi + 0x98]
test eax, eax
je 0x4718b8
mov eax, dword [edi + 0x2a0]
lea ecx, [edx + edx*2]
lea ecx, [eax + ecx*4]
mov eax, ecx
mov ecx, dword [eax]
shl ecx, 5
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x2d8]
mov ecx, dword [eax + ecx + 8]
lea ebp, [ecx + esi*2]
jmp 0x471921
mov eax, dword [edi + 0x74]
test eax, eax
jne 0x4718da
mov eax, dword [edi + 0x80]
test eax, eax
jne 0x4718da
mov ecx, dword [edi + 0x2d8]
mov eax, edx
shl eax, 5
mov ebp, dword [ecx + eax + 8]
jmp 0x471921
mov ecx, dword [edi + 0x150]
lea eax, [edx + edx*2]
lea eax, [ecx + eax*4]
mov esi, eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov esi, dword [esi + 8]
mov dword [esp + 0x28], esi
mov esi, dword [edi + 0x284]
dec esi
cmp esi, ecx
mov ebp, esi
jl 0x471903
mov ebp, ecx
test ebp, ebp
jge 0x47190b
xor ecx, ecx
jmp 0x471911
cmp esi, ecx
jge 0x471911
mov ecx, esi
mov esi, dword [edi + 0x2d8]
shl ecx, 5
mov ecx, dword [esi + ecx + 8]
lea ebp, [ecx + eax*2]
mov eax, dword [edi + 0x98]
test eax, eax
je 0x471936
mov eax, dword [edi + 0x2a0]
lea edx, [edx + edx*2]
jmp 0x47195f
mov eax, dword [edi + 0x74]
test eax, eax
jne 0x471956
mov eax, dword [edi + 0x80]
test eax, eax
jne 0x471956
mov ecx, dword [edi + 0x2d8]
shl edx, 5
mov edx, dword [ecx + edx]
dec edx
jmp 0x471963
mov eax, dword [edi + 0x150]
lea edx, [edx + edx*2]
mov edx, dword [eax + edx*4 + 8]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jl 0x471ac3
cmp ecx, edx
jg 0x471ac3
mov ebx, dword [0x5361f4]
mov esi, dword [esp + 0x54]
test ecx, ecx
jle 0x471a1e
mov dword [esp + 0x10], ecx
mov ax, word [ebp]
cmp ax, 9
jne 0x4719a6
mov ecx, dword [edi + 0x100]
mov eax, esi
cdq
idiv ecx
sub ecx, edx
jmp 0x471a0a
mov dword [esp + 0x54], eax
and eax, 0xffff
cmp word [eax*2 + 0x53623c], 0
lea eax, [eax*2 + 0x53623c]
jne 0x471a05
lea ecx, [esp + 0x20]
lea edx, [esp + 0x54]
push ecx
push 1
push edx
push ebx
call dword [0x4fd160]
mov eax, dword [0x536238]
test eax, eax
je 0x4719ec
mov eax, dword [0x536220]
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x54]
mov dx, word [esp + 0x20]
and ecx, 0xffff
lea eax, [ecx*2 + 0x53623c]
mov word [eax], dx
xor ecx, ecx
mov cx, word [eax]
mov eax, dword [esp + 0x10]
add esi, ecx
add ebp, 2
dec eax
mov dword [esp + 0x10], eax
jne 0x47198d
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 0x64]
mov eax, dword [edi + 0x118]
imul edx, dword [0x536214]
sub esi, edx
cmp esi, eax
jge 0x471ac3
mov ebp, dword [esp + 0x50]
lea eax, [esp + 0x34]
push eax
push 0x18
push ebp
call dword [0x4fd1e4]
mov ecx, dword [esp + 0x38]
add ecx, esi
test ecx, ecx
jle 0x471ac3
mov eax, dword [edi + 0x48]
xor ebx, ebx
add esi, eax
mov edx, edi
sub eax, esi
push edx
test eax, eax
setle bl
dec ebx
lea ecx, [esp + 0x24]
and ebx, eax
call fcn.004d6e60
mov eax, dword [esp + 0x24]
push eax
call dword [0x4fd1c4]
mov edi, eax
push ebp
push edi
call dword [0x4fd1b0]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
push 0xcc0020
push 0
push 0
push edi
sub edx, ebx
push ecx
mov ecx, dword [esp + 0x38]
push edx
add ebx, esi
push eax
push ebx
push ecx
call dword [0x4fd1c8]
push edi
call dword [0x4fd1cc]
lea ecx, [esp + 0x20]
call fcn.004d6ed2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc