Function at 0x4f4f50
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 0x4f4f84
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 4]
test edx, edx
je 0x4f5236
mov edx, dword [esp + 0x8c]
mov dword [edx], 0
cmp esi, 0x5e0354
je 0x4f5150
cmp esi, 0x5e0368
je 0x4f51f8
mov dword [esp + 0x3c], 0
xor esi, esi
mov ebp, dword [ebx + 4]
test ebp, ebp
je 0x4f5293
mov eax, dword [ebx + 8]
mov dword [esp + 0x48], eax
test esi, esi
je 0x4f50e8
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4f4fe0
mov eax, dword [eax + 4]
test eax, eax
je 0x4f4fe0
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.004f4800
test eax, eax
je 0x4f51a8
mov edx, dword [esp + 0x44]
test edx, edx
js 0x4f5134
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 0x4f5127
mov dword [ebx + 0x10], ecx
inc dword [ecx]
mov dword [ebx + 0x14], edx
jmp 0x4f505b
mov eax, dword [eax + 4]
test byte [eax], 2
jne 0x4f5058
mov edx, dword [esp + 0x78]
test edx, edx
je 0x4f50dd
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.004f45ac
mov ebp, dword [esp + 0x3c]
test ebp, ebp
je 0x4f50dd
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 0x4f51e3
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x48]
cmp byte [ebp + edx - 1], 0x29
jne 0x4f4fcd
test edx, edx
jle 0x4f4fcd
cmp byte [ebp], 0x28
je 0x4f5243
xor eax, eax
jmp 0x4f511d
mov ecx, eax
cmp byte [ebp + eax], 0x28
je 0x4f5247
inc eax
cmp eax, edx
jne 0x4f5110
jmp 0x4f4fcd
mov dword [ebx + 0x10], 0
jmp 0x4f5050
mov dword [ebx + 0xc], str.parsedVarName
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
jmp 0x4f505b
mov dword [esp + 0x3c], 0
mov eax, dword [ebx + 0x14]
test byte [ebp + 4], 1
je 0x4f4fcd
test byte [esp + 0x7c], 3
jne 0x4f4fcd
cmp eax, dword [ebp + 0x24]
jge 0x4f4fcd
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 0x4f53e4
cmp ecx, edx
jne 0x4f4fcd
mov edx, dword [ebp + 0x28]
lea eax, [edx + eax*8]
jmp 0x4f505b
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x4f51be
test dword [esp + 0x7c], 0x200
jne 0x4f5360
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4f51d9
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 0x4f51e3
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.004dd138
mov eax, dword [esp + 0x30]
jmp 0x4f50dd
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4f539c
mov edi, dword [esp + 0x78]
test edi, edi
je 0x4f53ae
test dword [esp + 0x7c], 0x200
je 0x4f51d9
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x60ed25
mov edi, dword [esp + 0x80]
mov dword [esp + 0xc], edi
jmp 0x4f5274
mov dword [esp], eax
call fcn.004dd368
jmp 0x4f4f84
xor ecx, ecx
xor eax, eax
mov esi, dword [esp + 0x78]
test esi, esi
je 0x4f52aa
test dword [esp + 0x7c], 0x200
je 0x4f51d9
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.004f3428
xor eax, eax
jmp 0x4f51db
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004dd5bc
mov ebp, eax
jmp 0x4f4fc5
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.004ed800
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.004eaca8
mov dword [esp + 0x78], eax
inc dword [eax]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4f5301
mov eax, dword [eax + 4]
test eax, eax
je 0x4f5301
mov dword [esp], ebx
call eax
mov dword [ebx + 0xc], str.parsedVarName
call fcn.0050cb10
mov edx, eax
mov dword [eax], 0
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4f53f1
mov eax, dword [0x5e022c]
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 0x4f4fe0
mov dword [esp], edx
call fcn.004dd368
mov eax, dword [ebx + 0xc]
jmp 0x4f4fd0
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.004f3428
mov eax, dword [esp + 0x30]
jmp 0x4f51be
mov dword [esp + 0x3c], 0
mov esi, 1
jmp 0x4f4fb3
mov edi, dword [ebx + 0x14]
mov dword [esp + 0x3c], edi
test edi, edi
je 0x4f53e0
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call fcn.004eaca8
mov dword [esp + 0x78], eax
inc dword [eax]
mov ebx, dword [ebx + 0x10]
cmp dword [ebx + 0xc], 0x5e0354
jne 0x4f53a4
jmp 0x4f5158
mov ebx, eax
jmp 0x4f53d2
cmp ecx, ebx
jne 0x4f4fcd
jmp 0x4f519a
inc eax
mov dword [esp], eax
mov dword [esp + 0x30], edx
call fcn.004ed800
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 0x4f5330