Function at 0x40ad70
Capabilities:
Create process on windows
Enumerate gui resources
Read file via mapping

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43a5f8
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0xb5c]
push edi
push 0x450590
push eax
call fcn.0041b806
add esp, 8
test eax, eax
jne 0x40adc7
push eax
push eax
push 0x44bc94
mov ecx, ebx
call fcn.0042e348
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
mov eax, dword [ebx + 0x7cc]
xor esi, esi
push esi
push esi
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x450664]
mov edi, eax
push ecx
call fcn.0041bb5f
add esp, 4
cmp edi, eax
jge 0x40b361
lea edi, [ebx + 0x828]
mov ecx, edi
call fcn.0042f655
test eax, eax
je 0x40b361
mov edx, dword [0x450664]
push edx
call fcn.0041bb5f
add esp, 4
cmp eax, 3
jle 0x40ae35
mov eax, dword [ebx + 0x1c]
push 0x40a450
push 0x50
push 0x12c
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push esi
mov ecx, edi
call fcn.0042f670
mov ecx, 0x18
xor eax, eax
mov edi, 0x45499c
push esi
rep stosd dword es:[edi], eax
push 0x40aca0
mov dword [0x454b8c], esi
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x454b8c]
mov dword [esp + 0x20], esi
cmp eax, esi
jl 0x40aee3
mov esi, dword [sym.imp.USER32.dll_GetClassNameA]
mov ebp, 0x4549fc
mov edi, dword [ebp]
push 0x103
push 0x45425c
push edi
call esi
push 0x45425c
mov ecx, 0x454258
call fcn.00430059
mov eax, dword [0x454258]
push str.WFElementClient_Window
push eax
call fcn.0041b806
add esp, 8
test eax, eax
jne 0x40aecb
xor ecx, ecx
mov eax, 0x45499c
cmp dword [eax], 0
je 0x40aec4
add eax, 4
inc ecx
cmp eax, 0x4549fc
jl 0x40aeb2
jmp 0x40aecb
mov dword [ecx*4 + 0x45499c], edi
mov eax, dword [esp + 0x20]
mov ecx, dword [0x454b8c]
inc eax
add ebp, 4
cmp eax, ecx
mov dword [esp + 0x20], eax
jle 0x40ae75
xor esi, esi
push 1
mov ecx, ebx
call fcn.0042eaa4
lea eax, [ebx + 0xb5c]
lea ecx, [esp + 0x18]
push eax
call fcn.0042fc45
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x58], esi
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x18]
add eax, 0xfffffff8
push eax
push edx
call fcn.0042a7b2
mov eax, dword [eax]
mov ecx, dword [ebx + 0x1c]
push 5
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x20]
call fcn.0042fed0
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebp, dword [sym.imp.USER32.dll_GetMessageA]
mov dword [esp + 0x20], esi
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
call fcn.0040acd0
test eax, eax
mov dword [esp + 0x28], eax
je 0x40afa0
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
mov dword [esp + 0x30], eax
je 0x40b01d
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], 1
mov eax, 0x45466c
cmp dword [eax], ecx
je 0x40af98
add eax, 4
cmp eax, 0x4546cc
jl 0x40af88
jmp 0x40afa0
mov dword [esp + 0x20], 0
push 1
push 0
push 0
lea eax, [esp + 0x40]
push 0
push eax
call edi
test eax, eax
je 0x40afe5
push 0
push 0
lea ecx, [esp + 0x3c]
push 0
push ecx
call ebp
lea edx, [esp + 0x34]
push edx
call esi
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea ecx, [esp + 0x40]
push 0
push ecx
call edi
test eax, eax
jne 0x40afb3
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40af52
mov eax, dword [0x44c644]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
xor esi, esi
mov byte [esp + 0x58], 2
xor ebp, ebp
mov eax, 0x45466c
cmp dword [eax], esi
je 0x40b030
add eax, 4
inc ebp
cmp eax, 0x4546cc
jl 0x40b00c
jmp 0x40b069
push 0
push 0
push 0x44be58
call fcn.00433c66
jmp 0x40b350
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov dword [ebp*4 + 0x45466c], edx
mov dword [ebp*4 + 0x4546cc], eax
mov byte [ebp + 0x45472c], 0
mov byte [ebp + 0x454744], 0
mov byte [ebp + 0x45475c], 0
mov dword [ebp*4 + 0x454804], esi
mov dword [ebp*4 + 0x45493c], esi
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push 0x44b61c
push edx
call fcn.0042abb0
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push str.Verify
push eax
push ecx
call fcn.00430165
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push eax
push 0x2710
push esi
push 4
push esi
push 0xffffffffffffffff
call edi
lea ecx, [esp + 0x28]
mov dword [ebx + ebp*4 + 0xc0], eax
call fcn.0042fed0
mov edx, dword [ebx + ebp*4 + 0xc0]
push esi
push esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 2
push edx
call esi
mov dword [ebx + ebp*4 + 0x60], eax
lea eax, [esp + 0x14]
push str.GameBase
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00430165
mov eax, dword [eax]
push eax
push 0x2710
push 0
push 4
push 0
push 0xffffffffffffffff
call edi
lea ecx, [esp + 0x28]
mov dword [ebx + ebp*4 + 0x180], eax
call fcn.0042fed0
mov edx, dword [ebx + ebp*4 + 0x180]
push 0
push 0
push 0
push 2
push edx
call esi
mov dword [ebx + ebp*4 + 0x120], eax
lea eax, [esp + 0x14]
push str.LoginInfo
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00430165
mov eax, dword [eax]
push eax
push 0x2710
push 0
push 4
push 0
push 0xffffffffffffffff
call edi
lea ecx, [esp + 0x28]
mov dword [ebx + ebp*4 + 0x240], eax
call fcn.0042fed0
mov edx, dword [ebx + ebp*4 + 0x240]
push 0
push 0
push 0
push 2
push edx
call esi
mov edx, eax
mov edi, 0x44be30
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx + ebp*4 + 0x1e0], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x44c644]
mov dword [esp + 0x24], ecx
mov edx, dword [0x451794]
lea eax, [esp + 0x24]
push edx
push 0x44b61c
push eax
mov byte [esp + 0x64], 3
call fcn.0042abb0
mov edi, dword [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x28]
mov edx, ecx
mov esi, edi
mov edi, dword [ebx + ebp*4 + 0x120]
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0042ad45
mov edx, dword [ebx + 0x7cc]
mov ecx, dword [eax]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1004
push edx
mov dword [esp + 0x3c], ecx
call ebp
push 0
push 0
push 0
push 0
inc eax
lea esi, [ebx + 0x7b0]
push 0x450590
push eax
push 1
mov ecx, esi
call fcn.0042b4e9
mov edi, eax
lea eax, [esp + 0x28]
push 0x44be28
push eax
lea ecx, [esp + 0x34]
call fcn.0042ad58
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 4
call fcn.00430009
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 3
call fcn.0042fed0
mov ecx, dword [esp + 0x10]
push ecx
push 7
push edi
mov ecx, esi
call fcn.0042b535
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push 0x44b61c
push eax
call fcn.0042abb0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
push 8
push edi
mov ecx, esi
call fcn.0042b535
lea edx, [edi + 1]
lea eax, [esp + 0x10]
push edx
push 0x44b61c
push eax
call fcn.0042abb0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
push 0
push edi
mov ecx, esi
call fcn.0042b535
mov edx, dword [0x454b94]
mov eax, dword [esp + 0x30]
and edx, 0xff
push edx
push eax
call dword [sym.imp.Client.dll_SetHook]
mov ecx, dword [ebx + 0x7cc]
add esp, 8
push 0
push 0
push 0x1004
push ecx
call ebp
mov edx, dword [0x450664]
mov esi, eax
push edx
call fcn.0041bb5f
add esp, 4
cmp esi, eax
jge 0x40b304
push 1
lea ecx, [ebx + 0x828]
call fcn.0042f670
mov eax, dword [0x450664]
push eax
call fcn.0041bb5f
add esp, 4
cmp eax, 3
jle 0x40b326
mov ecx, dword [ebx + 0x1c]
push 0x12c
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 2
call fcn.0042fed0
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 1
call fcn.0042fed0
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 0
call fcn.0042fed0
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.0042fed0
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret