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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x74]
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x4c], 0
mov edx, dword [esp + 0x70]
mov ebp, dword [edx + 0x64]
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x4f4a0c
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 4]
test edx, edx
je 0x4f4cbe
mov edx, dword [esp + 0x8c]
mov dword [edx], 0
cmp esi, 0x5deb94
je 0x4f4bd8
cmp esi, 0x5deba8
je 0x4f4c80
mov dword [esp + 0x3c], 0
xor esi, esi
mov ebp, dword [ebx + 4]
test ebp, ebp
je 0x4f4d1b
mov eax, dword [ebx + 8]
mov dword [esp + 0x48], eax
test esi, esi
je 0x4f4b70
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4f4a68
mov eax, dword [eax + 4]
test eax, eax
je 0x4f4a68
mov dword [esp], ebx
call eax
mov dword [ebx + 0xc], 0
lea eax, [esp + 0x44]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x84]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.004f4288
test eax, eax
je 0x4f4c30
mov edx, dword [esp + 0x44]
test edx, edx
js 0x4f4bbc
mov dword [ebx + 0xc], str.localVarName
mov edi, dword [esp + 0x70]
mov ecx, dword [edi + 0x64]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + edx*4 + 8]
cmp ecx, ebx
je 0x4f4baf
mov dword [ebx + 0x10], ecx
inc dword [ecx]
mov dword [ebx + 0x14], edx
jmp 0x4f4ae3
mov eax, dword [eax + 4]
test byte [eax], 2
jne 0x4f4ae0
mov edx, dword [esp + 0x78]
test edx, edx
je 0x4f4b65
mov edx, dword [esp + 0x8c]
mov dword [edx], eax
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x84]
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.004f4034
mov ebp, dword [esp + 0x3c]
test ebp, ebp
je 0x4f4b65
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx]
mov edx, ecx
dec edx
mov esi, dword [esp + 0x78]
mov dword [esi], edx
test edx, edx
jle 0x4f4c6b
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x48]
cmp byte [ebp + edx - 1], 0x29
jne 0x4f4a55
test edx, edx
jle 0x4f4a55
cmp byte [ebp], 0x28
je 0x4f4ccb
xor eax, eax
jmp 0x4f4ba5
mov ecx, eax
cmp byte [ebp + eax], 0x28
je 0x4f4ccf
inc eax
cmp eax, edx
jne 0x4f4b98
jmp 0x4f4a55
mov dword [ebx + 0x10], 0
jmp 0x4f4ad8
mov dword [ebx + 0xc], str.parsedVarName
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
jmp 0x4f4ae3
mov dword [esp + 0x3c], 0
mov eax, dword [ebx + 0x14]
test byte [ebp + 4], 1
je 0x4f4a55
test byte [esp + 0x7c], 3
jne 0x4f4a55
cmp eax, dword [ebp + 0x24]
jge 0x4f4a55
mov edx, dword [ebx + 0x10]
mov esi, dword [esp + 0x70]
mov ecx, dword [esi + 0x64]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + eax*4 + 8]
test edx, edx
je 0x4f4e78
cmp ecx, edx
jne 0x4f4a55
mov edx, dword [ebp + 0x28]
lea eax, [edx + eax*8]
jmp 0x4f4ae3
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x4f4c46
test dword [esp + 0x7c], 0x200
jne 0x4f4df4
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4f4c61
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx]
mov edx, ecx
dec edx
mov esi, dword [esp + 0x78]
mov dword [esi], edx
test edx, edx
jle 0x4f4c6b
xor eax, eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], esi
mov dword [esp + 0x30], eax
call fcn.004dd020
mov eax, dword [esp + 0x30]
jmp 0x4f4b65
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4f4e30
mov edi, dword [esp + 0x78]
test edi, edi
je 0x4f4e42
test dword [esp + 0x7c], 0x200
je 0x4f4c61
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x60ca59
mov edi, dword [esp + 0x80]
mov dword [esp + 0xc], edi
jmp 0x4f4cfc
mov dword [esp], eax
call fcn.004dd280
jmp 0x4f4a0c
xor ecx, ecx
xor eax, eax
mov esi, dword [esp + 0x78]
test esi, esi
je 0x4f4d32
test dword [esp + 0x7c], 0x200
je 0x4f4c61
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], str.variable_isnt_array
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.004f2e90
xor eax, eax
jmp 0x4f4c63
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004dd4d4
mov ebp, eax
jmp 0x4f4a4d
lea esi, [ebp + ecx + 1]
mov edi, edx
sub edi, eax
mov dword [esp + 0x48], eax
lea eax, [edi - 1]
mov dword [esp], eax
call fcn.004edaf0
mov dword [esp + 0x3c], eax
lea eax, [edi - 2]
mov edi, dword [esp + 0x3c]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x3c]
mov byte [edi + eax], 0
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call fcn.004eaf6c
mov dword [esp + 0x78], eax
inc dword [eax]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4f4d89
mov eax, dword [eax + 4]
test eax, eax
je 0x4f4d89
mov dword [esp], ebx
call eax
mov dword [ebx + 0xc], str.parsedVarName
mov edx, dword [0x67b764]
test edx, edx
je 0x4f4ebd
mov eax, dword [edx + 0x10]
mov dword [0x67b764], eax
mov dword [edx], 0
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4f4e85
mov eax, dword [0x5dea6c]
mov dword [edx + 4], eax
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
inc dword [edx]
mov dword [ebx + 0x10], edx
mov edi, dword [esp + 0x3c]
mov dword [ebx + 0x14], edi
mov ebx, edx
test eax, eax
jne 0x4f4a68
mov dword [esp], edx
call fcn.004dd280
mov eax, dword [ebx + 0xc]
jmp 0x4f4a58
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xc], ecx
mov esi, dword [esp + 0x78]
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov dword [esp + 0x30], eax
call fcn.004f2e90
mov eax, dword [esp + 0x30]
jmp 0x4f4c46
mov dword [esp + 0x3c], 0
mov esi, 1
jmp 0x4f4a3b
mov edi, dword [ebx + 0x14]
mov dword [esp + 0x3c], edi
test edi, edi
je 0x4f4e74
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call fcn.004eaf6c
mov dword [esp + 0x78], eax
inc dword [eax]
mov ebx, dword [ebx + 0x10]
cmp dword [ebx + 0xc], 0x5deb94
jne 0x4f4e38
jmp 0x4f4be0
mov ebx, eax
jmp 0x4f4e66
cmp ecx, ebx
jne 0x4f4a55
jmp 0x4f4c22
inc eax
mov dword [esp], eax
mov dword [esp + 0x30], edx
call fcn.004edaf0
mov edx, dword [esp + 0x30]
mov dword [edx + 4], eax
mov ecx, dword [esp + 0x48]
mov edi, eax
mov esi, ebp
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x48]
mov byte [ecx + eax], 0
mov eax, dword [esp + 0x48]
mov dword [edx + 8], eax
mov eax, dword [edx + 4]
jmp 0x4f4dc7
call fcn.004dcd40
mov edx, dword [0x67b764]
jmp 0x4f4d9e