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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x70]
mov edx, dword [ebx + 0x64]
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x74]
mov esi, dword [ecx + 4]
test esi, esi
je 0x4f5338
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x84]
mov dword [eax], 0xfffffffd
mov edx, dword [esp + 0x78]
and edx, 1
mov dword [esp + 0x28], edx
je 0x4f5140
mov edi, dword [ebx + 0x14]
mov eax, dword [edi + 0xec]
test eax, eax
je 0x4f50cc
test dword [esp + 0x78], 0x40000
jne 0x4f50dc
mov ebp, dword [ebx + 0xf8]
test eax, eax
je 0x4f5080
lea ecx, [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call eax
cmp eax, 4
jne 0x4f50b4
nop
test ebp, ebp
je 0x4f50dc
mov eax, dword [ebp + 8]
test eax, eax
je 0x4f5210
lea edx, [esp + 0x38]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call eax
mov ebp, dword [ebp + 0x10]
cmp eax, 4
je 0x4f5080
test eax, eax
jne 0x4f5258
mov edx, dword [esp + 0x38]
mov eax, edx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + 0xf8]
test edx, edx
jne 0x4f5044
nop
test byte [esp + 0x78], 3
je 0x4f514c
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4f51d4
mov eax, dword [esp + 0x84]
mov dword [eax], 0xffffffff
and dword [esp + 0x78], 0xfffffffc
or dword [esp + 0x78], 1
mov ebp, 1
mov eax, dword [esp + 0x78]
and eax, 0xfffbfdff
or eax, 0x40000
mov dword [esp], eax
mov ecx, edi
mov edx, dword [esp + 0x74]
mov eax, ebx
call fcn.004f2b08
mov edx, eax
test eax, eax
je 0x4f5260
mov eax, edx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x64]
mov edi, dword [eax]
jmp 0x4f5036
mov edx, dword [esp + 0x2c]
test byte [edx + 4], 1
je 0x4f50e3
mov dword [esp + 4], 0x61e3bb
mov dword [esp], esi
call sub.msvcrt.dll_strstr
test eax, eax
jne 0x4f50e3
mov edx, dword [esp + 0x2c]
mov edi, dword [edx + 0x24]
mov ecx, dword [edx + 0x30]
mov ebp, ecx
add ebp, 8
xor ebx, ebx
test edi, edi
jg 0x4f5191
jmp 0x4f535a
inc ebx
cmp ebx, edi
je 0x4f535a
mov edx, dword [ebp + ebx*4]
test edx, edx
je 0x4f5188
mov eax, dword [edx + 4]
test eax, eax
je 0x4f5347
mov cl, byte [eax]
cmp byte [esi], cl
jne 0x4f5188
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4f5188
mov eax, dword [esp + 0x84]
mov dword [eax], ebx
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x28]
lea edx, [eax + ebx*8]
jmp 0x4f5133
cmp dword [ebx + 0x14], edi
je 0x4f50ef
cmp byte [esi], 0x3a
je 0x4f5328
test dword [esp + 0x78], 0x40000
je 0x4f51f5
or dword [esp + 0x78], 2
test byte [esp + 0x78], 2
je 0x4f5218
mov ecx, dword [esp + 0x84]
mov dword [ecx], 0xfffffffe
xor ebp, ebp
jmp 0x4f510b
mov ebp, dword [ebp + 0x10]
jmp 0x4f5080
xor ebp, ebp
jmp 0x4f510b
test ebx, ebx
je 0x4f5248
mov dword [esp + 8], 0
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [ebx + 0x30]
test eax, eax
je 0x4f5248
mov edx, eax
sub edx, 0xc
jne 0x4f5133
mov ecx, dword [esp + 0x80]
mov dword [ecx], 0x61e465
lea esi, [esi]
xor edx, edx
jmp 0x4f5133
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4f5397
lea eax, [esp + 0x4c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x20], edx
call fcn.0052c1a8
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov edx, dword [esp + 0x20]
je 0x4f53bb
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4f53a9
cmp esi, eax
je 0x4f5354
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov dword [esp + 0x20], edx
call fcn.004eb494
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
lea ebx, [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
lea eax, [ecx + 0x98]
mov dword [esp], eax
mov dword [esp + 0x20], edx
call dword [ecx + 0xc8]
test eax, eax
mov edx, dword [esp + 0x20]
je 0x4f5312
lea edx, [eax - 0xc]
cmp ebp, 1
sbb eax, eax
dec eax
mov ecx, dword [esp + 0x84]
mov dword [ecx], eax
jmp 0x4f5133
cmp byte [esi + 1], 0x3a
jne 0x4f51e6
jmp 0x4f50ef
mov dword [esp], ecx
call fcn.004dda84
mov esi, eax
jmp 0x4f500d
mov dword [esp], edx
call fcn.004dda84
jmp 0x4f51a4
mov eax, dword [esp + 0x74]
jmp 0x4f52e8
mov edx, dword [esp + 0x2c]
mov ebx, dword [edx + 0x20]
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x4f521f
test ebx, ebx
je 0x4f53cd
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebx + 0x30]
test eax, eax
je 0x4f5258
lea edx, [eax - 0xc]
jmp 0x4f5133
mov eax, dword [esp + 0x80]
mov dword [eax], 0x61e465
jmp 0x4f5133
mov eax, dword [esp + 0x80]
mov dword [eax], str.missing_variable_name
jmp 0x4f5133
mov ecx, dword [esp + 0x80]
mov dword [ecx], str.parent_namespace_doesnt_exist
jmp 0x4f5133
mov dword [esp], 0x3c
call fcn.004edfec
mov ebx, eax
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004f4d6c
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x20], ebx
jmp 0x4f5371