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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x170
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x2e]
lea esi, [esp + 0x8c]
lea edx, [esp + 0x38]
push eax
push ecx
push esi
push dword [ebp + 0x10]
push edx
call fcn.00578140
add esp, 0x14
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x5c], 0x4dffd0
mov dword [esp + 0x60], 0x57e9cc
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], esp
mov dword [esp + 0x68], 0x5446c1
mov dword [esp + 0x48], 1
lea eax, [esp + 0x44]
push eax
call fcn.00521b40
add esp, 4
lea ecx, [esp + 0x18]
push 0
push 0xa
call fcn.005562b0
test byte [esp + 0x18], 1
lea eax, [esp + 0x19]
je 0x5442ea
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0x34], 0
mov byte [esp + 0xb], 1
mov byte [esp + 0x17], 0x45
mov dword [esp + 0x24], eax
lea eax, [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], eax
jmp 0x544326
add eax, 2
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0xc]
mov dl, 1
test ecx, ecx
je 0x544350
mov eax, dword [ecx + 0xc]
mov edi, dword [esp + 4]
cmp eax, dword [ecx + 0x10]
je 0x544360
movzx eax, word [eax]
jmp 0x544377
mov edi, dword [esp + 4]
jmp 0x544394
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], 2
call eax
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 4]
xor edx, edx
cmp ax, 0xffff
jne 0x544394
lea eax, [ebp + 8]
xor ecx, ecx
mov dl, 1
mov dword [esp + 0x30], 0
mov dword [eax], 0
lea eax, [ebp + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax]
test ecx, ecx
je 0x5443f2
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x5443c0
movzx eax, word [eax]
cmp ax, 0xffff
je 0x5443e9
test dl, dl
jne 0x5443fc
jmp 0x544532
mov eax, dword [ecx]
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], 3
mov dword [esp + 0x10], ecx
call eax
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 4]
mov edx, dword [esp + 0x78]
cmp ax, 0xffff
jne 0x5443b2
lea eax, [ebp + 0xc]
mov dword [eax], 0
xor ecx, ecx
test dl, dl
jne 0x544532
movzx eax, byte [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov ecx, eax
mov edx, esi
shr ecx, 1
test al, 1
cmove edx, ecx
add edx, edi
cmp dword [esp + 0x28], edx
jne 0x54447d
test al, 1
cmove esi, ecx
mov dword [esp + 4], esi
lea eax, [esi + esi]
mov dword [esp + 0x48], 4
lea ecx, [esp + 0x18]
push 0
push eax
call fcn.005562b0
test byte [esp + 0x18], 1
mov eax, 0xa
je 0x544450
mov eax, dword [esp + 0x18]
and eax, 0xfffffffe
dec eax
mov dword [esp + 0x48], 5
lea ecx, [esp + 0x18]
push 0
push eax
call fcn.005562b0
test byte [esp + 0x18], 1
lea edi, [esp + 0x19]
je 0x544473
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 4]
add eax, edi
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 4], edi
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x5444a0
movzx eax, word [eax]
jmp 0x5444b3
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], 6
call eax
mov edi, dword [esp + 4]
movzx ecx, word [esp + 0x2e]
movzx edx, word [esp + 0x2c]
mov dword [esp + 0x48], 7
movzx eax, ax
lea esi, [esp + 0x8c]
push esi
lea esi, [esp + 0x38]
push esi
lea esi, [esp + 0x2c]
push esi
lea esi, [esp + 0xd8]
push esi
lea esi, [esp + 0x48]
push esi
push edx
push ecx
lea ecx, [esp + 0x44]
push ecx
push edi
lea ecx, [esp + 0x3b]
push ecx
lea ecx, [esp + 0x33]
push ecx
push eax
call fcn.00577d90
add esp, 0x30
test eax, eax
jne 0x54452a
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x544320
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x48], 8
call eax
jmp 0x544326
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 4]
movzx eax, byte [esp + 0x38]
mov dword [esp + 0x10], ecx
test al, 1
je 0x544574
mov eax, dword [esp + 0x3c]
cmp byte [esp + 0xb], 0
je 0x54457d
test eax, eax
je 0x54457d
mov eax, dword [esp + 0x24]
lea edx, [esp + 0xcc]
mov ecx, eax
sub ecx, edx
cmp ecx, 0x9f
jg 0x54457d
mov ecx, dword [esp + 0x34]
lea edx, [eax + 4]
mov dword [esp + 0x24], edx
mov dword [eax], ecx
jmp 0x54457d
shr eax, 1
cmp byte [esp + 0xb], 0
jne 0x54454a
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], 9
push dword [ebp + 0x14]
push eax
push edi
call fcn.00566d20
add esp, 0xc
fstp qword [esp + 0x80]
movsd xmm0, qword [esp + 0x80]
mov eax, dword [ebp + 0x18]
movsd qword [eax], xmm0
push dword [ebp + 0x14]
push dword [esp + 0x28]
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004e4670
add esp, 0x10
mov esi, dword [esp + 0xc]
test esi, esi
je 0x5445e2
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
cmp eax, dword [esi + 0x10]
je 0x5445f3
movzx eax, word [eax]
jmp 0x544610
mov ecx, dword [esp + 0x10]
xor esi, esi
mov dl, 1
test ecx, ecx
jne 0x54461c
jmp 0x544678
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], 0xa
mov ecx, esi
call eax
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor edx, edx
cmp ax, 0xffff
je 0x54463b
test ecx, ecx
je 0x544678
mov eax, dword [ecx + 0xc]
mov dword [esp + 0xc], esi
cmp eax, dword [ecx + 0x10]
je 0x54464e
movzx eax, word [eax]
cmp ax, 0xffff
je 0x54466b
mov esi, dword [esp + 0xc]
test dl, dl
je 0x54467c
jmp 0x544682
lea eax, [ebp + 8]
xor esi, esi
mov dl, 1
mov dword [eax], 0
test ecx, ecx
jne 0x54461c
jmp 0x544678
mov eax, dword [ecx]
mov dword [esp + 4], edx
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], 0xb
call eax
mov edx, dword [esp + 4]
cmp ax, 0xffff
jne 0x544631
mov esi, dword [esp + 0xc]
lea eax, [ebp + 0xc]
mov dword [eax], 0
test dl, dl
je 0x544682
mov eax, dword [ebp + 0x14]
or byte [eax], 2
test byte [esp + 0x18], 1
je 0x544695
push dword [esp + 0x20]
call fcn.004fc300
add esp, 4
test byte [esp + 0x38], 1
je 0x5446a8
push dword [esp + 0x40]
call fcn.004fc300
add esp, 4
lea eax, [esp + 0x44]
push eax
call fcn.00521ba0
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14