joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4419bc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x494
mov eax, dword [0x5164b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3ff
lea eax, [ebp - 0x46f]
mov dword [ebp - 0x490], edx
mov esi, ecx
mov byte [ebp - 0x470], 0
push 0
push eax
mov dword [ebp - 0x48c], esi
call fcn.004ab3c0
add esp, 0xc
lea eax, [ebp - 0x494]
xor ebx, ebx
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test edi, edi
jne 0x441a1a
xor eax, eax
jmp 0x441b3a
push edi
call fcn.00490848
mov esi, eax
pop ecx
test esi, esi
je 0x441a13
push esi
push edi
push dword [ebp - 0x494]
push dword [ebp - 0x48c]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
jne 0x441a48
push esi
call fcn.004a525a
pop ecx
jmp 0x441a13
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueA]
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x484]
push eax
push str.VarFileInfoTranslation
push esi
call edi
test eax, eax
je 0x441b0f
cmp dword [ebp - 0x488], ebx
je 0x441b0f
mov ecx, dword [ebp - 0x484]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x70]
push str.StringFileInfo_04X_04XFileVersion
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
call edi
mov ebx, eax
test ebx, ebx
je 0x441b0f
jmp 0x441ab9
mov byte [eax], 0x7b
push 0x28
push dword [ebp - 0x484]
call fcn.004a8e88
pop ecx
pop ecx
test eax, eax
jne 0x441ab6
jmp 0x441ad1
mov byte [eax], 0x7d
push 0x29
push dword [ebp - 0x484]
call fcn.004a8e88
pop ecx
pop ecx
test eax, eax
jne 0x441ace
push dword [ebp - 0x484]
lea eax, [ebp - 0x470]
push 0x4e8dfc
push 0x3ff
push 0x400
push eax
call fcn.004a6f9d
xor ebx, ebx
mov byte [ebp - 0x71], 0
add esp, 0x14
inc ebx
push esi
call fcn.004a525a
pop ecx
test ebx, ebx
je 0x441b38
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp - 0x480]
call fcn.00441840
mov edi, dword [ebp - 0x490]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5088
mov esp, ebp
pop ebp
ret
Function at 0x444d08
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5164b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x444d5d
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x444d65
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [ebp - 0x10], 0
je 0x444d74
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
test ebx, ebx
pop ebx
cmovne eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a5088
mov esp, ebp
pop ebp
ret

Function at 0x444d8d
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa1c
mov eax, dword [0x5164b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0xa1c], eax
push edi
test esi, esi
je 0x444ef3
test ebx, ebx
je 0x444ef3
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push esi
call edi
test eax, eax
jne 0x444dd4
inc eax
jmp 0x444ef6
push 0x103
lea eax, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
push 0
push eax
call fcn.004ab3c0
add esp, 0xc
mov byte [ebp - 0x218], 0
lea eax, [ebp - 0x217]
push 0x103
push 0
push eax
call fcn.004ab3c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x103
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x218]
push eax
push str._s_rundll32.exe
push 0x103
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.004a6f9d
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
call edi
test eax, eax
jne 0x444e5a
push 2
pop eax
jmp 0x444ef6
lea ecx, [ebp - 0x110]
call fcn.00445121
test eax, eax
jne 0x444e6d
push 6
jmp 0x444e54
lea ecx, [ebp - 0x110]
call fcn.00444f07
test eax, eax
jne 0x444e80
push 7
jmp 0x444e54
mov edx, str.runDll
mov ecx, esi
call fcn.00444ffe
test eax, eax
jne 0x444e94
push 3
jmp 0x444e54
mov edi, 0x7ff
mov byte [ebp - 0xa18], 0
push edi
lea eax, [ebp - 0xa17]
push 0
push eax
call fcn.004ab3c0
add esp, 0xc
lea eax, [ebp - 0x110]
push ebx
push str.runDll
push esi
push eax
push str.__s____s___s__s
lea eax, [ebp - 0xa18]
push edi
push eax
call fcn.004a7040
add esp, 0x1c
lea ecx, [ebp - 0xa18]
push dword [ebp - 0xa1c]
call fcn.00445045
neg eax
pop ecx
sbb eax, eax
and eax, 0xfffffffb
add eax, 5
jmp 0x444ef6
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5088
mov esp, ebp
pop ebp
ret
Function at 0x444f07
Capabilities:
Check if file exists
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x864
mov eax, dword [0x5164b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x444feb
mov edi, 0x7ff
lea eax, [ebp - 0x807]
xor ebx, ebx
push edi
push ebx
push eax
mov byte [ebp - 0x808], bl
call fcn.004ab3c0
push esi
lea eax, [ebp - 0x808]
push edi
push eax
call fcn.004a9052
push 0x44
pop esi
push esi
lea eax, [ebp - 0x860]
push ebx
push eax
call fcn.004ab3c0
xor eax, eax
mov dword [ebp - 0x860], esi
mov word [ebp - 0x830], ax
lea edi, [ebp - 0x818]
stosd dword es:[edi], eax
add esp, 0x24
mov dword [ebp - 0x834], 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x860]
push eax
push ebx
push ebx
push 4
push ebx
push ebx
push ebx
lea eax, [ebp - 0x808]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x444feb
push 0x64
push dword [ebp - 0x818]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push dword [ebp - 0x818]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x814]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x818]
call esi
xor eax, eax
inc eax
jmp 0x444fed
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5088
mov esp, ebp
pop ebp
ret

Function at 0x445045
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x868
mov eax, dword [0x5164b0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
test esi, esi
je 0x44510e
mov edi, 0x7ff
mov byte [ebp - 0x80c], 0
push edi
lea eax, [ebp - 0x80b]
push 0
push eax
call fcn.004ab3c0
push esi
lea eax, [ebp - 0x80c]
push edi
push eax
call fcn.004a9052
push 0x44
pop esi
push esi
lea eax, [ebp - 0x864]
push 0
push eax
call fcn.004ab3c0
xor eax, eax
mov dword [ebp - 0x864], esi
mov word [ebp - 0x834], ax
lea edi, [ebp - 0x81c]
stosd dword es:[edi], eax
add esp, 0x24
xor ecx, ecx
xor esi, esi
inc esi
mov dword [ebp - 0x838], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x864]
push eax
push ecx
push ecx
push 0x20
push ecx
push ecx
push ecx
lea eax, [ebp - 0x80c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x44510e
push 0xc8
push dword [ebp - 0x81c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x81c]
mov eax, esi
mov dword [ebx], ecx
jmp 0x445110
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5088
mov esp, ebp
pop ebp
ret
Function at 0x445121
Capabilities:
Check if file exists
Read file via mapping

Disassembly:
push esi
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x445131
pop esi
ret
push ebx
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44518c
push edi
push edi
push edi
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x445170
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44518c
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x445190
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
xor eax, eax
jmp 0x4451b2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44519d
xor edi, edi
inc edi
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4454ed
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x1c4
mov eax, 0x4d14b7
call fcn.004aaeb3
mov dword [ebp - 0x1d0], ecx
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c8], ecx
lea ecx, [ebp - 0x2c]
push eax
movlpd qword [ebp - 0x1c4], xmm0
call fcn.004040ee
push ecx
push ecx
lea eax, [ebp - 0x1b8]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2c]
push eax
mov byte [ebp - 0x1b8], 0x5c
call fcn.004034e0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x5c], bl
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
dec ecx
cmp eax, ecx
je 0x44556e
mov esi, 0x4edea8
push esi
call fcn.004041c8
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403c73
push 0x4eea24
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.0040353e
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b4]
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, dword [ebp - 0x1c0]
mov edi, eax
mov esi, dword [ebp - 0x1c4]
mov dword [ebp - 0x1cc], edi
cmp edi, 0xffffffff
je 0x445687
mov dword [ebp - 0x1c0], esi
test byte [ebp - 0x1b4], 0x10
je 0x445650
lea ecx, [ebp - 0x188]
cmp byte [ecx], 0x2e
jne 0x4455e3
movzx eax, byte [ecx + 1]
test al, al
je 0x44566a
push 3
lea eax, [ebp - 0x188]
push 0x4eea28
push eax
call fcn.004aec9a
add esp, 0xc
test eax, eax
je 0x44566a
lea eax, [ebp - 0x188]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x74]
call fcn.0040353e
pop ecx
push dword [ebp - 0x1c8]
mov ecx, dword [ebp - 0x1d0]
push eax
mov byte [ebp - 4], 3
call fcn.004454ed
push 0
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
mov esi, eax
mov edi, edx
call fcn.004044e5
add dword [ebp - 0x1c0], esi
mov esi, dword [ebp - 0x1c0]
adc ebx, edi
mov edi, dword [ebp - 0x1cc]
jmp 0x44566a
add esi, dword [ebp - 0x194]
mov eax, dword [ebp - 0x1c8]
adc ebx, dword [ebp - 0x198]
mov dword [ebp - 0x1c0], esi
inc dword [eax]
lea eax, [ebp - 0x1b4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4455bf
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor edi, edi
lea ecx, [ebp - 0x44]
push edi
push 1
call fcn.004044e5
push edi
push 1
lea ecx, [ebp - 0x5c]
call fcn.004044e5
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004044e5
mov eax, esi
mov edx, ebx
call fcn.004aae62
ret 8
Function at 0x4456b6
Capabilities:
Enumerate processes

Disassembly:
push 0x148
mov eax, 0x4d14e7
call fcn.004aaeb3
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00441259
mov esi, 0x128
lea eax, [ebp - 0x154]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.004ab3c0
add esp, 0xc
mov dword [ebp - 0x154], esi
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x445701
xor al, al
jmp 0x44575f
lea eax, [ebp - 0x154]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x445752
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004041e5
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], ebx
push eax
mov ecx, edi
call fcn.00445ab5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.004044e5
lea eax, [ebp - 0x154]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x445711
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
call fcn.004aae62
ret 4
Function at 0x44b456
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5164b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov edi, 0x103
push edi
push eax
mov dword [ebp - 0x10c], eax
mov esi, ecx
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call fcn.004ab3c0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.004041e5
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004a5088
mov esp, ebp
pop ebp
ret
Function at 0x44cce4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x5164b0]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
push eax
mov edi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x18]
push ebx
mov dword [esp + 0x18], ecx
mov ecx, edi
push eax
call fcn.0044cb87
cmp dword [esp + 0x24], 0
jne 0x44cd45
lea eax, [edi + 8]
cmp dword [eax + 0x14], 0x10
jb 0x44cd31
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x14]
push dword [eax]
push dword [esp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x44cd5a
cmp dword [esp + 0x28], 0x10
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
call fcn.004a6654
pop ecx
push 0
push 1
lea ecx, [esp + 0x1c]
mov dword [esi], eax
call fcn.004044e5
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
inc eax
call fcn.004a5088
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44ce68
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x5164b0]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov ecx, dword [ebp + 0x14]
push eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push ebx
mov dword [esp + 0x18], ecx
mov ecx, esi
push eax
call fcn.0044cb87
cmp dword [esp + 0x24], 0
jne 0x44cecb
lea eax, [esi + 8]
cmp dword [eax + 0x14], 0x10
jb 0x44ceb5
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
push eax
push dword [esp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x44cee0
cmp dword [esp + 0x28], 0x10
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
call fcn.004a6654
pop ecx
dec eax
lea ecx, [esp + 0x14]
neg eax
push 0
sbb al, al
inc al
push 1
mov byte [edi], al
call fcn.004044e5
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
inc eax
call fcn.004a5088
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44cf0d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d23d8
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x5164b0]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push esi
push edi
mov eax, dword [0x5164b0]
xor eax, esp
push eax
lea eax, [esp + 0x840]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
push ecx
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x20], ecx
mov ecx, ebx
push eax
call fcn.0044cb87
xor eax, eax
mov dword [esp + 0x848], eax
cmp dword [esp + 0x2c], eax
je 0x44cf96
lea eax, [esp + 0x1c]
cmp edi, eax
je 0x44cfe7
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00404447
jmp 0x44cfe7
push 0x7ff
push eax
mov byte [esp + 0x3c], al
lea eax, [esp + 0x3d]
push eax
call fcn.004ab3c0
lea eax, [ebx + 8]
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x44cfb8
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
jb 0x44cfc0
mov esi, dword [esi]
push eax
push 0x7ff
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call fcn.0040414f
push 0
push 1
lea ecx, [esp + 0x24]
call fcn.004044e5
xor eax, eax
inc eax
mov ecx, dword [esp + 0x840]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.004a5088
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44d1e2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5164b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x51c588], 0
push ebx
mov ebx, dword [0x51c68c]
push esi
push edi
jne 0x44d210
call fcn.0044d2c6
mov edi, eax
jmp 0x44d215
mov edi, 0x51c588
push edi
lea esi, [ebx + 0x20]
call fcn.004041c8
pop ecx
push eax
push edi
mov ecx, esi
call fcn.0040414f
cmp byte [0x51c480], 0
mov edi, 0x51c480
jne 0x44d294
mov edi, 0x103
mov byte [ebp - 0x110], 0
push edi
lea eax, [ebp - 0x10f]
push 0
push eax
call fcn.004ab3c0
add esp, 0xc
lea eax, [ebp - 0x110]
push 1
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea eax, [ebp - 0x110]
push eax
push str._skuwodatakwmusic2013Confuserconfig.ini
push edi
push 0x104
mov edi, 0x51c480
push edi
call fcn.004a6f9d
add esp, 0x14
push edi
call fcn.004041c8
pop ecx
push eax
push edi
lea ecx, [ebx + 8]
call fcn.0040414f
cmp dword [esi + 0x14], 0x10
jb 0x44d2ad
mov esi, dword [esi]
push esi
mov ecx, ebx
call fcn.0044c99a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5088
mov esp, ebp
pop ebp
ret
Function at 0x44d2c6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5164b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x103
mov byte [ebp - 0x108], 0
push esi
lea eax, [ebp - 0x107]
push 0
push eax
call fcn.004ab3c0
add esp, 0xc
lea eax, [ebp - 0x108]
push 1
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea eax, [ebp - 0x108]
push eax
push str._skuwodatakwmusic2013ConfServerconfig.ini
push esi
push 0x104
mov esi, 0x51c588
push esi
call fcn.004a6f9d
mov ecx, dword [ebp - 4]
add esp, 0x14
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004a5088
mov esp, ebp
pop ebp
ret
Function at 0x44d563
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d17ad
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5164b0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x5164b0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
or ebx, 0xffffffff
cmp dword [ebp + 8], ebx
jne 0x44d5af
xor eax, eax
jmp 0x44d735
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x44d5dd
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x44d5dd
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x44d735
cmp dword [esi + 0x50], 0
je 0x44d733
mov ecx, esi
call fcn.0044df96
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [esi + 0x40], ecx
jne 0x44d611
push dword [esi + 0x50]
movsx eax, al
push eax
call fcn.004a939a
cmp eax, ebx
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
jmp 0x44d733
push ecx
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
push 8
mov byte [esp + 0x1b], al
mov dword [esp + 0x44], 0xf
call fcn.004445e0
and dword [esp + 0x50], 0
lea eax, [esi + 0x48]
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x3c]
mov esi, dword [esi + 0x40]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x2c]
cmp edi, 0x10
lea edx, [esp + 0x2c]
mov edi, dword [esi]
cmovae ecx, dword [esp + 0x2c]
cmovae edx, dword [esp + 0x2c]
add eax, ecx
push eax
push edx
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x27]
push eax
push dword [esp + 0x3c]
call dword [edi + 0x1c]
test eax, eax
js 0x44d726
cmp eax, 1
jg 0x44d707
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x28]
cmp edi, 0x10
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmovae eax, ecx
sub edx, eax
mov dword [esp + 0x1c], edx
je 0x44d6d4
push dword [esi + 0x50]
cmp edi, 0x10
lea eax, [esp + 0x2c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.004a9744
mov edx, dword [esp + 0x2c]
add esp, 0x10
cmp edx, eax
jne 0x44d726
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x13]
mov byte [esi + 0x45], 1
cmp dword [esp + 0x20], eax
jne 0x44d702
test edx, edx
jne 0x44d641
cmp dword [esp + 0x38], 0x20
jae 0x44d726
push edx
push 8
lea ecx, [esp + 0x30]
call fcn.00445b20
jmp 0x44d63d
mov ebx, dword [ebp + 8]
jmp 0x44d726
cmp eax, 3
jne 0x44d726
mov eax, dword [esp + 0x14]
push dword [eax + 0x50]
movsx eax, byte [esp + 0x17]
push eax
call fcn.004a939a
cmp eax, ebx
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.004044e5
mov eax, ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004a5088
mov esp, ebp
pop ebp
ret 4
Function at 0x44ddd7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cf82a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5164b0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x5164b0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x44df11
cmp byte [ebx + 0x45], 0
je 0x44df11
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x44de37
xor al, al
jmp 0x44df13
xor eax, eax
mov dword [esp + 0x2c], 0xf
push eax
push 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
call fcn.004445e0
and dword [esp + 0x40], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x44de9c
dec eax
je 0x44dea0
dec eax
dec eax
je 0x44defe
xor bl, bl
jmp 0x44df00
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x44dedf
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004a9744
add esp, 0x10
cmp esi, eax
jne 0x44de98
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x44defe
test esi, esi
jne 0x44de62
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00445b20
jmp 0x44de5a
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.004044e5
mov al, bl
jmp 0x44df13
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004a5088
mov esp, ebp
pop ebp
ret