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

Disassembly:
push 0xffffffffffffffff
push 0x5f3b72
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.005df190
lea ecx, [esp + 0xc]
mov dword [esp + 0x180], 0
call fcn.005df190
lea ecx, [esp + 0x10]
mov byte [esp + 0x180], 1
call fcn.005df190
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 [0x5fcaf0]
test eax, eax
jne 0x549b08
mov ecx, dword [esp + 0x18c]
push edi
push esi
lea eax, [esp + 0x30]
lea edx, [ecx + ecx]
push edx
push eax
call dword [0x5fcaf4]
test eax, eax
jne 0x549b08
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x4c]
push 0x100
push ecx
push 0x7f00
push edx
call dword [0x5fcaec]
mov eax, dword [esp + 0x28]
push eax
call dword [0x5fcae8]
mov dl, byte [esp + 0x4c]
xor eax, eax
or edi, 0xffffffff
cmp dl, 0xff
mov ecx, edi
je 0x549ae4
cmp byte [esp + eax + 0x4d], 0xff
je 0x549815
mov ecx, eax
add eax, 8
cmp eax, 0xf8
jg 0x549ae4
cmp byte [esp + eax + 0x4c], 0xff
jne 0x5497f7
cmp ecx, edi
je 0x549ae4
mov eax, dword [esp + ecx + 0x4c]
mov ecx, dword [esp + ecx + 0x50]
push ebx
push ecx
push eax
lea ecx, [esp + 0x14]
push str._8X_8X
push ecx
call fcn.005df346
add esp, 0x10
lea edx, [esp + 0x18]
lea ecx, [esp + 0xc]
push 0xc
push edx
call fcn.005df364
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x188], 3
call fcn.005df274
lea ecx, [esp + 0x18]
mov byte [esp + 0x184], 2
call fcn.005df184
push 0x633db0
lea ecx, [esp + 0x1c]
call fcn.005df57a
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.005df25c
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x188], 5
call fcn.005df274
lea ecx, [esp + 0x40]
mov byte [esp + 0x184], bl
call fcn.005df184
lea ecx, [esp + 0x18]
mov byte [esp + 0x184], 2
call fcn.005df184
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
cmp ecx, 0x10
jl 0x549a70
mov cx, word [eax]
mov si, word [eax + 2]
push ecx
call fcn.0040aa20
mov bl, al
push esi
shl bl, 4
call fcn.0040aa20
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.0040aa20
mov bl, al
push esi
shl bl, 4
call fcn.0040aa20
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.0040aa20
mov bl, al
push esi
shl bl, 4
call fcn.0040aa20
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.0040aa20
mov bl, al
push esi
shl bl, 4
call fcn.0040aa20
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.0040aa20
mov bl, al
push esi
shl bl, 4
call fcn.0040aa20
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.0040aa20
mov bl, al
push esi
shl bl, 4
call fcn.0040aa20
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.0040aa20
mov bl, al
push esi
shl bl, 4
call fcn.0040aa20
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.0040aa20
mov bl, al
push esi
shl bl, 4
call fcn.0040aa20
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 str._02X_02X_02X_02X_02X_02X_02X_02X
push edx
call fcn.005df346
add esp, 0x28
mov eax, dword [esp + 0x10]
pop ebx
cmp dword [eax - 8], 0x10
jl 0x549ae4
mov ax, word [eax + 8]
lea ecx, [esp + 0x10]
push eax
call fcn.005df592
mov eax, dword [esp + 0x10]
push eax
call dword [0x5fca78]
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x180], 1
call fcn.005df184
lea ecx, [esp + 0xc]
mov byte [esp + 0x180], 0
call fcn.005df184
lea ecx, [esp + 8]
mov dword [esp + 0x180], edi
call fcn.005df184
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.005df184
lea ecx, [esp + 0xc]
mov byte [esp + 0x180], 0
call fcn.005df184
jmp 0x549b2d
lea ecx, [esp + 0x10]
mov byte [esp + 0x180], 1
call fcn.005df184
lea ecx, [esp + 0xc]
mov byte [esp + 0x180], 0
call fcn.005df184
or edi, 0xffffffff
lea ecx, [esp + 8]
mov dword [esp + 0x180], edi
call fcn.005df184
mov ecx, dword [esp + 0x178]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x17c
ret