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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
and esp, 0xfffffff8
sub esp, 0xb8
lea eax, str.derel6.dll
mov word [esp + 0xa8], 0x5fb1
mov byte [esp + 0x9f], 2
mov dword [esp + 0x98], 0x5432bff3
movzx ecx, word [esp + 0xa8]
mov dx, cx
mov esi, 0xffff9df1
sub esi, ecx
mov di, si
mov word [esp + 0x8a], di
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0x650481b0
mov ecx, dword [esp + 0xac]
mov dword [esp + 0xac], ecx
mov ecx, esp
mov dword [ecx], str.derel6.dll
mov ecx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 0x5c], eax
mov word [esp + 0x5a], dx
call ecx
sub esp, 4
mov dword [esp + 0x94], 1
cmp eax, 0
je 0x4017e0
jmp 0x40191b
mov al, 0x6c
mov ecx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dl, byte [esp + 0x9f]
mov esi, dword [esp + 0xa0]
or esi, 0x306ff128
mov dword [esp + 0xa0], esi
mov ah, byte [ecx]
sub al, dl
mov dword [esp + 0x84], 0
cmp ah, al
je 0x4018b4
jmp 0x4016f4
lea eax, str.self.exe
mov ecx, esp
mov dword [ecx], str.self.exe
mov ecx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x54], eax
call ecx
sub esp, 4
mov dword [esp + 0x84], 0
cmp eax, 0
je 0x4018c4
jmp 0x4018b4
cmp word [esp + 0x8a], 0x2297
jne 0x401892
jmp 0x401682
lea eax, str.o2VCHgyMFUOJs_ZKG
mov ecx, 0x318
mov edx, 0x5432bff4
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x98]
add edi, 0xabcd400d
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x90]
add ebx, 0xabcd4095
xor esi, 0x5432b508
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4c]
sub edx, eax
mov eax, esp
mov dword [eax + 0xc], ebx
mov dword [eax], esi
mov dword [eax + 8], 0x318
mov dword [eax + 4], str.o2VCHgyMFUOJs_ZKG
mov eax, dword [sym.imp.KERNEL32.dll_LCIDToLocaleName]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edi
call eax
sub esp, 0x10
xor ecx, ecx
mov edx, esp
xor esi, esi
mov dword [edx + 0xc], esi
mov dword [edx + 8], esi
mov dword [edx + 4], esi
mov dword [edx], esi
mov edx, dword [sym.imp.ADVAPI32.dll_RegSaveKeyExA]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
call edx
sub esp, 0x10
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
add ecx, edx
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x84], edx
cmp ecx, 0x3ff
mov dword [esp + 0x30], eax
je 0x4018b4
jmp 0x401709
mov eax, 0x5432bff4
mov ecx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dl, byte [ecx]
sub eax, dword [esp + 0x98]
mov dword [esp + 0x94], eax
cmp dl, 0x6a
je 0x40191b
jmp 0x40192a
xor eax, eax
mov ecx, 1
lea edx, [esp + 0x60]
mov si, word [esp + 0x5a]
xor si, 0x8ce2
mov word [esp + 0xaa], si
mov word [esp + 0x60], 0x74
mov word [esp + 0x6e], 0x2e
mov word [esp + 0x70], 0x65
mov word [esp + 0x72], 0x78
mov word [esp + 0x74], 0x65
mov edi, esp
mov dword [edi], edx
mov dword [edi + 8], 1
mov dword [edi + 4], 0
mov edx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
call edx
sub esp, 0xc
mov bl, byte [esp + 0xb3]
mov byte [esp + 0xb3], bl
mov dword [esp + 0x84], 1
cmp eax, 0
je 0x4016be
jmp 0x4018b4
lea eax, str.tttt32
mov dword [esp], eax
call fcn.0040126c
mov dword [esp + 0x90], 0
mov dword [esp + 0x24], eax
jmp 0x401709
mov eax, dword [esp + 0x84]
mov dword [esp + 0x94], eax
jmp 0x40191b
lea eax, [0x427584]
xor ecx, ecx
mov edx, 1
mov byte [0x42758b], 0x45
mov esi, esp
mov dword [esi + 8], 1
mov dword [esi + 4], 0
mov dword [esi], 0x427584
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
call esi
sub esp, 0xc
mov dword [esp + 0x84], 0
cmp eax, 0
je 0x401682
jmp 0x4018b4
mov eax, dword [esp + 0x94]
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
lea eax, [esp + 0x60]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x8c]
movsd xmm0, qword [0x4248bc]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [0x4248b4]
movsd qword [eax + 8], xmm0
movsd xmm0, qword [str._estapp]
movsd qword [eax], xmm0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
xor eax, 0x467f319b
or eax, ecx
mov dword [esp + 0x14], eax
je 0x4018c4
jmp 0x401809