Function at 0x4f573c
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 0x4f5770
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 4]
test edx, edx
je 0x4f5a22
mov edx, dword [esp + 0x8c]
mov dword [edx], 0
cmp esi, 0x5ef8f4
je 0x4f593c
cmp esi, 0x5ef908
je 0x4f59e4
mov dword [esp + 0x3c], 0
xor esi, esi
mov ebp, dword [ebx + 4]
test ebp, ebp
je 0x4f5a7f
mov eax, dword [ebx + 8]
mov dword [esp + 0x48], eax
test esi, esi
je 0x4f58d4
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4f57cc
mov eax, dword [eax + 4]
test eax, eax
je 0x4f57cc
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.004f4fec
test eax, eax
je 0x4f5994
mov edx, dword [esp + 0x44]
test edx, edx
js 0x4f5920
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 0x4f5913
mov dword [ebx + 0x10], ecx
inc dword [ecx]
mov dword [ebx + 0x14], edx
jmp 0x4f5847
mov eax, dword [eax + 4]
test byte [eax], 2
jne 0x4f5844
mov edx, dword [esp + 0x78]
test edx, edx
je 0x4f58c9
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.004f4d98
mov ebp, dword [esp + 0x3c]
test ebp, ebp
je 0x4f58c9
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 0x4f59cf
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x48]
cmp byte [ebp + edx - 1], 0x29
jne 0x4f57b9
test edx, edx
jle 0x4f57b9
cmp byte [ebp], 0x28
je 0x4f5a2f
xor eax, eax
jmp 0x4f5909
mov ecx, eax
cmp byte [ebp + eax], 0x28
je 0x4f5a33
inc eax
cmp eax, edx
jne 0x4f58fc
jmp 0x4f57b9
mov dword [ebx + 0x10], 0
jmp 0x4f583c
mov dword [ebx + 0xc], str.parsedVarName
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
jmp 0x4f5847
mov dword [esp + 0x3c], 0
mov eax, dword [ebx + 0x14]
test byte [ebp + 4], 1
je 0x4f57b9
test byte [esp + 0x7c], 3
jne 0x4f57b9
cmp eax, dword [ebp + 0x24]
jge 0x4f57b9
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 0x4f5bd0
cmp ecx, edx
jne 0x4f57b9
mov edx, dword [ebp + 0x28]
lea eax, [edx + eax*8]
jmp 0x4f5847
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x4f59aa
test dword [esp + 0x7c], 0x200
jne 0x4f5b4c
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4f59c5
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 0x4f59cf
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.004dd854
mov eax, dword [esp + 0x30]
jmp 0x4f58c9
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4f5b88
mov edi, dword [esp + 0x78]
test edi, edi
je 0x4f5b9a
test dword [esp + 0x7c], 0x200
je 0x4f59c5
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x61e465
mov edi, dword [esp + 0x80]
mov dword [esp + 0xc], edi
jmp 0x4f5a60
mov dword [esp], eax
call fcn.004dda84
jmp 0x4f5770
xor ecx, ecx
xor eax, eax
mov esi, dword [esp + 0x78]
test esi, esi
je 0x4f5a96
test dword [esp + 0x7c], 0x200
je 0x4f59c5
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.004f3c14
xor eax, eax
jmp 0x4f59c7
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004ddcd8
mov ebp, eax
jmp 0x4f57b1
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.004edfec
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.004eb494
mov dword [esp + 0x78], eax
inc dword [eax]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4f5aed
mov eax, dword [eax + 4]
test eax, eax
je 0x4f5aed
mov dword [esp], ebx
call eax
mov dword [ebx + 0xc], str.parsedVarName
call fcn.0050d3e4
mov edx, eax
mov dword [eax], 0
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x4f5bdd
mov eax, dword [0x5ef7cc]
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 0x4f57cc
mov dword [esp], edx
call fcn.004dda84
mov eax, dword [ebx + 0xc]
jmp 0x4f57bc
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.004f3c14
mov eax, dword [esp + 0x30]
jmp 0x4f59aa
mov dword [esp + 0x3c], 0
mov esi, 1
jmp 0x4f579f
mov edi, dword [ebx + 0x14]
mov dword [esp + 0x3c], edi
test edi, edi
je 0x4f5bcc
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call fcn.004eb494
mov dword [esp + 0x78], eax
inc dword [eax]
mov ebx, dword [ebx + 0x10]
cmp dword [ebx + 0xc], 0x5ef8f4
jne 0x4f5b90
jmp 0x4f5944
mov ebx, eax
jmp 0x4f5bbe
cmp ecx, ebx
jne 0x4f57b9
jmp 0x4f5986
inc eax
mov dword [esp], eax
mov dword [esp + 0x30], edx
call fcn.004edfec
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 0x4f5b1c