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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
call fcn.00531690
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d47f3
mov eax, dword [ebp - 8]
jmp 0x4d4dc5
movzx ecx, byte [0x5eeb44]
test ecx, ecx
jne 0x4d4807
mov dword [ebp - 0xc], 0
jmp 0x4d4838
mov edx, dword [ebp + 0x10]
and edx, 0x8000
je 0x4d481b
mov dword [ebp - 0xc], 0
jmp 0x4d4838
mov eax, dword [ebp + 0x10]
and eax, 0x10000
je 0x4d482e
mov dword [ebp - 0xc], 1
jmp 0x4d4838
movzx ecx, byte [0x5eeb45]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x10]
and edx, 0x40000
je 0x4d4850
mov eax, dword [ebp + 0x10]
and eax, 0xfffdffff
mov dword [ebp + 0x10], eax
jmp 0x4d4865
cmp dword [0x5eec08], 0
je 0x4d4865
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.00502cf0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4d488e
jmp 0x4d4d5a
cmp dword [ebp - 0xc], 0
je 0x4d48c5
push 1
call fcn.00503600
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x4d48c5
mov eax, dword [ebp - 4]
push eax
call fcn.004af750
add esp, 4
mov dword [ebp - 4], 0
jmp 0x4d4d5a
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call fcn.004a1550
add esp, 4
mov eax, dword [ebp + 0x10]
and eax, 0x2000000
je 0x4d48e7
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x4d48ee
mov dword [ebp - 0x1c], 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x48], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 2
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x61], 0x6d
mov edx, dword [ebp - 4]
add edx, 0x1c8
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x130], 1
xor edx, edx
mov eax, dword [ebp - 4]
mov word [eax + 0x134], dx
push 0x30
push 0x5bdd1c
mov ecx, dword [ebp - 4]
add ecx, 0x78
push ecx
call fcn.0057c750
add esp, 0xc
mov edx, 4
imul eax, edx, 0xb
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x78], 0
mov edx, dword [ebp - 4]
mov byte [edx + 0x55], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x5a], 0xff
mov ecx, dword [ebp - 4]
mov edx, dword [0x5eebe8]
mov eax, dword [0x5eebec]
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x34], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x64], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0xb8], 0x5efca0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
or ecx, 0xe00480e0
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov ecx, dword [ebp - 4]
add ecx, 0x1ac
push ecx
call fcn.004fe8a0
add esp, 4
mov edx, dword [ebp - 4]
add edx, 0x180
push edx
call fcn.004fe8a0
add esp, 4
push 0
push fcn.004b8d80
push 0
push 1
push 0x5befac
mov eax, dword [ebp - 4]
push eax
call fcn.004c0a90
add esp, 0x18
push 0
push fcn.004b8d80
push 0
push 3
push 0x5befac
mov ecx, dword [ebp - 4]
push ecx
call fcn.004c0a90
add esp, 0x18
push 0
push fcn.004b8d80
push 0
push 2
push 0x5befac
mov edx, dword [ebp - 4]
push edx
call fcn.004c0a90
add esp, 0x18
push 0
push 0x4d4630
push 0
push 1
push str.NOCASE
mov eax, dword [ebp - 4]
push eax
call fcn.004c0a90
add esp, 0x18
push 0
push 0x4e0b50
push 0
push 1
push str.RTRIM
mov ecx, dword [ebp - 4]
push ecx
call fcn.004c0a90
add esp, 0x18
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x57]
test eax, eax
je 0x4d4a6a
jmp 0x4d4d5a
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x3c], edx
mov ecx, dword [ebp + 0x10]
and ecx, 7
mov eax, 1
shl eax, cl
and eax, 0x46
jne 0x4d4a97
push 0x29f45
call fcn.005033f0
add esp, 4
mov dword [ebp - 8], eax
jmp 0x4d4aba
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.00506dd0
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d4b11
cmp dword [ebp - 8], 7
jne 0x4d4ad2
mov ecx, dword [ebp - 4]
push ecx
call fcn.005039c0
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x4d4ae1
mov dword [ebp - 0x20], 0x5f6804
jmp 0x4d4ae8
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004f30b0
add esp, 0x10
mov eax, dword [ebp - 0x10]
push eax
call fcn.004af750
add esp, 4
jmp 0x4d4d5a
mov ecx, dword [ebp + 0x10]
or ecx, 0x100
push ecx
push 0
mov edx, 0x10
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
lea eax, [edx + eax + 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call fcn.004ea870
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d4b74
cmp dword [ebp - 8], 0xc0a
jne 0x4d4b5f
mov dword [ebp - 8], 7
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004f2ea0
add esp, 8
jmp 0x4d4d5a
mov ecx, 0x10
imul edx, ecx, 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 4]
push edx
call fcn.004e9200
add esp, 4
mov eax, 0x10
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx + 4]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0050f340
add esp, 8
mov ecx, 0x10
imul edx, ecx, 0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov dword [ecx + edx + 0xc], eax
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x57]
test eax, eax
jne 0x4d4bee
mov ecx, 0x10
imul edx, ecx, 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 0xc]
movzx eax, byte [edx + 0x4d]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00512130
add esp, 8
mov edx, 0x10
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + eax + 4]
push eax
call fcn.004ea610
add esp, 4
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050f340
add esp, 8
mov edx, 0x10
shl edx, 0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov dword [ecx + edx + 0xc], eax
mov edx, 0x10
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [edx + eax], str.main
mov eax, 0x10
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov byte [eax + ecx + 8], 3
mov ecx, 0x10
shl ecx, 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov dword [eax + ecx], str.temp
mov ecx, 0x10
shl ecx, 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov byte [eax + ecx + 8], 1
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x61], 0x76
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x57]
test eax, eax
je 0x4d4c90
jmp 0x4d4d5a
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.004f2ea0
add esp, 8
mov edx, dword [ebp - 4]
push edx
call fcn.0050d230
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.004b02d0
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x4d4ccb
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 8], 0
jne 0x4d4cef
cmp dword [ebp - 0x14], 2
jge 0x4d4cef
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax*4 + 0x5c32fc]
call ecx
add esp, 4
mov dword [ebp - 8], eax
jmp 0x4d4cc2
cmp dword [ebp - 8], 0
jne 0x4d4d18
mov edx, dword [ebp - 4]
push edx
call fcn.004e69f0
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.004b02d0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d4d18
jmp 0x4d4d5a
cmp dword [ebp - 8], 0
je 0x4d4d2e
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004f2ea0
add esp, 8
mov eax, dword [0x5eeb58]
push eax
mov ecx, dword [0x5eeb54]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.004e3070
add esp, 0x10
push 0x3e8
mov eax, dword [ebp - 4]
push eax
call fcn.004a5730
add esp, 8
cmp dword [ebp - 4], 0
je 0x4d4d6f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call fcn.004a15c0
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.004b02d0
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
and ecx, 0xff
cmp ecx, 7
jne 0x4d4da1
mov edx, dword [ebp - 4]
push edx
call fcn.004ae4a0
add esp, 4
mov dword [ebp - 4], 0
jmp 0x4d4dae
cmp dword [ebp - 8], 0
je 0x4d4dae
mov eax, dword [ebp - 4]
mov byte [eax + 0x61], 0xba
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.004b02a0
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret