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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
test esi, esi
je 0x56196d
movzx eax, word [esi]
mov edx, 0x81
cmp dx, ax
je 0x56197b
mov edx, 0x80
cmp dx, ax
jne 0x54703f
mov eax, dword [esi + 8]
mov edx, 0x81
cmp dx, word [eax]
jne 0x54703f
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x54703f
mov eax, dword [ebx]
mov edx, dword [eax + 0x78]
mov ecx, ebx
call edx
test eax, eax
je 0x561aa0
cmp dword [ebx + 0x38], 0x7fffffff
ja 0x561983
mov eax, 3
mov word [esp + 0x28], ax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x54702c
mov edx, dword [esp + 0x14]
lea esi, [eax + edx]
mov dword [esp + 0x24], esi
cmp esi, eax
jb 0x561aa9
mov eax, esi
call fcn.00545c8a
test eax, eax
js 0x54702e
mov ecx, esi
lea eax, [esp + 0x28]
call fcn.005450a2
push 1
lea eax, [esp + 0x2c]
push eax
push 0
mov ecx, edi
call fcn.00511553
test eax, eax
js 0x54702e
mov eax, ebx
call fcn.00545bd5
test eax, eax
jne 0x5619cd
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
dec edx
push edx
push eax
push ebx
push edi
call fcn.0054600a
test eax, eax
js 0x5619c4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
jns 0x545ff5
jmp 0x54702e
lea ebx, [ecx + 1]
cmp ebx, ecx
jb 0x561aa9
jmp 0x561ab7
mov eax, 0x800a138f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [esi + 8]
jmp 0x545f43
mov ecx, 5
mov word [esp + 0x28], cx
fild dword [ebx + 0x38]
mov edx, dword [ebx + 0x38]
test edx, edx
jns 0x56199d
fadd qword [0x633aa2a0]
mov ecx, dword [ebp + 8]
fstp qword [esp + 0x30]
push 1
push 3
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.00512bee
test eax, eax
js 0x54702e
mov eax, dword [esp + 0x30]
jmp 0x545f7a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [ebx]
mov edx, dword [eax + 0x8c]
push ecx
push 0xffffffffffffffff
mov ecx, ebx
call edx
test eax, eax
jne 0x547037
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x40]
call fcn.00548619
test eax, eax
je 0x561a66
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x1c], ecx
jae 0x561a66
lea esi, [esp + 0x3c]
call fcn.0057a9b4
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, ebx
call edx
test eax, eax
js 0x54702e
xor eax, eax
cmp ax, word [esp + 0x28]
je 0x561a6f
mov edx, dword [edi]
mov edx, dword [edx + 0x80]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x18]
mov ecx, edi
push eax
call edx
test eax, eax
jns 0x561a6f
jmp 0x54702e
lea esi, [esp + 0x3c]
call fcn.0057a9b4
mov eax, dword [ebx]
mov eax, dword [eax + 0x8c]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push ecx
push edx
mov ecx, ebx
call eax
test eax, eax
je 0x5619fa
mov esi, dword [esp + 0x24]
jmp 0x547037
mov ecx, dword [esp + 0x14]
jmp 0x54703f
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
push esi
push ecx
mov ecx, edi
call eax
test eax, eax
js 0x54702e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], ebx
jmp 0x54702c