Function at 0x547580
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.005442d0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5475b5
mov eax, dword [ebp - 4]
jmp 0x547b06
movzx ecx, byte [0x61649c]
test ecx, ecx
jne 0x5475c9
mov dword [ebp - 0x14], 0
jmp 0x5475fa
mov edx, dword [ebp + 0x10]
and edx, 0x8000
je 0x5475dd
mov dword [ebp - 0x14], 0
jmp 0x5475fa
mov eax, dword [ebp + 0x10]
and eax, 0x10000
je 0x5475f0
mov dword [ebp - 0x14], 1
jmp 0x5475fa
movzx ecx, byte [0x61649d]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x10]
and edx, 0x40000
je 0x547612
mov eax, dword [ebp + 0x10]
and eax, 0xfffdffff
mov dword [ebp + 0x10], eax
jmp 0x547627
cmp dword [0x616560], 0
je 0x547627
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.004a4be0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x547650
jmp 0x547a9b
cmp dword [ebp - 0x14], 0
je 0x547687
push 1
call fcn.004a3e70
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0xc], 0
jne 0x547687
mov eax, dword [ebp - 8]
push eax
call fcn.004a4830
add esp, 4
mov dword [ebp - 8], 0
jmp 0x547a9b
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call fcn.004a3ec0
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, 0x5943cc
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 [0x616540]
mov dword [eax + 0x30], ecx
mov edx, dword [0x616544]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x64], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xb8], 0x6165dc
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.004ab760
add esp, 4
mov ecx, dword [ebp - 8]
add ecx, 0x180
push ecx
call fcn.004ab760
add esp, 4
push 0
push fcn.00544fe0
push 0
push 1
push 0x58f02c
mov edx, dword [ebp - 8]
push edx
call fcn.00546bf0
add esp, 0x18
push 0
push fcn.00544fe0
push 0
push 3
push 0x58f02c
mov eax, dword [ebp - 8]
push eax
call fcn.00546bf0
add esp, 0x18
push 0
push fcn.00544fe0
push 0
push 2
push 0x58f02c
mov ecx, dword [ebp - 8]
push ecx
call fcn.00546bf0
add esp, 0x18
push 0
push 0x545100
push 0
push 1
push str.NOCASE
mov edx, dword [ebp - 8]
push edx
call fcn.00546bf0
add esp, 0x18
push 0
push 0x545050
push 0
push 1
push str.RTRIM
mov eax, dword [ebp - 8]
push eax
call fcn.00546bf0
add esp, 0x18
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x57]
test edx, edx
je 0x54781a
jmp 0x547a9b
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 0x547847
push 0x2a7f4
call fcn.00547e60
add esp, 4
mov dword [ebp - 4], eax
jmp 0x54786a
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.00546e00
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5478b5
cmp dword [ebp - 4], 7
jne 0x547882
mov eax, dword [ebp - 8]
push eax
call fcn.004a51c0
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
neg edx
sbb edx, edx
and edx, 0x61ee30
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004a9270
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
call fcn.004a4830
add esp, 4
jmp 0x547a9b
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.004c1140
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x54790e
cmp dword [ebp - 4], 0xc0a
jne 0x5478f9
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004a91b0
add esp, 8
jmp 0x547a9b
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 4]
push edx
call fcn.004be370
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.00503880
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 0x547964
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.005031f0
add esp, 8
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 4]
push eax
call fcn.004be460
add esp, 4
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00503880
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 0x5479d1
jmp 0x547a9b
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.004a91b0
add esp, 8
mov edx, dword [ebp - 8]
push edx
call fcn.00507ba0
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.00546b00
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x547a0c
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 4], 0
jne 0x547a30
cmp dword [ebp - 0xc], 2
jge 0x547a30
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax*4 + 0x594288]
call ecx
add esp, 4
mov dword [ebp - 4], eax
jmp 0x547a03
cmp dword [ebp - 4], 0
jne 0x547a59
mov edx, dword [ebp - 8]
push edx
call fcn.0050f4e0
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.00546b00
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x547a59
jmp 0x547a9b
cmp dword [ebp - 4], 0
je 0x547a6f
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004a91b0
add esp, 8
mov eax, dword [0x6164b0]
push eax
mov ecx, dword [0x6164ac]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.00544920
add esp, 0x10
push 0x3e8
mov eax, dword [ebp - 8]
push eax
call fcn.00546650
add esp, 8
cmp dword [ebp - 8], 0
je 0x547ab0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call fcn.004a3f10
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.00546b00
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xff
cmp ecx, 7
jne 0x547ae2
mov edx, dword [ebp - 8]
push edx
call fcn.005455d0
add esp, 4
mov dword [ebp - 8], 0
jmp 0x547aef
cmp dword [ebp - 4], 0
je 0x547aef
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.00548be0
add esp, 4
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret