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

Disassembly:
sub esp, 0x38
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x48]
push edi
shl eax, 5
push eax
push ecx
call fcn.004a1e25
mov edx, dword [esi + 0x34]
shl edx, 4
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x4c]
push edx
push eax
call fcn.004a1e25
mov ecx, dword [esi + 0x34]
add ecx, ecx
add ecx, ecx
push ecx
mov dword [esi + 0x4c], eax
call fcn.004a208f
mov edx, dword [esi + 0x34]
add edx, edx
add edx, edx
add edx, edx
push edx
mov dword [esi + 0x40], eax
call fcn.004a208f
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x34]
shl eax, 4
push eax
call fcn.004a208f
xor ebx, ebx
add esp, 0x1c
xor edi, edi
cmp dword [esi + 0x34], ebx
mov dword [esi + 0x44], eax
jle 0x474d5b
push ebp
jmp 0x474a44
xor ebx, ebx
cmp edi, ebx
jne 0x474a86
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x5c]
mov dword [ecx], edx
mov eax, dword [esi + 0x3c]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [eax], edx
push ecx
mov dword [eax + 4], ecx
push edx
mov eax, esi
call fcn.004741d0
add esp, 8
test eax, eax
je 0x474afe
mov eax, dword [esi + 0x3c]
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
jmp 0x474afe
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + edi*8 + 4]
mov edx, dword [eax + edi*8]
push ecx
push edx
mov eax, esi
call fcn.004741d0
add esp, 8
test eax, eax
je 0x474ab4
mov eax, dword [esi + 0x3c]
mov dword [eax + edi*8], 0xffffffff
mov dword [eax + edi*8 + 4], 0xffffffff
jmp 0x474afe
mov eax, dword [esi + 0x40]
lea ecx, [eax + edi*4]
mov edx, edi
shl edx, 4
add edx, dword [esi + 0x4c]
push ecx
mov eax, edi
shl eax, 5
add eax, dword [esi + 0x48]
push edx
push eax
xor eax, eax
mov ecx, esi
call fcn.004747a0
add esp, 0xc
test eax, eax
mov eax, dword [esi + 0x3c]
jge 0x474af1
mov dword [eax + edi*8], 0xffffffff
mov dword [eax + edi*8 + 4], 0xffffffff
jmp 0x474afe
mov ecx, dword [esi + 8]
mov dword [eax + edi*8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + edi*8 + 4], edx
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + edi*8]
and ecx, dword [eax + edi*8 + 4]
cmp ecx, 0xffffffff
je 0x474c60
mov edx, dword [esi + 0x40]
mov eax, dword [edx + edi*4]
push eax
lea ebp, [esi + 0x78]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push ebp
or ebx, 0xffffffff
call fcn.004caf10
push ebx
lea ecx, [esp + 0x24]
push ebx
push ecx
call fcn.00474230
add esp, 0x14
test edx, edx
jl 0x474c49
jg 0x474b50
test eax, eax
jb 0x474c49
lea ecx, [ecx]
lea edx, [esp + 0x18]
push edx
call fcn.004ca620
add esp, 4
test eax, eax
jne 0x474c2f
lea eax, [esp + 0x18]
push eax
call fcn.004ca720
mov ecx, dword [esi + 0x40]
add esp, 4
cmp eax, dword [ecx + edi*4]
jne 0x474bed
lea edx, [esp + 0x18]
push edx
push ebp
call fcn.004cabb0
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.004caf30
add esp, 0x10
test eax, eax
je 0x474bd9
jle 0x474bc7
mov edx, edi
shl edx, 5
add edx, dword [esi + 0x48]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.004bb2f0
add esp, 8
mov ecx, eax
cmp ebx, 0xffffffff
je 0x474bc5
lea eax, [ecx + ebx]
sar eax, 2
cdq
add dword [esp + 0x10], eax
adc dword [esp + 0x14], edx
mov ebx, ecx
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.004caf30
add esp, 8
test eax, eax
jne 0x474b97
lea ecx, [esp + 0x18]
push ecx
call fcn.004ca640
and eax, edx
add esp, 4
cmp eax, 0xffffffff
jne 0x474c12
push 0xffffffffffffffff
lea edx, [esp + 0x1c]
push 0xffffffffffffffff
push edx
call fcn.00474230
add esp, 0xc
test edx, edx
jg 0x474b50
jl 0x474c2f
test eax, eax
jae 0x474b50
jmp 0x474c2f
lea eax, [esp + 0x18]
push eax
call fcn.004ca640
add esp, 4
sub eax, dword [esp + 0x10]
sbb edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], 0
jg 0x474c49
jl 0x474c3f
cmp dword [esp + 0x10], 0
jae 0x474c49
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x44]
mov edx, dword [esp + 0x10]
mov eax, edi
shl eax, 4
mov dword [eax + ecx], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx + 4], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + edi*8 + 8]
mov eax, dword [eax + edi*8 + 0xc]
push eax
push ecx
mov eax, esi
call fcn.004741d0
add esp, 8
test eax, eax
je 0x474c9f
mov eax, edi
shl eax, 5
add eax, dword [esi + 0x48]
push eax
call fcn.004ba930
mov ecx, edi
shl ecx, 4
add ecx, dword [esi + 0x4c]
push ecx
call fcn.004ba860
add esp, 8
jmp 0x474d50
lea edx, [esp + 0x18]
push edx
mov eax, esi
call fcn.004742e0
mov ebx, edx
add esp, 4
mov ebp, eax
test ebx, ebx
jl 0x474d0c
jg 0x474cc0
test ebp, ebp
jb 0x474d0c
lea esp, [esp]
lea eax, [esp + 0x18]
push eax
call fcn.004ca720
mov ecx, dword [esi + 0x40]
add esp, 4
cmp eax, dword [ecx + edi*4]
jne 0x474ce9
lea edx, [esp + 0x18]
push edx
call fcn.004ca640
and eax, edx
add esp, 4
cmp eax, 0xffffffff
jne 0x474d2d
lea eax, [esp + 0x18]
push eax
mov eax, esi
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebx
call fcn.004742e0
mov ebx, edx
add esp, 4
mov ebp, eax
test ebx, ebx
jg 0x474cc0
jl 0x474d0c
test ebp, ebp
jae 0x474cc0
mov ecx, edi
shl ecx, 5
add ecx, dword [esi + 0x48]
push ecx
call fcn.004ba930
mov edx, edi
shl edx, 4
add edx, dword [esi + 0x4c]
push edx
call fcn.004ba860
add esp, 8
jmp 0x474d50
mov ecx, dword [esi + 0x44]
mov eax, edi
lea edx, [esp + 0x18]
shl eax, 4
push edx
lea ebx, [eax + ecx]
call fcn.004ca640
add esp, 4
sub eax, dword [ebx]
sbb edx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
inc edi
cmp edi, dword [esi + 0x34]
jl 0x474a42
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x38
ret