Function at 0x10001a68
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x1f0
push esi
push edi
mov byte [ebp + 0x63], 0x68
mov byte [ebp + 0x62], 0xc3
mov eax, dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x7c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x28], ecx
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax + 0x78]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x10001aa9
xor eax, eax
jmp 0x100020ad
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x7c]
add ecx, dword [eax]
mov dword [ebp + 0x68], ecx
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x7c]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x7c]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x7c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x78]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x2c], ecx
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax + 0x78]
mov dword [ebp + 4], eax
mov eax, dword [ebp + 4]
cmp dword [eax + 4], 0
jne 0x10001b04
xor eax, eax
jmp 0x100020ad
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 0x78]
add ecx, dword [eax]
mov dword [ebp + 0x38], ecx
push 0x40
push 0x3000
mov eax, dword [ebp + 0x68]
mov eax, dword [eax + 0x18]
shl eax, 3
push eax
call fcn.10005858
add esp, 0xc
mov dword [ebp + 0x34], eax
and dword [ebp + 0x48], 0
and dword [ebp + 0x50], 0
jmp 0x10001b3c
mov eax, dword [ebp + 0x50]
inc eax
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x50]
cmp ecx, dword [eax + 0x18]
jae 0x10001ba1
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp + 0x7c]
add edx, dword [ecx + eax*4]
mov dword [ebp], edx
xor eax, eax
inc eax
imul eax, eax, 0
mov ecx, dword [ebp]
movsx eax, byte [ecx + eax]
test eax, eax
jne 0x10001b69
jmp 0x10001b35
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp - 0x34]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp + 0x7c]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp]
mov dword [ecx + eax*8], edx
mov eax, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [ebp + 0x48]
inc eax
mov dword [ebp + 0x48], eax
jmp 0x10001b35
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add eax, 0x14
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x30]
mov eax, dword [eax]
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x30]
cmp eax, dword [ebp - 4]
je 0x10001de0
mov eax, dword [ebp + 0x30]
sub eax, 8
mov dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x20]
mov eax, dword [eax + 0x18]
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x20]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp + 0x20]
mov ecx, dword [ecx + 0x18]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
push 8
pop eax
imul eax, eax, 0xc
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax + 0x78]
mov dword [ebp + 0x2c], eax
push 8
pop eax
shl eax, 0
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x2c]
cmp dword [eax + 4], 0
je 0x10001c2f
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
jne 0x10001c31
jmp 0x10001bc5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x54]
add ecx, dword [eax]
mov dword [ebp + 0x58], ecx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x54]
add ecx, dword [eax]
mov dword [ebp - 0x14], ecx
and dword [ebp + 0x14], 0
lea eax, [ebp + 0x14]
push eax
push 4
mov eax, dword [ebp + 0x2c]
push dword [eax + 4]
push dword [ebp - 0x14]
call fcn.100058bf
add esp, 0x10
test eax, eax
jne 0x10001c6d
xor eax, eax
jmp 0x100020ad
lea eax, [ebp - 0x180]
mov dword [ebp - 0x10], eax
push 0x104
lea eax, [ebp - 0x180]
push eax
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
and dword [ebp + 0x5c], 0
jmp 0x10001c98
mov eax, dword [ebp + 0x5c]
inc eax
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp + 0x5c]
movsx eax, byte [ebp + eax - 0x180]
test eax, eax
je 0x10001cd6
mov eax, dword [ebp + 0x5c]
movsx eax, byte [ebp + eax - 0x180]
cmp eax, 0x5c
je 0x10001cc7
mov eax, dword [ebp + 0x5c]
movsx eax, byte [ebp + eax - 0x180]
cmp eax, 0x2f
jne 0x10001cd4
mov eax, dword [ebp + 0x5c]
lea eax, [ebp + eax - 0x17f]
mov dword [ebp - 0x10], eax
jmp 0x10001c91
jmp 0x10001ce1
mov eax, dword [ebp + 0x58]
add eax, 0x14
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x58]
cmp dword [eax], 0
je 0x10001db8
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x54]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x48], ecx
push dword [ebp - 0x48]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10001d0b
jmp 0x10001cd8
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x54]
add ecx, dword [eax + 0x10]
mov dword [ebp + 0x1c], ecx
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x54]
add ecx, dword [eax]
mov dword [ebp + 0x4c], ecx
jmp 0x10001d36
mov eax, dword [ebp + 0x4c]
add eax, 4
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x1c]
add eax, 4
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x4c]
cmp dword [eax], 0
je 0x10001db1
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
and eax, 0x80000000
je 0x10001d4c
jmp 0x10001d24
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x54]
add ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
and dword [ebp + 0x18], 0
and dword [ebp + 0x44], 0
jmp 0x10001d68
mov eax, dword [ebp + 0x44]
inc eax
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x44]
cmp eax, dword [ebp + 0x48]
jae 0x10001d99
mov eax, dword [ebp - 0x4c]
inc eax
inc eax
push eax
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x34]
push dword [ecx + eax*8]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x10001d97
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x34]
lea eax, [ecx + eax*8]
mov dword [ebp + 0x18], eax
jmp 0x10001d99
jmp 0x10001d61
cmp dword [ebp + 0x18], 0
jne 0x10001da1
jmp 0x10001d24
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
jmp 0x10001d24
jmp 0x10001db8
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x2c]
push dword [eax + 4]
push dword [ebp - 0x14]
call fcn.100058bf
add esp, 0x10
test eax, eax
jne 0x10001ddb
xor eax, eax
jmp 0x100020ad
jmp 0x10001bc5
and dword [ebp + 0x24], 0
lea eax, [ebp + 0x24]
push eax
push 4
push 0x40
push dword [ebp + 0x38]
call fcn.100058bf
add esp, 0x10
test eax, eax
jne 0x10001e02
xor eax, eax
jmp 0x100020ad
and dword [ebp + 0x64], 0
mov eax, dword [ebp + 0x68]
imul eax, dword [eax + 0x14], 6
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x68]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp + 0x64]
lea eax, [ecx + eax*4]
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x7c]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x18], ecx
and dword [ebp + 0x28], 0
jmp 0x10001e3b
mov eax, dword [ebp + 0x28]
inc eax
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x28]
cmp ecx, dword [eax + 0x18]
jae 0x10001e65
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0x7c]
add edx, dword [ecx + eax*4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp + 0x64]
lea eax, [ecx + eax + 1]
mov dword [ebp + 0x64], eax
jmp 0x10001e34
mov eax, dword [ebp + 0x68]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp + 0x64]
lea eax, [ecx + eax*4]
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x68]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp + 0x64]
lea eax, [ecx + eax*2]
mov dword [ebp + 0x64], eax
push 4
push 0x3000
push dword [ebp + 0x64]
call fcn.10005858
add esp, 0xc
mov dword [ebp + 0x6c], eax
cmp dword [ebp + 0x6c], 0
jne 0x10001ea5
xor eax, eax
jmp 0x100020ad
mov eax, dword [ebp + 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x68]
mov eax, dword [eax + 0x14]
shl eax, 2
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x7c]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x50], ecx
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x68]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp + 0x6c]
lea eax, [ecx + eax*4]
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x38]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x7c]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x5c], ecx
and dword [ebp + 0x40], 0
jmp 0x10001f08
mov eax, dword [ebp + 0x40]
inc eax
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x40]
cmp ecx, dword [eax + 0x14]
jae 0x10001f86
mov eax, dword [ebp + 0x6c]
sub eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x40]
mov edx, dword [ebp + 0x10]
mov dword [edx + ecx*4], eax
lea eax, [ebp + 0x63]
mov dword [ebp - 0x58], eax
mov edi, dword [ebp + 0x6c]
mov esi, dword [ebp - 0x58]
mov ecx, 1
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x6c]
inc eax
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 0x7c]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x60], edx
lea eax, [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov edi, dword [ebp + 0x6c]
mov esi, dword [ebp - 0x64]
mov ecx, 4
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x6c]
add eax, 4
mov dword [ebp + 0x6c], eax
lea eax, [ebp + 0x62]
mov dword [ebp - 0x68], eax
mov edi, dword [ebp + 0x6c]
mov esi, dword [ebp - 0x68]
mov ecx, 1
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x6c]
inc eax
mov dword [ebp + 0x6c], eax
jmp 0x10001f01
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x68]
mov eax, dword [eax + 0x18]
shl eax, 2
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x7c]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x6c], ecx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x68]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp + 0x6c]
lea eax, [ecx + eax*4]
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x38]
mov dword [ecx + 0x20], eax
and dword [ebp + 0x3c], 0
jmp 0x10001fd7
mov eax, dword [ebp + 0x3c]
inc eax
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x3c]
cmp ecx, dword [eax + 0x18]
jae 0x10002026
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0x7c]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x1c], edx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x20], eax
mov edi, dword [ebp + 0x6c]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x6c]
sub eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ebp + 0xc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x6c]
lea eax, [ecx + eax + 1]
mov dword [ebp + 0x6c], eax
jmp 0x10001fd0
mov eax, dword [ebp + 0x6c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x68]
mov eax, dword [eax + 0x14]
shl eax, 1
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x7c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x74], ecx
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x78]
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x68]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp + 0x6c]
lea eax, [ecx + eax*2]
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x38]
mov dword [ecx + 0x24], eax
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 0x24]
push 0x40
push dword [ebp + 0x38]
call fcn.100058bf
add esp, 0x10
test eax, eax
jne 0x10002085
xor eax, eax
jmp 0x100020ad
lea eax, [ebp + 0x24]
push eax
push 0x20
push dword [ebp + 0x64]
push dword [ebp - 0x7c]
call fcn.100058bf
add esp, 0x10
test eax, eax
jne 0x100020a1
xor eax, eax
jmp 0x100020ad
push dword [ebp + 0x34]
call fcn.1000589d
pop ecx
xor eax, eax
inc eax
pop edi
pop esi
add ebp, 0x70
leave
ret