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

Disassembly:
push 0xffffffffffffffff
push 0x4b53fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x14]
call fcn.00515c44
mov ecx, dword [esi + 0x4c]
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
mov dword [esp + 0xa4], ebx
call fcn.00515e72
call dword [0x4b8284]
push eax
call fcn.00515c86
cmp eax, dword [esi + 0x4c]
jne 0x548436
cmp byte [0x56f3f8], bl
jne 0x548436
test byte [esi + 0x68], 8
je 0x548160
cmp dword [esi + 0xd8], ebx
je 0x548160
mov cl, byte [esp + 0x13]
mov ebp, dword [esp + 0x14]
mov byte [esp + 0x3c], cl
push ebx
lea ecx, [esp + 0x40]
call dword [fcn.004b7ef4]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x44]
call dword [fcn.004b7e58]
mov eax, dword [esp + 0x44]
mov byte [esp + 0xa0], 1
cmp eax, ebx
mov ebp, eax
jne 0x547fe2
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xa4], bl
call dword [fcn.004b7ef4]
jmp 0x548466
mov eax, dword [esi + 0x4c]
lea edx, [esp + 0x90]
lea ecx, [esp + 0x28]
push edx
mov edx, dword [eax + 0x20]
push ecx
push 0xb0
push edx
call dword [fcn.004b818c]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x68]
push eax
call dword [0x4b7ddc]
mov edi, 0x52e640
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xa0], 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x52e640
lea ecx, [esp + 0x70]
call dword [fcn.004b7e58]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov eax, dword [esi + 0xbc]
mov byte [esp + 0xa0], 3
mov eax, dword [eax]
mov dword [esi + 0xc4], eax
mov ecx, dword [esi + 0xbc]
cmp eax, ecx
je 0x54812d
mov ecx, dword [0x4b7eb8]
mov edi, dword [esi + 0xc4]
add edi, 8
mov edx, dword [ecx]
lea ecx, [esp + 0x68]
push edx
push ebx
push edi
call dword [fcn.004b7ebc]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x78], eax
mov ecx, dword [edi + 0x14]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esi + 0xc4]
mov edx, dword [edi + 0x18]
add ecx, 8
cmp eax, ebx
mov dword [esp + 0x80], edx
jne 0x5480b6
mov eax, dword [0x4b7ee4]
mov edx, dword [esp + 0x44]
push edx
push ebx
push eax
call dword [0x4b7dec]
cmp eax, ebx
je 0x5480e5
mov eax, dword [esi + 0xc4]
mov eax, dword [eax]
mov dword [esi + 0xc4], eax
mov eax, dword [esi + 0xbc]
cmp dword [esi + 0xc4], eax
jne 0x54806a
jmp 0x54812d
mov byte [0x56f3f8], 1
mov eax, dword [esi + 0xc4]
add eax, 8
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x548101
mov eax, dword [0x4b7ee4]
mov ecx, dword [esi + 0x4c]
push eax
call fcn.00515df4
mov ecx, dword [esi + 0xc4]
mov eax, dword [ecx + 0x10]
mov ecx, dword [esi + 0x4c]
push eax
push ebp
mov edx, dword [ecx + 0x20]
push 0xb1
push edx
call dword [fcn.004b818c]
mov byte [0x56f3f8], bl
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa4], 1
call dword [fcn.004b7ef4]
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xa4], bl
call dword [fcn.004b7ef4]
cmp byte [0x56f3f8], bl
jne 0x548436
test byte [esi + 0x68], 0x10
je 0x548436
mov al, byte [esp + 0x13]
push ebx
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
call fcn.00548ab2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov cl, byte [esp + 0x13]
mov ebp, dword [esp + 0x14]
mov byte [esp + 0x2c], cl
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0xa4], 4
call dword [fcn.004b7ef4]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x34]
call dword [fcn.004b7e58]
mov eax, dword [esp + 0x34]
mov byte [esp + 0xa0], 5
cmp eax, ebx
jne 0x548230
cmp dword [esi + 0x9c], ebx
je 0x5481e5
mov edx, dword [esi + 0x20]
push ebx
push ebx
push 0x402
push edx
call dword [fcn.004b818c]
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xa4], 4
call dword [fcn.004b7ef4]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xa0], bl
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x2c]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00548a52
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00515c1a
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jmp 0x548466
mov eax, dword [esi + 0x4c]
lea edx, [esp + 0x94]
lea ecx, [esp + 0x84]
push edx
mov edx, dword [eax + 0x20]
push ecx
push 0xb0
push edx
call dword [fcn.004b818c]
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], al
call dword [fcn.004b7ef4]
mov edi, 0x52e640
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xa0], 6
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x52e640
lea ecx, [esp + 0x54]
call dword [fcn.004b7e58]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov eax, dword [esi + 0xbc]
mov byte [esp + 0xa0], 7
mov eax, dword [eax]
mov dword [esi + 0xc4], eax
mov ecx, dword [esi + 0xbc]
cmp eax, ecx
je 0x54836a
mov ebp, dword [0x4b7de8]
mov ecx, dword [0x4b7eb8]
mov edi, dword [esi + 0xc4]
add edi, 8
mov edx, dword [ecx]
lea ecx, [esp + 0x4c]
push edx
push ebx
push edi
call dword [fcn.004b7ebc]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x5c], eax
mov ecx, dword [edi + 0x14]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x60], ecx
mov ecx, dword [esi + 0xc4]
mov edx, dword [edi + 0x18]
add ecx, 8
cmp eax, ebx
mov dword [esp + 0x64], edx
jne 0x54830b
mov eax, dword [0x4b7ee4]
mov edx, dword [esp + 0x34]
push edx
push ebx
push eax
call dword [0x4b7dec]
cmp eax, ebx
jne 0x54834c
mov ecx, dword [esi + 0xc4]
lea eax, [esp + 0x2c]
add ecx, 8
push eax
push ecx
call ebp
add esp, 8
test al, al
je 0x54834c
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00548942
mov eax, dword [esi + 0xc4]
mov edx, dword [eax]
mov dword [esi + 0xc4], edx
mov eax, dword [esi + 0xbc]
mov ecx, edx
cmp ecx, eax
jne 0x5482c2
cmp dword [esi + 0x9c], ebx
je 0x548383
mov eax, dword [esi + 0x20]
push ebx
push ebx
push 0x402
push eax
call dword [fcn.004b818c]
cmp dword [esp + 0x20], 1
jbe 0x548399
lea ecx, [esp + 0x18]
mov dword [esi + 0x48], ebx
push ecx
mov ecx, esi
call fcn.005468f2
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0xa4], 5
call dword [fcn.004b7ef4]
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x5483d2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5483c9
cmp al, 0xff
je 0x5483c9
dec al
mov byte [ecx], al
jmp 0x5483d2
push ecx
call fcn.00515c1a
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [eax]
mov byte [esp + 0xa0], bl
cmp ecx, eax
mov edi, eax
mov dword [esp + 0x24], ecx
je 0x548425
lea edx, [esp + 0x88]
push ebx
push edx
lea ecx, [esp + 0x2c]
call fcn.005501f2
mov eax, dword [eax]
lea ecx, [esp + 0x8c]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.005489a2
cmp dword [esp + 0x24], edi
jne 0x5483f5
mov eax, dword [esp + 0x1c]
push eax
call fcn.00515c1a
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
cmp dword [esi + 0x9c], ebx
jne 0x548466
mov ecx, esi
call fcn.005162f2
mov ecx, dword [esi + 0x20]
mov esi, dword [esi + 0x44]
and eax, 0xffff
push ecx
mov edx, dword [esi + 0x20]
or eax, 0x60000
push eax
push 0x111
push edx
call dword [fcn.004b818c]
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00515c26
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret