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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7c3512
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x314]
push edi
xor edi, edi
mov ebp, dword [eax]
cmp ebp, dword [ebx + 0x314]
je 0x545782
lea esi, [ebp + 8]
lea ecx, [esp + 0x14]
push esi
call fcn.004267d0
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x100], 0
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x1c]
lea edx, [esi + 0x24]
mov dword [esp + 0x34], ecx
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], eax
call fcn.004267d0
mov eax, dword [esi + 0x34]
mov cl, byte [esi + 0x38]
mov dl, byte [esi + 0x39]
mov byte [esp + 0x100], 1
mov dword [esp + 0x48], eax
mov byte [esp + 0x4c], cl
mov byte [esp + 0x4d], dl
mov edx, dword [esp + 0x34]
mov ecx, 2
cmp edx, ecx
mov dword [esp + 0x100], ecx
jne 0x5455f9
mov ecx, dword [0x9ea1d4]
cmp dword [ecx + 0x914], eax
jne 0x5455f9
cmp dword [esp + 0x30], 8
jge 0x5455f9
sub esp, 0x3c
lea edx, [esp + 0x50]
mov esi, esp
mov dword [esp + 0xb0], esp
push edx
mov ecx, esi
mov dword [esp + 0x90], esi
call fcn.004267d0
mov eax, dword [esp + 0x60]
mov byte [esp + 0x13c], 3
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x14], ecx
mov edx, dword [esp + 0x68]
mov dword [esi + 0x18], edx
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x74]
mov dword [esi + 0x20], ecx
push edx
lea ecx, [esi + 0x24]
call fcn.004267d0
mov eax, dword [esp + 0x84]
mov byte [esp + 0x13c], 4
mov dword [esi + 0x34], eax
mov cl, byte [esp + 0x88]
mov byte [esi + 0x38], cl
mov dl, byte [esp + 0x89]
mov byte [esi + 0x39], dl
mov ecx, ebx
mov byte [esp + 0x13c], 2
call fcn.00545980
test al, al
je 0x5455f9
mov eax, dword [esp + 0x24]
mov ecx, ebx
push eax
call fcn.00545b30
test al, al
je 0x5455f9
mov al, byte [esp + 0x4d]
test al, al
je 0x545637
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x104], 0xb
call fcn.00404e60
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x104], 0xffffffff
call fcn.00404e60
mov ebp, dword [ebp]
inc edi
cmp edi, 0xc
jl 0x5454ab
jmp 0x545782
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x58], cl
lea ecx, [esp + 0x58]
call fcn.00404e60
mov dl, byte [esp + 0x14]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x60], esp
mov byte [esp + 0x110], 6
push 0
mov ecx, esi
mov byte [esi], dl
call fcn.00404e60
mov eax, dword [0x7e565c]
lea ecx, [esp + 0x24]
push eax
push 0
push ecx
mov ecx, esi
call fcn.00404c60
mov ecx, ebx
mov byte [esp + 0x110], 6
call fcn.005428b0
test al, al
je 0x54569d
lea edx, [esp + 0x54]
push edx
push 0xd60
jmp 0x5456a7
lea eax, [esp + 0x54]
push eax
push 0xd61
call fcn.00709cc0
mov ecx, dword [esp + 0x20]
add esp, 8
test ecx, ecx
jne 0x5456bc
mov ecx, 0x7e5658
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x5456c9
mov eax, 0x7e5658
push ecx
lea ecx, [esp + 0x7c]
push eax
push ecx
call fcn.007a3155
mov dl, byte [esp + 0x1f]
add esp, 0xc
lea ecx, [esp + 0x64]
mov byte [esp + 0x64], dl
push 0
call fcn.00404e60
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x78]
push ecx
push eax
lea ecx, [esp + 0x6c]
call fcn.00404eb0
lea ecx, [esp + 0x64]
push 0xffffff00
push ecx
mov ecx, dword [0x9eba88]
mov byte [esp + 0x108], 8
call fcn.006b8210
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x104], 6
call fcn.00404e60
lea eax, [ebp + 8]
test eax, eax
je 0x545743
mov byte [eax + 0x39], 1
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x104], 2
call fcn.00404e60
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x104], 9
call fcn.00404e60
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x104], 0xffffffff
call fcn.00404e60
mov edx, dword [ebx + 0x314]
mov eax, dword [edx]
xor edx, edx
cmp eax, dword [ebx + 0x314]
je 0x5457a7
lea ecx, [eax + 8]
test ecx, ecx
je 0x54579f
mov byte [ecx + 0x39], 0
mov eax, dword [eax]
inc edx
cmp edx, 0xc
jl 0x54578c
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xf4
ret