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

Disassembly:
push ebp
push edi
push esi
push ebx
xor ebx, ebx
sub esp, 0x5c
mov esi, dword [esp + 0x74]
mov dword [esp], esi
call fcn.0045c060
test eax, eax
je 0x45dbd8
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00455c00
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00455e00
mov edi, eax
test eax, eax
je 0x45de5b
mov eax, dword [esp + 0x70]
mov dword [esp + 4], esi
add eax, 0x18
mov dword [esp], eax
mov dword [esp + 0x28], eax
call fcn.0045ad40
test eax, eax
je 0x45de5b
mov dword [esp + 4], 4
mov dword [esp], esi
call fcn.0045c270
test eax, eax
jne 0x45de98
mov eax, dword [esp + 0x70]
mov dword [eax + 0x24], 0
lea eax, [esp + 0x38]
mov dword [esp], eax
call fcn.0045a8c0
mov dword [esp], esi
lea eax, [esp + 0x30]
xor edx, edx
mov dword [esp + 4], 4
mov dword [esp + 0x38], eax
mov eax, 2
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
call fcn.0045c270
test eax, eax
jne 0x45de78
mov dword [esp], esi
mov eax, dword [esp + 0x70]
lea ebp, [eax + 4]
call fcn.0045a620
add eax, 0x1f
mov ecx, eax
sar ecx, 0x1f
shr ecx, 0x1b
lea edx, [eax + ecx]
and edx, 0x1f
sub edx, ecx
sub eax, edx
mov edx, dword [esp + 0x70]
mov dword [edx], eax
mov dword [esp], ebp
call fcn.0045c010
mov dword [esp + 4], 0x40
mov dword [esp], ebp
call fcn.0045bad0
test eax, eax
je 0x45de5b
mov edx, dword [esi]
mov dword [esp + 0x3c], 0
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x30], eax
setne al
cmp dword [esi + 4], 1
movzx eax, al
mov dword [esp + 0x3c], eax
jle 0x45dee8
mov eax, dword [edx + 4]
mov dword [esp + 0x34], eax
test eax, eax
je 0x45dcfc
mov dword [esp + 0x3c], 2
lea eax, [esp + 0x38]
mov dword [esp], eax
call fcn.0045c070
test eax, eax
je 0x45deb8
mov dword [esp], edi
call fcn.0045c010
mov dword [esp + 8], 0x40
mov dword [esp + 4], edi
mov dword [esp], edi
call fcn.00462040
test eax, eax
je 0x45de5b
mov dword [esp], edi
call fcn.0045c060
test eax, eax
je 0x45def8
mov eax, dword [edi + 8]
test eax, eax
jg 0x45dd63
mov dword [esp + 4], 1
mov dword [esp], edi
call fcn.0045a9e0
test eax, eax
je 0x45de5b
mov eax, dword [edi]
mov dword [edi + 0xc], 0
movq xmm0, qword [0x668f20]
movq qword [eax], xmm0
mov dword [edi + 4], 2
mov eax, dword [esp + 0x78]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc], eax
mov dword [esp], edi
call fcn.004565d0
test eax, eax
je 0x45de5b
mov eax, dword [edi + 4]
test eax, eax
jle 0x45df18
mov edx, dword [edi]
mov edi, dword [esp + 0x70]
mov ecx, dword [edx]
mov dword [edi + 0x40], ecx
cmp eax, 1
je 0x45df23
mov eax, dword [edx + 4]
mov dword [edi + 0x44], eax
mov dword [esp], ebp
call fcn.0045c010
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
mov dword [esp], ebp
mov dword [esp + 0x2c], eax
add eax, eax
mov dword [esp + 4], eax
call fcn.0045bad0
test eax, eax
je 0x45de5b
mov eax, dword [esp + 0x78]
mov dword [esp + 8], ebp
mov dword [esp + 4], ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.004565d0
test eax, eax
je 0x45de5b
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
mov eax, dword [eax + 8]
mov ebx, dword [ecx + 0x1c]
cmp eax, ebx
jge 0x45de4f
mov ecx, dword [ecx + 4]
mov edx, ebx
mov dword [esp + 4], 0
sub edx, eax
shl edx, 2
lea eax, [ecx + eax*4]
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [esp + 0x70]
mov dword [eax + 8], ebx
mov ebx, 1
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00455d70
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x38]
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.0045c260
jmp 0x45dc79
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.0045c260
jmp 0x45dc33
mov eax, dword [esp + 0x78]
mov dword [esp + 4], ebp
mov dword [esp], edi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
call fcn.00459b90
test eax, eax
jne 0x45dd18
jmp 0x45de5b
mov dword [esp + 0x34], 0
jmp 0x45dcfc
mov dword [esp + 4], 1
mov dword [esp], edi
call fcn.00462b40
test eax, eax
jne 0x45dd7f
jmp 0x45de5b
mov eax, dword [esp + 0x70]
mov dword [eax + 0x40], 0
mov edi, dword [esp + 0x70]
xor eax, eax
jmp 0x45ddcd