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

Disassembly:
mov eax, 0x1090
call fcn.0054cf10
mov eax, dword [0x49f2f8]
xor eax, esp
mov dword [esp + 0x108c], eax
mov eax, dword [esp + 0x10a0]
mov ecx, dword [esp + 0x109c]
mov edx, dword [esp + 0x10a4]
push ebx
mov ebx, dword [esp + 0x1098]
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], 1
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
cmp eax, esi
jne 0x546d43
cmp ecx, esi
je 0x546d29
mov dword [ecx], 0x63
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x108c]
xor ecx, esp
call fcn.005486d7
add esp, 0x1090
ret
mov dword [eax], esi
cmp ecx, esi
je 0x546d4b
mov dword [ecx], esi
push ebp
cmp edx, esi
jne 0x546d5a
mov eax, 0x10
jmp 0x5473b5
mov eax, dword [esp + 0x10b8]
mov dword [edx], esi
cmp eax, esi
jne 0x546d73
mov eax, 0x4893d0
mov dword [esp + 0x10b8], eax
mov ebp, dword [esp + 0x10a8]
lea ecx, [eax + 0x100]
lea edx, [eax + 0x200]
mov dword [esp + 0x38], eax
add eax, 0x340
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
test ebp, 0xdc038580
je 0x546dad
mov eax, 0x11
jmp 0x5473a9
cmp byte [ebx], 0x28
jne 0x546eff
jmp 0x546dc2
xor esi, esi
cmp byte [ebx + edi + 1], 0x2a
jne 0x546eff
push 5
lea esi, [ebx + edi + 2]
push 0x48934c
push esi
call fcn.0054ce45
add esp, 0xc
test eax, eax
jne 0x546df3
add edi, 7
or ebp, 0x800
jmp 0x546ef3
push 4
push 0x489344
push esi
call fcn.0054ce45
add esp, 0xc
test eax, eax
jne 0x546e15
add edi, 6
or ebp, 0x20000000
jmp 0x546ef3
push 3
push 0x489340
push esi
call fcn.0054ce45
add esp, 0xc
test eax, eax
jne 0x546e3c
add edi, 5
mov eax, 0x100000
and ebp, 0xff8fffff
jmp 0x546ef1
push 3
push 0x48933c
push esi
call fcn.0054ce45
add esp, 0xc
test eax, eax
jne 0x546e63
add edi, 5
mov eax, 0x200000
and ebp, 0xff8fffff
jmp 0x546ef1
push 5
push 0x489334
push esi
call fcn.0054ce45
add esp, 0xc
test eax, eax
jne 0x546e87
add edi, 7
mov eax, 0x300000
and ebp, 0xff8fffff
jmp 0x546ef1
push 4
push 0x48932c
push esi
call fcn.0054ce45
add esp, 0xc
test eax, eax
jne 0x546eab
add edi, 6
mov eax, 0x400000
and ebp, 0xff8fffff
jmp 0x546ef1
push 8
push 0x489320
push esi
call fcn.0054ce45
add esp, 0xc
test eax, eax
jne 0x546ecf
add edi, 0xa
mov eax, 0x500000
and ebp, 0xff8fffff
jmp 0x546ef1
push 0xc
push 0x489310
push esi
call fcn.0054ce45
add esp, 0xc
test eax, eax
jne 0x546f15
add edi, 0xe
mov eax, 0x800000
and ebp, 0xfe7fffff
or ebp, eax
cmp byte [ebx + edi], 0x28
je 0x546dc0
xor esi, esi
mov eax, ebp
shr eax, 0xb
mov edx, 1
and eax, edx
je 0x546f33
lea eax, [edx + 0x1f]
jmp 0x5473a9
push 0xc
push 0x489300
push esi
call fcn.0054ce45
add esp, 0xc
test eax, eax
jne 0x546efd
add edi, 0xe
mov eax, 0x1000000
jmp 0x546eeb
test ebp, 0x20000000
je 0x546f45
mov eax, 0x43
jmp 0x5473a9
mov eax, ebp
and eax, 0x1800000
je 0x546f66
cmp eax, 0x800000
je 0x546f66
cmp eax, 0x1000000
je 0x546f66
mov eax, 0x38
jmp 0x5473a9
mov eax, ebp
and eax, 0x700000
cmp eax, 0x300000
mov ecx, 2
jg 0x546fca
je 0x546fc3
cmp eax, esi
je 0x546f8d
cmp eax, 0x100000
je 0x546fbc
cmp eax, 0x200000
jne 0x546fd8
mov eax, 0xa
cmp eax, 0xff
mov dword [esp + 0x90], esi
jle 0x546ff4
mov dword [esp + 0x94], ecx
mov ecx, eax
sar ecx, 8
mov byte [esp + 0x98], cl
mov byte [esp + 0x99], al
jmp 0x547002
mov eax, 0xd
jmp 0x546f92
mov eax, 0xd0a
jmp 0x546f92
cmp eax, 0x400000
je 0x546feb
cmp eax, 0x500000
je 0x546fe2
mov eax, 0x38
jmp 0x5473a9
mov dword [esp + 0x90], ecx
jmp 0x547002
mov dword [esp + 0x90], edx
jmp 0x547002
mov dword [esp + 0x94], edx
mov byte [esp + 0x98], al
lea edx, [esp + 0x9c]
mov eax, edx
mov dword [esp + 0x4c], eax
mov ecx, edx
mov eax, ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x547040
sub eax, edx
add eax, ebx
mov dword [esp + 0x54], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
lea edx, [esp + 0xa8]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x38]
push eax
push esi
push esi
push esi
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x48]
push eax
mov ecx, ebp
and ecx, 7
push ecx
add edi, ebx
push ebp
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x48], edi
mov byte [esp + 0xd0], 0x5e
call fcn.00546420
mov eax, dword [esp + 0x44]
add esp, 0x34
cmp eax, esi
jne 0x5473a9
mov ebp, dword [esp + 0x1c]
cmp ebp, 0x10000
jle 0x5470dc
mov eax, 0x14
jmp 0x5473a9
mov edx, dword [esp + 0x68]
add edx, 3
imul edx, dword [esp + 0x64]
lea ebx, [edx + ebp + 0x28]
push ebx
call dword [fcn.0049f028]
mov esi, eax
add esp, 4
test esi, esi
jne 0x547104
lea eax, [esi + 0x15]
jmp 0x5473a5
mov dword [esi + 4], ebx
mov dword [esi], 0x50435245
mov eax, dword [esp + 0x7c]
mov dword [esi + 8], eax
movzx ecx, word [esp + 0x80]
mov word [esi + 0xc], cx
xor edx, edx
mov word [esi + 0xe], dx
xor ecx, ecx
mov word [esi + 0x16], cx
xor eax, eax
mov word [esi + 0x14], ax
mov edx, 0x28
mov word [esi + 0x18], dx
movzx eax, word [esp + 0x68]
mov word [esi + 0x1a], ax
movzx ecx, word [esp + 0x64]
mov eax, dword [esp + 0x10b8]
mov word [esi + 0x1c], cx
xor edx, edx
mov word [esi + 0x1e], dx
mov ecx, eax
sub ecx, 0x4893d0
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [esi + 0x20], ecx
xor ecx, ecx
mov dword [esi + 0x24], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x64], ecx
movzx eax, word [esi + 0x18]
push ecx
add eax, esi
mov dword [esp + 0x64], eax
movzx edx, word [esi + 0x1a]
movzx ebx, word [esi + 0x1c]
imul ebx, edx
lea edx, [esp + 0x3c]
push edx
push ecx
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x38]
push edx
push ecx
push ecx
push ecx
add ebx, eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0x78], ecx
lea eax, [esp + 0xbc]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x7c], eax
lea ecx, [esp + 0x30]
push ecx
mov byte [ebx], 0x5e
mov eax, dword [esi + 8]
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x48]
mov edx, eax
push ecx
and edx, 7
push edx
push eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], ebx
call fcn.00546420
movzx eax, word [esp + 0xa0]
mov word [esi + 0x10], ax
movzx ecx, word [esp + 0xa8]
mov word [esi + 0x12], cx
mov dx, word [esp + 0xb4]
add esp, 0x34
mov word [esi + 0xc], dx
cmp dword [esp + 0x88], 0
je 0x547235
mov dword [esp + 0x24], 0xffffffff
cmp dword [esp + 0x10], 0
jne 0x54724d
mov eax, dword [esp + 0x14]
cmp byte [eax], 0
je 0x54724d
mov dword [esp + 0x10], 0x16
mov eax, dword [esp + 0x20]
mov byte [eax], 0
inc eax
sub eax, ebx
cmp eax, ebp
jle 0x547268
mov dword [esp + 0x10], 0x17
jmp 0x5472e5
cmp dword [esp + 0x10], 0
jne 0x5472e5
nop
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x9c]
cmp eax, ecx
jbe 0x5472d3
sub eax, 2
mov dword [esp + 0x5c], eax
movzx edx, byte [eax]
movzx edi, byte [eax + 1]
shl edx, 8
or edi, edx
movzx eax, byte [edi + ebx]
movzx ecx, byte [edi + ebx + 1]
shl eax, 8
or eax, ecx
push eax
push 0
push ebx
call fcn.00542810
add esp, 0xc
test eax, eax
je 0x5472c9
mov edx, eax
sub edx, ebx
sar edx, 8
sub al, bl
mov byte [edi + ebx], dl
mov byte [edi + ebx + 1], al
cmp dword [esp + 0x10], 0
je 0x547270
jmp 0x5472e5
mov dword [esp + 0x10], 0x35
jmp 0x5472e5
mov ax, word [esi + 0x12]
cmp ax, word [esi + 0x10]
jbe 0x5472e5
mov dword [esp + 0x10], 0xf
cmp dword [esp + 0x8c], 0
je 0x547390
push 0xffffffffffffffff
push 0
push ebx
call fcn.00542810
mov edi, eax
add esp, 0xc
test edi, edi
je 0x547390
lea ebx, [ebx]
movzx ecx, byte [edi + 1]
movzx edx, byte [edi + 2]
shl ecx, 8
or ecx, edx
jne 0x547367
movzx eax, byte [edi - 2]
movzx ecx, byte [edi - 1]
shl eax, 8
or eax, ecx
movzx edx, byte [eax + edi - 3]
lea ebp, [eax + edi - 3]
lea eax, [esp + 0x38]
push eax
mov byte [ebp], 0
mov ecx, dword [esi + 8]
push 1
push ecx
push edi
mov dword [esp + 0x2c], edx
call fcn.00542560
mov dl, byte [esp + 0x2c]
add esp, 0x10
mov byte [ebp], dl
test eax, eax
jl 0x54737f
mov ecx, eax
sar ecx, 8
mov byte [edi + 1], cl
mov byte [edi + 2], al
push 0xffffffffffffffff
push 0
add edi, 3
push edi
call fcn.00542810
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x547310
jmp 0x547390
sub eax, 0xfffffffe
neg eax
sbb eax, eax
and eax, 0xfffffff5
add eax, 0x24
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x5473ee
push esi
call dword [fcn.0049f02c]
mov eax, dword [esp + 0x14]
add esp, 4
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
sub ecx, ebx
mov dword [edx], ecx
mov esi, eax
mov ecx, 0x4887d8
test eax, eax
jle 0x5473d7
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x5473c0
cmp byte [ecx], dl
je 0x5473d2
dec esi
test esi, esi
jg 0x5473c0
jmp 0x5473d7
mov ecx, 0x4892c0
mov edx, dword [esp + 0x34]
mov dword [edx], ecx
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x5473e7
mov dword [ecx], eax
xor eax, eax
jmp 0x5474bd
mov eax, dword [esi + 8]
test al, 0x10
jne 0x547479
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
push eax
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
call fcn.00546850
add esp, 0x10
test eax, eax
je 0x54741c
or dword [esi + 8], 0x10
jmp 0x547479
mov eax, dword [esp + 0x28]
test eax, eax
jge 0x547438
push 0
lea edx, [esp + 0x1c]
push edx
push ebx
call fcn.00546bb0
add esp, 0xc
test eax, eax
jl 0x547460
mov ecx, eax
and ecx, 0xff
test eax, 0x100
je 0x547455
mov edx, dword [esp + 0x3c]
movzx edx, byte [edx + ecx]
cmp edx, ecx
jne 0x547455
mov eax, ecx
or word [esi + 0xc], 2
mov word [esi + 0x14], ax
jmp 0x547479
mov eax, dword [esp + 0x78]
push eax
push 0
push ebx
call fcn.00546930
add esp, 0xc
test eax, eax
je 0x547479
or word [esi + 0xc], 8
mov ecx, dword [esp + 0x24]
test ecx, ecx
jl 0x5474bb
test byte [esi + 8], 0x10
je 0x54748f
test ecx, 0x200
je 0x5474bb
mov eax, ecx
and eax, 0xff
test ecx, 0x100
je 0x5474b0
mov edx, dword [esp + 0x3c]
movzx edx, byte [edx + eax]
cmp edx, eax
jne 0x5474b0
and ecx, 0xfffffeff
or word [esi + 0xc], 4
mov eax, ecx
mov word [esi + 0x16], ax
mov eax, esi
mov ecx, dword [esp + 0x109c]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005486d7
add esp, 0x1090
ret