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

Disassembly:
push 0xffffffffffffffff
push 0x5f73f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push esi
push edi
lea ecx, [esp + 8]
call fcn.005e2960
lea ecx, [esp + 0xc]
mov dword [esp + 0x180], 0
call fcn.005e2960
lea ecx, [esp + 0x10]
mov byte [esp + 0x180], 1
call fcn.005e2960
mov eax, 0x16d0
mov word [esp + 0x20], 0x7be
mov word [esp + 0x18], ax
mov word [esp + 0x1a], ax
mov word [esp + 0x1c], ax
mov word [esp + 0x1e], ax
mov eax, dword [esp + 0x188]
mov word [esp + 0x22], 0x7bd
mov word [esp + 0x24], 0x7bc
mov word [esp + 0x26], 0x7bf
mov di, word [esp + eax*2 + 0x20]
mov si, word [esp + eax*2 + 0x18]
push edi
lea eax, [esp + 0x4c]
push esi
push eax
mov byte [esp + 0x18c], 2
call dword [0x600af0]
test eax, eax
jne 0x54a958
mov ecx, dword [esp + 0x18c]
push edi
push esi
lea eax, [esp + 0x30]
lea edx, [ecx + ecx]
push edx
push eax
call dword [0x600af4]
test eax, eax
jne 0x54a958
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x4c]
push 0x100
push ecx
push 0x7f00
push edx
call dword [0x600aec]
mov eax, dword [esp + 0x28]
push eax
call dword [0x600ae8]
mov dl, byte [esp + 0x4c]
xor eax, eax
or edi, 0xffffffff
cmp dl, 0xff
mov ecx, edi
je 0x54a934
cmp byte [esp + eax + 0x4d], 0xff
je 0x54a665
mov ecx, eax
add eax, 8
cmp eax, 0xf8
jg 0x54a934
cmp byte [esp + eax + 0x4c], 0xff
jne 0x54a647
cmp ecx, edi
je 0x54a934
mov eax, dword [esp + ecx + 0x4c]
mov ecx, dword [esp + ecx + 0x50]
push ebx
push ecx
push eax
lea ecx, [esp + 0x14]
push 0x62daf0
push ecx
call fcn.005e2b16
add esp, 0x10
lea edx, [esp + 0x18]
lea ecx, [esp + 0xc]
push 0xc
push edx
call fcn.005e2b34
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x188], 3
call fcn.005e2a44
lea ecx, [esp + 0x18]
mov byte [esp + 0x184], 2
call fcn.005e2954
push 0x6380bc
lea ecx, [esp + 0x1c]
call fcn.005e2d44
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x44]
mov bl, 4
push ecx
push edx
mov byte [esp + 0x190], bl
call fcn.005e2a2c
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x188], 5
call fcn.005e2a44
lea ecx, [esp + 0x40]
mov byte [esp + 0x184], bl
call fcn.005e2954
lea ecx, [esp + 0x18]
mov byte [esp + 0x184], 2
call fcn.005e2954
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
cmp ecx, 0x10
jl 0x54a8c0
mov cx, word [eax]
mov si, word [eax + 2]
push ecx
call fcn.0040a980
mov bl, al
push esi
shl bl, 4
call fcn.0040a980
add bl, al
mov eax, dword [esp + 0x14]
xor bl, 1
mov cx, word [eax + 4]
mov si, word [eax + 6]
push ecx
mov byte [esp + 0x28], bl
call fcn.0040a980
mov bl, al
push esi
shl bl, 4
call fcn.0040a980
add bl, al
mov eax, dword [esp + 0x1c]
xor bl, 9
mov cx, word [eax + 8]
mov si, word [eax + 0xa]
push ecx
mov byte [esp + 0x38], bl
call fcn.0040a980
mov bl, al
push esi
shl bl, 4
call fcn.0040a980
add bl, al
mov eax, dword [esp + 0x24]
xor bl, 6
mov cx, word [eax + 0xc]
mov si, word [eax + 0xe]
push ecx
mov byte [esp + 0x50], bl
call fcn.0040a980
mov bl, al
push esi
shl bl, 4
call fcn.0040a980
add bl, al
mov eax, dword [esp + 0x2c]
xor bl, 9
mov cx, word [eax + 0x10]
mov si, word [eax + 0x12]
push ecx
mov byte [esp + 0x6c], bl
call fcn.0040a980
mov bl, al
push esi
shl bl, 4
call fcn.0040a980
add bl, al
mov eax, dword [esp + 0x34]
xor bl, 1
mov cx, word [eax + 0x14]
mov si, word [eax + 0x16]
push ecx
mov byte [esp + 0x68], bl
call fcn.0040a980
mov bl, al
push esi
shl bl, 4
call fcn.0040a980
add bl, al
mov eax, dword [esp + 0x3c]
xor bl, 2
mov cx, word [eax + 0x18]
mov si, word [eax + 0x1a]
push ecx
mov byte [esp + 0x78], bl
call fcn.0040a980
mov bl, al
push esi
shl bl, 4
call fcn.0040a980
add bl, al
mov eax, dword [esp + 0x44]
mov byte [esp + 0x68], bl
mov cx, word [eax + 0x1c]
mov si, word [eax + 0x1e]
push ecx
call fcn.0040a980
mov bl, al
push esi
shl bl, 4
call fcn.0040a980
mov ecx, dword [esp + 0x70]
add bl, al
xor bl, 5
mov edx, dword [esp + 0x84]
mov byte [esp + 0x78], bl
add esp, 0x40
mov eax, dword [esp + 0x38]
and ecx, 0xff
and eax, 0xff
and edx, 0xff
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x50]
and eax, 0xff
push edx
mov edx, dword [esp + 0x40]
and ecx, 0xff
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x30]
and edx, 0xff
and eax, 0xff
push edx
and ecx, 0xff
push eax
push ecx
lea edx, [esp + 0x30]
push 0x62daa0
push edx
call fcn.005e2b16
add esp, 0x28
mov eax, dword [esp + 0x10]
pop ebx
cmp dword [eax - 8], 0x10
jl 0x54a934
mov ax, word [eax + 8]
lea ecx, [esp + 0x10]
push eax
call fcn.005e2d5c
mov eax, dword [esp + 0x10]
push eax
call dword [0x600a78]
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x180], 1
call fcn.005e2954
lea ecx, [esp + 0xc]
mov byte [esp + 0x180], 0
call fcn.005e2954
lea ecx, [esp + 8]
mov dword [esp + 0x180], edi
call fcn.005e2954
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
add esp, 0x17c
ret
lea ecx, [esp + 0x10]
mov byte [esp + 0x180], 1
call fcn.005e2954
lea ecx, [esp + 0xc]
mov byte [esp + 0x180], 0
call fcn.005e2954
jmp 0x54a97d
lea ecx, [esp + 0x10]
mov byte [esp + 0x180], 1
call fcn.005e2954
lea ecx, [esp + 0xc]
mov byte [esp + 0x180], 0
call fcn.005e2954
or edi, 0xffffffff
lea ecx, [esp + 8]
mov dword [esp + 0x180], edi
call fcn.005e2954
mov ecx, dword [esp + 0x178]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x17c
ret