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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
call fcn.0054a320
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x54d605
mov eax, dword [ebp - 4]
jmp 0x54db56
movzx ecx, byte [0x61c49c]
test ecx, ecx
jne 0x54d619
mov dword [ebp - 0x14], 0
jmp 0x54d64a
mov edx, dword [ebp + 0x10]
and edx, 0x8000
je 0x54d62d
mov dword [ebp - 0x14], 0
jmp 0x54d64a
mov eax, dword [ebp + 0x10]
and eax, 0x10000
je 0x54d640
mov dword [ebp - 0x14], 1
jmp 0x54d64a
movzx ecx, byte [0x61c49d]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x10]
and edx, 0x40000
je 0x54d662
mov eax, dword [ebp + 0x10]
and eax, 0xfffdffff
mov dword [ebp + 0x10], eax
jmp 0x54d677
cmp dword [0x61c560], 0
je 0x54d677
mov ecx, dword [ebp + 0x10]
or ecx, 0x20000
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
and edx, 0xfff600e7
mov dword [ebp + 0x10], edx
push 0
push 0x218
call fcn.004aac20
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x54d6a0
jmp 0x54daeb
cmp dword [ebp - 0x14], 0
je 0x54d6d7
push 1
call fcn.004a9ea0
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0xc], 0
jne 0x54d6d7
mov eax, dword [ebp - 8]
push eax
call fcn.004aa870
add esp, 4
mov dword [ebp - 8], 0
jmp 0x54daeb
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call fcn.004a9ef0
add esp, 4
mov eax, dword [ebp + 0x10]
and eax, 0x2000000
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0xff
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], 2
mov eax, dword [ebp - 8]
mov byte [eax + 0x61], 0x6d
mov ecx, dword [ebp - 8]
add ecx, 0x1c8
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 0x130], 1
xor ecx, ecx
mov edx, dword [ebp - 8]
mov word [edx + 0x134], cx
mov edi, dword [ebp - 8]
add edi, 0x78
mov ecx, 0xc
mov esi, 0x59a3ec
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
mov dword [eax + 0xa4], 0
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x55], 1
mov edx, dword [ebp - 8]
mov byte [edx + 0x5a], 0xff
mov eax, dword [ebp - 8]
mov ecx, dword [0x61c540]
mov dword [eax + 0x30], ecx
mov edx, dword [0x61c544]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x64], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xb8], 0x61c5dc
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
or eax, 0xe00480e0
mov ecx, dword [edx + 0x24]
mov edx, dword [ebp - 8]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov eax, dword [ebp - 8]
add eax, 0x1ac
push eax
call fcn.004b17a0
add esp, 4
mov ecx, dword [ebp - 8]
add ecx, 0x180
push ecx
call fcn.004b17a0
add esp, 4
push 0
push fcn.0054b030
push 0
push 1
push 0x59504c
mov edx, dword [ebp - 8]
push edx
call fcn.0054cc40
add esp, 0x18
push 0
push fcn.0054b030
push 0
push 3
push 0x59504c
mov eax, dword [ebp - 8]
push eax
call fcn.0054cc40
add esp, 0x18
push 0
push fcn.0054b030
push 0
push 2
push 0x59504c
mov ecx, dword [ebp - 8]
push ecx
call fcn.0054cc40
add esp, 0x18
push 0
push 0x54b150
push 0
push 1
push str.NOCASE
mov edx, dword [ebp - 8]
push edx
call fcn.0054cc40
add esp, 0x18
push 0
push 0x54b0a0
push 0
push 1
push str.RTRIM
mov eax, dword [ebp - 8]
push eax
call fcn.0054cc40
add esp, 0x18
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x57]
test edx, edx
je 0x54d86a
jmp 0x54daeb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebp + 0x10]
and ecx, 7
mov edx, 1
shl edx, cl
and edx, 0x46
jne 0x54d897
push 0x2a7f4
call fcn.0054deb0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x54d8ba
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call fcn.0054ce50
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x54d905
cmp dword [ebp - 4], 7
jne 0x54d8d2
mov eax, dword [ebp - 8]
push eax
call fcn.004ab200
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
neg edx
sbb edx, edx
and edx, 0x624e30
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004af2b0
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
call fcn.004aa870
add esp, 4
jmp 0x54daeb
mov eax, dword [ebp + 0x10]
or eax, 0x100
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
add edx, 4
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call fcn.004c7150
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x54d95e
cmp dword [ebp - 4], 0xc0a
jne 0x54d949
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004af1f0
add esp, 8
jmp 0x54daeb
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 4]
push edx
call fcn.004c43a0
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.005098c0
add esp, 8
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x57]
test ecx, ecx
jne 0x54d9b4
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0xc]
movzx edx, byte [ecx + 0x4d]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00509230
add esp, 8
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 4]
push eax
call fcn.004c4490
add esp, 4
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.005098c0
add esp, 8
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x10]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov dword [eax], str.main
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov byte [edx + 8], 3
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
mov dword [ecx + 0x10], str.temp
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov byte [eax + 0x18], 1
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x61], 0x76
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x57]
test eax, eax
je 0x54da21
jmp 0x54daeb
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.004af1f0
add esp, 8
mov edx, dword [ebp - 8]
push edx
call fcn.0050dbe0
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.0054cb50
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x54da5c
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 4], 0
jne 0x54da80
cmp dword [ebp - 0xc], 2
jge 0x54da80
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax*4 + 0x59a2a8]
call ecx
add esp, 4
mov dword [ebp - 4], eax
jmp 0x54da53
cmp dword [ebp - 4], 0
jne 0x54daa9
mov edx, dword [ebp - 8]
push edx
call fcn.00515520
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.0054cb50
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x54daa9
jmp 0x54daeb
cmp dword [ebp - 4], 0
je 0x54dabf
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004af1f0
add esp, 8
mov eax, dword [0x61c4b0]
push eax
mov ecx, dword [0x61c4ac]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0054a970
add esp, 0x10
push 0x3e8
mov eax, dword [ebp - 8]
push eax
call fcn.0054c6a0
add esp, 8
cmp dword [ebp - 8], 0
je 0x54db00
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call fcn.004a9f40
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.0054cb50
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xff
cmp ecx, 7
jne 0x54db32
mov edx, dword [ebp - 8]
push edx
call fcn.0054b620
add esp, 4
mov dword [ebp - 8], 0
jmp 0x54db3f
cmp dword [ebp - 4], 0
je 0x54db3f
mov eax, dword [ebp - 8]
mov byte [eax + 0x61], 0xba
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0054ec30
add esp, 4
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret