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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x62fcf8
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x74]
mov eax, dword [edi + 4]
dec eax
cmp eax, 7
ja case.0x5a0e2d.2
jmp dword [eax*4 + 0x5a1780]
push 0x6f8ca8
lea ecx, [esp + 0x14]
call fcn.0041d7d0
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x70]
mov ebp, dword [sym.imp.MSVCRT.dll_free]
mov dword [esp + 0x68], 0
mov eax, dword [eax - 8]
test eax, eax
je 0x5a0ea8
mov eax, dword [0x72598c]
lea ecx, [esp + 0x84]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004eac90
mov edx, dword [esp + 0x84]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov ebx, dword [esi]
mov byte [esp + 0x68], 1
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call dword [ebx + 0x1c]
mov edx, dword [esp + 0x84]
push edx
call ebp
mov edi, dword [esp + 0x78]
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5a0ec3
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5a0ec3
push eax
call ebp
add esp, 4
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.004cc6e0
mov edx, dword [eax]
mov dword [esp + 0x68], 2
mov ecx, dword [edx - 8]
test ecx, ecx
je 0x5a0f1b
mov ecx, dword [0x72598c]
push ecx
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
call fcn.004eac90
mov edx, dword [esp + 0x74]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov ebx, dword [esi]
mov byte [esp + 0x68], 3
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call dword [ebx + 0x1c]
mov edx, dword [esp + 0x74]
push edx
call ebp
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x68], 0xffffffff
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5a0f3e
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5a0f3e
push eax
call ebp
add esp, 4
push 0x6f8ca0
lea ecx, [esp + 0x18]
call fcn.0041d7d0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], 4
mov eax, dword [ecx - 8]
test eax, eax
je 0x5a0f9b
mov eax, dword [0x72598c]
lea edx, [esp + 0x74]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004eac90
mov edx, dword [esp + 0x74]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov ebx, dword [esi]
mov byte [esp + 0x68], 5
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call dword [ebx + 0x1c]
mov eax, dword [esp + 0x74]
push eax
call ebp
add esp, 4
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je case.0x5a0e2d.2
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne case.0x5a0e2d.2
push eax
call ebp
jmp 0x5a1767
lea edx, [esp + 0x40]
mov ecx, edi
push edx
call fcn.004cc6e0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
push 0
push ecx
push edx
push eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x78], 6
push eax
call fcn.005a1830
mov ecx, dword [esp + 0x54]
add esp, 0x14
lea eax, [ecx - 0xc]
jmp 0x5a163a
push 0x6f8c9c
lea ecx, [esp + 0x1c]
call fcn.0041d7d0
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x70]
mov ebx, dword [sym.imp.MSVCRT.dll_free]
mov dword [esp + 0x68], 7
mov eax, dword [edx - 8]
test eax, eax
je 0x5a1069
mov eax, dword [0x72598c]
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.004eac90
mov edx, dword [esp + 0x70]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov esi, dword [ebp]
mov byte [esp + 0x68], 8
not ecx
dec ecx
push ecx
push edx
mov ecx, ebp
call dword [esi + 0x1c]
mov ecx, dword [esp + 0x70]
push ecx
call ebx
add esp, 4
mov edx, dword [esp + 0x18]
mov dword [esp + 0x68], 0xffffffff
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x5a108d
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5a108d
push eax
call ebx
add esp, 4
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x44]
push eax
call fcn.005288b0
mov ecx, dword [eax]
mov dword [esp + 0x68], 9
mov edx, dword [ecx - 8]
test edx, edx
je 0x5a10e8
mov ecx, dword [0x72598c]
lea edx, [esp + 0x70]
push ecx
push edx
mov ecx, eax
call fcn.004eac90
mov edx, dword [esp + 0x70]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov esi, dword [ebp]
mov byte [esp + 0x68], 0xa
not ecx
dec ecx
push ecx
push edx
mov ecx, ebp
call dword [esi + 0x1c]
mov eax, dword [esp + 0x70]
push eax
call ebx
add esp, 4
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x68], 0xffffffff
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x5a110c
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5a110c
push eax
call ebx
add esp, 4
mov edx, dword [esp + 0x74]
mov esi, dword [edx + 0x10]
test esi, esi
je 0x5a12e0
lea eax, [esp + 0x50]
mov ecx, esi
push eax
call fcn.005c53b0
push eax
lea ecx, [esp + 0x50]
push 0x6c3db8
push ecx
mov dword [esp + 0x74], 0xb
call fcn.004eb0c0
push 0x6f8c94
lea edx, [esp + 0x58]
push eax
push edx
mov byte [esp + 0x80], 0xc
call fcn.004eafd0
add esp, 0x18
mov ecx, dword [eax]
mov byte [esp + 0x68], 0xd
mov edx, dword [ecx - 8]
test edx, edx
je 0x5a11aa
mov ecx, dword [0x72598c]
lea edx, [esp + 0x70]
push ecx
push edx
mov ecx, eax
call fcn.004eac90
mov edx, dword [esp + 0x70]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov ebx, dword [ebp]
mov byte [esp + 0x68], 0xe
not ecx
dec ecx
push ecx
push edx
mov ecx, ebp
call dword [ebx + 0x1c]
mov eax, dword [esp + 0x70]
mov ebx, dword [sym.imp.MSVCRT.dll_free]
push eax
call ebx
add esp, 4
mov ecx, dword [esp + 0x48]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x5a11c6
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5a11c6
push eax
call ebx
add esp, 4
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x5a11e2
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5a11e2
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0x50]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5a11fd
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5a11fd
push eax
call ebx
add esp, 4
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.005288b0
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
push 1
push edx
push ecx
push eax
push ebp
mov dword [esp + 0x7c], 0xf
call fcn.005a1830
mov edx, dword [esp + 0x68]
add esp, 0x14
mov dword [esp + 0x68], 0xffffffff
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x5a124e
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5a124e
push eax
call ebx
add esp, 4
push 0x6f8c90
lea ecx, [esp + 0x20]
call fcn.0041d7d0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x68], 0x10
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5a12b2
mov eax, dword [0x72598c]
lea ecx, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.004eac90
mov edx, dword [esp + 0x28]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov ebx, dword [ebp]
mov byte [esp + 0x68], 0x11
not ecx
dec ecx
push ecx
push edx
mov ecx, ebp
call dword [ebx + 0x1c]
mov edx, dword [esp + 0x28]
mov ebx, dword [sym.imp.MSVCRT.dll_free]
push edx
call ebx
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x68], 0xffffffff
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5a12d5
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5a12d5
push eax
call ebx
add esp, 4
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x5a111b
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x5a165c
push 0x6f8c8c
lea ecx, [esp + 0x24]
call fcn.0041d7d0
mov edx, dword [esp + 0x20]
mov dword [esp + 0x68], 0x12
mov eax, dword [edx - 8]
test eax, eax
je 0x5a134d
mov eax, dword [0x72598c]
lea ecx, [esp + 0x20]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.004eac90
mov edx, dword [esp + 0x70]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov esi, dword [ebp]
mov byte [esp + 0x68], 0x13
not ecx
dec ecx
push ecx
push edx
mov ecx, ebp
call dword [esi + 0x1c]
mov ecx, dword [esp + 0x70]
push ecx
call ebx
add esp, 4
mov edx, dword [esp + 0x20]
mov dword [esp + 0x68], 0xffffffff
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x5a1371
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5a1371
push eax
call ebx
add esp, 4
mov ecx, dword [esp + 0x74]
xor eax, eax
mov esi, dword [ecx + 0x18]
test esi, esi
je 0x5a144c
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x84]
lea ebx, [edx + eax]
mov eax, dword [esp + 0x84]
test eax, eax
jl 0x5a141f
test esi, esi
je 0x5a141f
cmp dword [esi + 4], 3
je 0x5a141f
push 0x6d2d94
lea ecx, [esp + 0x74]
call fcn.0041d7f0
test ebx, ebx
mov dword [esp + 0x68], 0x14
jle 0x5a13e2
mov edi, ebx
push 0x20
push 1
lea ecx, [esp + 0x78]
call fcn.004e9db0
push 0x20
push 1
lea ecx, [esp + 0x78]
call fcn.004e9db0
dec edi
jne 0x5a13c5
push 0
lea ecx, [esp + 0x74]
push 0
push ecx
push ebp
call fcn.005a17a0
mov edx, dword [esp + 0x80]
add esp, 0x10
mov dword [esp + 0x68], 0xffffffff
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x5a141f
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5a141f
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
push eax
push ecx
push edx
push ebx
push esi
push ebp
call fcn.005a0e00
mov eax, esi
mov esi, dword [esi + 0x1c]
add esp, 0x18
test esi, esi
jne 0x5a1390
mov ecx, dword [esp + 0x84]
test ecx, ecx
jl 0x5a14f1
test eax, eax
je 0x5a14f1
cmp dword [eax + 4], 3
je 0x5a14f1
push 0x6d2d94
lea ecx, [esp + 0x88]
call fcn.0041d7f0
mov esi, dword [esp + 0x78]
mov dword [esp + 0x68], 0x15
test esi, esi
jle 0x5a14b1
push 0x20
push 1
lea ecx, [esp + 0x8c]
call fcn.004e9db0
push 0x20
push 1
lea ecx, [esp + 0x8c]
call fcn.004e9db0
dec esi
jne 0x5a148e
push 0
lea eax, [esp + 0x88]
push 0
push eax
push ebp
call fcn.005a17a0
mov ecx, dword [esp + 0x94]
add esp, 0x10
mov dword [esp + 0x68], 0xffffffff
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x5a14f1
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5a14f1
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push 0x6f8c84
lea ecx, [esp + 0x28]
call fcn.0041d7d0
mov edx, dword [esp + 0x24]
mov dword [esp + 0x68], 0x16
mov eax, dword [edx - 8]
test eax, eax
je 0x5a155c
mov eax, dword [0x72598c]
lea ecx, [esp + 0x24]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.004eac90
mov edx, dword [esp + 0x84]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov esi, dword [ebp]
mov byte [esp + 0x68], 0x17
not ecx
dec ecx
push ecx
push edx
mov ecx, ebp
call dword [esi + 0x1c]
mov ecx, dword [esp + 0x84]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edx, dword [esp + 0x24]
mov dword [esp + 0x68], 0xffffffff
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x5a1584
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5a1584
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x58]
push eax
call fcn.005288b0
mov ecx, dword [eax]
mov dword [esp + 0x68], 0x18
mov edx, dword [ecx - 8]
test edx, edx
je 0x5a15e3
mov ecx, dword [0x72598c]
lea edx, [esp + 0x74]
push ecx
push edx
mov ecx, eax
call fcn.004eac90
mov edx, dword [esp + 0x74]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov esi, dword [ebp]
mov byte [esp + 0x68], 0x19
not ecx
dec ecx
push ecx
push edx
mov ecx, ebp
call dword [esi + 0x1c]
mov eax, dword [esp + 0x74]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x68], 0xffffffff
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x5a160b
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5a160b
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push 0x6f8c8c
lea ecx, [esp + 0x30]
call fcn.0041d7f0
push 0
lea edx, [esp + 0x30]
push 0
push edx
push ebp
mov dword [esp + 0x78], 0x1a
call fcn.005a17a0
mov eax, dword [esp + 0x3c]
add esp, 0x10
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je case.0x5a0e2d.2
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne case.0x5a0e2d.2
push eax
call dword [sym.imp.MSVCRT.dll_free]
jmp 0x5a1767
push 0x6f8c7c
lea ecx, [esp + 0x34]
call fcn.0041d7f0
push 0
lea ecx, [esp + 0x34]
push 0
push ecx
push ebp
mov dword [esp + 0x78], 0x1b
call fcn.005a17a0
mov edx, dword [esp + 0x40]
jmp 0x5a174f
push str.____
lea ecx, [esp + 0x38]
call fcn.0041d7f0
mov esi, dword [esp + 0x70]
push 0
lea eax, [esp + 0x38]
push 0
push eax
push esi
mov dword [esp + 0x78], 0x1c
call fcn.005a17a0
mov ecx, dword [esp + 0x44]
mov ebx, dword [sym.imp.MSVCRT.dll_free]
add esp, 0x10
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x5a16d8
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5a16d8
push eax
call ebx
add esp, 4
lea edx, [esp + 0x5c]
mov ecx, edi
push edx
call fcn.004cc6e0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
push ecx
push edx
push eax
push esi
mov dword [esp + 0x78], 0x1d
call fcn.005a17a0
mov eax, dword [esp + 0x6c]
add esp, 0x10
add eax, 0xfffffff4
mov dword [esp + 0x68], 0xffffffff
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5a1726
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5a1726
push eax
call ebx
add esp, 4
push 0x6f8c68
lea ecx, [esp + 0x3c]
call fcn.0041d7f0
push 0
lea ecx, [esp + 0x3c]
push 0
push ecx
push esi
mov dword [esp + 0x78], 0x1e
call fcn.005a17a0
mov edx, dword [esp + 0x48]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
add esp, 0x10
cmp ecx, 0xffffffff
je case.0x5a0e2d.2
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne case.0x5a0e2d.2
push eax
call ebx
add esp, 4
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret