joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a3a9
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
mov word [ebp - 0x218], 0x6b
mov word [ebp - 0x216], 0x65
mov word [ebp - 0x214], 0x72
mov word [ebp - 0x212], 0x6e
mov word [ebp - 0x210], 0x65
mov word [ebp - 0x20e], 0x6c
mov word [ebp - 0x20c], 0x33
mov word [ebp - 0x20a], 0x32
mov word [ebp - 0x208], 0x2e
mov word [ebp - 0x206], 0x64
mov word [ebp - 0x204], 0x6c
mov word [ebp - 0x202], 0x6c
mov word [ebp - 0x200], 0
mov dword [ebp - 8], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
mov ecx, dword [ebp - 4]
call fcn.0040a349
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x40a43c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x10
test esi, esi
je 0x40a483
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x40a483
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax + 0x7c], 0
jne 0x40a48b
xor eax, eax
add esp, 0x10
ret 4
mov eax, dword [eax + 0x78]
sub ecx, dword [eax + esi + 0x10]
mov edx, dword [eax + esi + 0x14]
push ebx
mov ebx, dword [eax + esi + 0x20]
add eax, esi
push ebp
mov ebp, dword [eax + 0x24]
push edi
mov edi, dword [eax + 0x1c]
add edi, esi
add ebx, esi
add ebp, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], edx
cmp ecx, edx
ja 0x40a4c5
mov eax, dword [edi + ecx*4]
pop edi
pop ebp
add eax, esi
pop ebx
add esp, 0x10
ret 4
mov eax, dword [eax + 0x18]
xor edi, edi
mov dword [esp + 0x10], eax
test eax, eax
jbe 0x40a525
lea esp, [esp]
movzx ecx, word [ebp + edi*2]
mov dword [esp + 0x18], ecx
cmp ecx, edx
ja 0x40a520
mov eax, dword [ebx + edi*4]
mov ecx, dword [esp + 0x20]
add eax, esi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40a50f
test dl, dl
je 0x40a50b
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40a50f
add ecx, 2
add eax, 2
test dl, dl
jne 0x40a4ef
xor eax, eax
jmp 0x40a514
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40a530
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jb 0x40a4d9
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + ecx*4]
pop edi
pop ebp
add eax, esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40a549
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x108
call fcn.0040a3a9
test eax, eax
jne 0x40a55f
add esp, 0x108
ret
push esi
mov byte [esp + 4], 0x56
mov byte [esp + 5], 0x69
mov byte [esp + 6], 0x72
mov byte [esp + 7], 0x74
mov byte [esp + 8], 0x75
mov byte [esp + 9], 0x61
mov byte [esp + 0xa], 0x6c
mov byte [esp + 0xb], 0x41
mov byte [esp + 0xc], 0x6c
mov byte [esp + 0xd], 0x6c
mov byte [esp + 0xe], 0x6f
mov byte [esp + 0xf], 0x63
mov byte [esp + 0x10], 0
lea ecx, [esp + 4]
push ecx
mov esi, eax
call fcn.0040a469
mov esi, eax
test esi, esi
jne 0x40a5bb
pop esi
add esp, 0x108
ret
mov edx, dword [esp + 0x110]
push 0x40
push 0x3000
push edi
push edx
call esi
test eax, eax
jne 0x40a5dc
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
add esp, 0x108
ret

Function at 0x40a5e9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x108
call fcn.0040a3a9
test eax, eax
jne 0x40a601
xor eax, eax
add esp, 0x108
ret
push esi
mov byte [esp + 4], 0x56
mov byte [esp + 5], 0x69
mov byte [esp + 6], 0x72
mov byte [esp + 7], 0x74
mov byte [esp + 8], 0x75
mov byte [esp + 9], 0x61
mov byte [esp + 0xa], 0x6c
mov byte [esp + 0xb], 0x46
mov byte [esp + 0xc], 0x72
mov byte [esp + 0xd], 0x65
mov byte [esp + 0xe], 0x65
mov byte [esp + 0xf], 0
lea ecx, [esp + 4]
push ecx
mov esi, eax
call fcn.0040a469
pop esi
test eax, eax
je 0x40a5f8
mov edx, dword [esp + 0x10c]
push 0x8000
push 0
push edx
call eax
add esp, 0x108
ret
Function at 0x40a9e9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10c
push esi
call fcn.0040a3a9
mov esi, eax
test esi, esi
je 0x40aaf1
mov byte [esp + 8], 0x46
mov byte [esp + 9], 0x72
mov byte [esp + 0xa], 0x65
mov byte [esp + 0xb], 0x65
mov byte [esp + 0xc], 0x4c
mov byte [esp + 0xd], 0x69
mov byte [esp + 0xe], 0x62
mov byte [esp + 0xf], 0x72
mov byte [esp + 0x10], 0x61
mov byte [esp + 0x11], 0x72
mov byte [esp + 0x12], 0x79
mov byte [esp + 0x13], 0
lea eax, [esp + 8]
push eax
call fcn.0040a469
mov dword [esp + 4], eax
test eax, eax
je 0x40aaf1
push ebp
mov byte [esp + 0xc], 0x47
mov byte [esp + 0xd], 0x65
mov byte [esp + 0xe], 0x74
mov byte [esp + 0xf], 0x4d
mov byte [esp + 0x10], 0x6f
mov byte [esp + 0x11], 0x64
mov byte [esp + 0x12], 0x75
mov byte [esp + 0x13], 0x6c
mov byte [esp + 0x14], 0x65
mov byte [esp + 0x15], 0x48
mov byte [esp + 0x16], 0x61
mov byte [esp + 0x17], 0x6e
mov byte [esp + 0x18], 0x64
mov byte [esp + 0x19], 0x6c
mov byte [esp + 0x1a], 0x65
mov byte [esp + 0x1b], 0x41
mov byte [esp + 0x1c], 0
lea ecx, [esp + 0xc]
push ecx
call fcn.0040a469
mov ebp, eax
test ebp, ebp
je 0x40aaf0
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp dword [eax + 0x84], 0
je 0x40aaf0
push edi
mov edi, dword [eax + 0x80]
mov eax, dword [edi + ebx + 0xc]
add edi, ebx
xor esi, esi
test eax, eax
je 0x40aaef
nop
add eax, ebx
push eax
call ebp
push eax
call dword [esp + 0x10]
inc esi
lea edx, [esi + esi*4]
mov eax, dword [edi + edx*4 + 0xc]
test eax, eax
jne 0x40aad9
pop edi
pop ebp
pop esi
add esp, 0x10c
ret
Function at 0x40ad20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push esi
mov esi, dword ss:[esp + 0x14]
test esi, esi
je 0x40ad47
mov ecx, dword ss:[esp + 0x18]
test ecx, ecx
je 0x40ad47
mov eax, dword ds:[esi + 0x3c]
add eax, esi
cmp dword ds:[eax + 0x7c], 0
jne 0x40ad50
xor eax, eax
pop esi
add esp, 0xc
ret 8
mov eax, dword ds:[eax + 0x78]
sub ecx, dword ds:[eax + esi + 0x10]
mov edx, dword ds:[eax + esi + 0x14]
push ebx
mov ebx, dword ds:[eax + esi + 0x20]
add eax, esi
push ebp
mov ebp, dword ds:[eax + 0x24]
push edi
mov edi, dword ds:[eax + 0x1c]
add edi, esi
add ebx, esi
add ebp, esi
mov dword ss:[esp + 0x14], edi
mov dword ss:[esp + 0x20], edx
cmp ecx, edx
ja 0x40ad94
mov eax, dword ds:[edi + ecx*4]
pop edi
pop ebp
pop ebx
add eax, esi
pop esi
add esp, 0xc
ret 8
mov eax, dword ds:[eax + 0x18]
xor edi, edi
mov dword ss:[esp + 0x10], eax
test eax, eax
jbe 0x40adf9
movzx ecx, word ss:[ebp + edi*2]
mov dword ss:[esp + 0x18], ecx
cmp ecx, edx
ja 0x40adf4
mov eax, dword ds:[ebx + edi*4]
mov ecx, dword ss:[esp + 0x24]
add eax, esi
mov dl, byte ds:[ecx]
cmp dl, byte ds:[eax]
jne 0x40ade1
test dl, dl
je 0x40addd
mov dl, byte ds:[ecx + 1]
cmp dl, byte ds:[eax + 1]
jne 0x40ade1
add ecx, 2
add eax, 2
test dl, dl
jne 0x40adbd
xor eax, eax
jmp 0x40ade6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ae05
mov edx, dword ss:[esp + 0x20]
mov eax, dword ss:[esp + 0x10]
inc edi
cmp edi, eax
jb 0x40ada3
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0xc
ret 8
mov eax, dword ss:[esp + 0x14]
mov ecx, dword ss:[esp + 0x18]
mov eax, dword ds:[eax + ecx*4]
pop edi
pop ebp
pop ebx
add eax, esi
pop esi
add esp, 0xc
ret 8
Function at 0x40ae20
Capabilities:
Check if file exists
Copy file
Delete directory
Delete file
Get common file path
Get file size
Set file attributes

Disassembly:
sub esp, 0x220
mov eax, dword [0x4934a4]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebp
mov ebp, dword [esp + 0x228]
push esi
push edi
jmp 0x40ae50
push 0x103
lea eax, [esp + 0x129]
push 0
push eax
mov byte [esp + 0x130], 0
call fcn.0043d760
push 0x103
lea ecx, [esp + 0x31]
push 0
push ecx
mov byte [esp + 0x38], 0
call fcn.0043d760
xor eax, eax
add esp, 0x18
mov byte [esp + 0xc], 0
mov dword [esp + 0xd], eax
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov word [esp + 0x1d], ax
mov byte [esp + 0x1f], al
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xa
push 0x14
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0043be14
add esp, 0x10
lea eax, [esp + 0x124]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x104
lea ecx, [esp + 0x24]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x128]
push 0x104
push eax
call fcn.0043be7f
push str..tmp
lea ecx, [esp + 0x134]
push 0x104
push ecx
call fcn.0043be7f
add esp, 0x18
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push str.TShare.dll
lea eax, [esp + 0x24]
push 0x104
push eax
call fcn.0043be7f
add esp, 0xc
push edi
push 0x80
push 3
push edi
push 3
push SysReAllocStringLen
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40af70
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x124]
push edi
push edx
call fcn.0040b060
add esp, 8
test eax, eax
je 0x40b010
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x40afab
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x40afd1
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40afd1
push 0x80
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x20]
push ecx
call esi
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x40aff6
lea ecx, [esp + 0x124]
push ecx
call esi
jmp 0x40b010
lea edx, [esp + 0x124]
push edx
lea eax, [esp + 0x24]
push 0x104
push eax
call fcn.0043bcfb
add esp, 0xc
push str.TShare
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40b02e
push ebp
call eax
jmp 0x40b03e
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0043ae62
add esp, 0x220
ret
Function at 0x40b060
Capabilities:
Check for time delay via gettickcount
Contain obfuscated stackstrings
Create thread
Terminate thread

Disassembly:
sub esp, 0x38
mov eax, dword [0x4934a4]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
push ebx
push ebp
push esi
push edi
jmp 0x40b088
mov edx, dword [esp + 0x50]
push 0
push 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push 0x40b1a0
push 0
lea ecx, [esp + 0x38]
push 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], 0x70747468
mov dword [esp + 0x40], 0x772f2f3a
mov dword [esp + 0x44], 0x742e7777
mov dword [esp + 0x48], 0x736e6169
mov dword [esp + 0x4c], 0x632e6e69
mov dword [esp + 0x50], 0x532f6d6f
mov dword [esp + 0x54], 0x65726168
mov word [esp + 0x58], 0x7a2e
mov byte [esp + 0x5a], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x10], eax
call edi
mov ebp, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov ebx, eax
push 0x4ff
push 0x2710
push 0
lea ecx, [esp + 0x1c]
push ecx
push 1
call ebp
mov esi, eax
call fcn.0040b720
test esi, esi
je 0x40b186
cmp esi, 0x102
je 0x40b147
call edi
sub eax, ebx
cmp eax, 0x2710
jb 0x40b114
mov ecx, dword [esp + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40b16f
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043ae62
add esp, 0x38
ret
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x40b154
Function at 0x40d520
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00426d35

Function at 0x40e5e0
Capabilities:
Create process on windows
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0x471f26
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4934a4]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push edi
mov eax, dword [0x4934a4]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
push str.http:__www.tiansin.com_wp_update_update.php_name
lea eax, [esp + 0x18]
push 0x104
push eax
xor edi, edi
call fcn.0043bcfb
push str.WAPSIGN3.9
lea ecx, [esp + 0x24]
push 0x104
push ecx
call fcn.0043be7f
add esp, 0x18
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push 0xf
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push edi
push edi
push 0x47f9f4
lea ecx, [esp + 0x2c]
push 0x47ffc0
push ecx
mov edx, ecx
push edx
call fcn.00401b70
add esp, 0x24
test eax, eax
je 0x40e71a
mov ebx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.00401000
mov dword [esp + 0x12c], edi
mov ecx, dword [esp + 0x14]
push str.SUCCESS
push ecx
call fcn.0043c642
add esp, 0x10
cmp eax, edi
je 0x40e6e1
mov edx, dword [esp + 0xc]
push 0x40040
push str.WAPSIGN3.9
push edx
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
push edi
push edi
push str.http:__www.tiansin.com_thread_458.html_tupdate
push 0x47f7c0
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push edi
push edi
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x40e6e6
mov edi, 1
push ebx
call fcn.0041dcac
add esp, 4
mov dword [esp + 0x124], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e71a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0043ae62
add esp, 0x11c
ret
Function at 0x414970
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x46fef1
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4934a4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x44]
mov dword [esi + 0x40], eax
mov byte [esi + 0x3f], cl
lea edi, [esi + 0x40]
mov dword [eax + 0x10], ecx
mov dword [eax], edi
or edi, 0xffffffff
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov byte [esp + 0x18], 1
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], ecx
mov byte [esp + 0x18], 2
mov ecx, dword [esp + 0x30]
push ecx
push edx
mov ecx, esi
call fcn.0045f810
mov dword [esp + 0x18], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x18

Function at 0x415d40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x4934a4]
xor eax, esp
mov dword [esp + 0x104], eax
mov ecx, dword [0x4ae194]
push 0x104
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x415da1
lea edx, [esp]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push str.Readme.txt
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 1
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push 0x47f7c0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0043ae62
add esp, 0x108
ret
Function at 0x416050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470d21
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4934a4]
xor eax, esp
mov dword [esp + 0x24], eax
push edi
mov eax, dword [0x4934a4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x38], 0
push 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
call fcn.0043c887
mov edi, eax
add esp, 4
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.0041e575
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4160c8
push 0x80004005
call fcn.00409620
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x38], 0
movzx ecx, word [esp + 0x2a]
push ecx
push edi
push str._d_d
push esi
mov dword [esp + 0x1c], 1
call fcn.00409010
add esp, 0x10
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0043ae62
add esp, 0x34
ret
Function at 0x417550
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x471e25
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4934a4]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
mov eax, dword [0x4934a4]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov ebx, 1
mov dword [esp + 0x120], ebx
push str..Phone.dat
push 0x104
lea eax, [esp + 0x18]
push eax
push 0
push esi
push str.PHONE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4175d3
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.004097a0
mov dword [esp + 8], ebx
jmp 0x41760f
mov ecx, dword [esp + 0x128]
push str..Phone.dat
push ecx
push esi
push str.PHONE
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x128]
add eax, 0xfffffff0
push eax
call fcn.004090a0
add esp, 4
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x120], bl
mov dword [esp + 8], ebx
mov dword [esp + 0x120], 0
mov eax, dword [esp + 0x128]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41763d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0043ae62
add esp, 0x11c
ret 4
Function at 0x418490
Capabilities:
Check if file exists
Read .ini file

Disassembly:
sub esp, 0x908
mov eax, dword [0x4934a4]
xor eax, esp
mov dword [esp + 0x904], eax
push ebp
mov ebp, ecx
jmp 0x4184b9
push str..Config.dat
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4185be
mov eax, dword [ebp + 0x304]
push esi
push 0
push 0
push 0x14b
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x7ff
lea ecx, [esp + 0x111]
push 0
push ecx
mov byte [esp + 0x118], 0
call fcn.0043d760
push 0x103
lea edx, [esp + 0x19]
push 0
push edx
mov byte [esp + 0x20], 0
call fcn.0043d760
add esp, 0x18
push str..Config.dat
push 0x800
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
xor esi, esi
push edi
jmp 0x418540
cmp byte [esp + esi + 0x110], 0
lea ecx, [esp + esi + 0x110]
jne 0x418563
inc esi
cmp byte [esp + esi + 0x110], 0
lea ecx, [esp + esi + 0x110]
je 0x4185bc
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x418568
push ecx
lea ecx, [esp + 0x10]
sub eax, edi
push 0x104
push ecx
mov edi, eax
call fcn.0043bcfb
lea edx, [esp + 0x18]
push str.LAST_USER
push edx
call fcn.0043c0e3
add esp, 0x14
test eax, eax
je 0x4185b2
mov ecx, dword [ebp + 0x304]
lea eax, [esp + 0xc]
push eax
push 0
push 0x143
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
add esi, edi
cmp esi, 0x800
jl 0x418540
pop edi
pop esi
jmp 0x4185ce
mov ecx, dword [esp + 0x908]
pop ebp
xor ecx, esp
call fcn.0043ae62
add esp, 0x908
ret
Function at 0x4185f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x46ee11
mov eax, dword fs:[0]
push eax
sub esp, 0x51c
mov eax, dword [0x4934a4]
xor eax, esp
mov dword [esp + 0x518], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4934a4]
xor eax, esp
push eax
lea eax, [esp + 0x530]
mov dword fs:[0], eax
mov esi, ecx
jmp 0x41863f
push 0x103
lea eax, [esp + 0x1d]
push 0
push eax
mov byte [esp + 0x24], 0
call fcn.0043d760
push 0x40f
lea ecx, [esp + 0x12d]
push 0
push ecx
mov byte [esp + 0x134], 0
call fcn.0043d760
add esp, 0x18
call fcn.0041e575
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41868e
push 0x80004005
call fcn.00409620
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x538], 1
mov edx, dword [esi + 0x304]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x147
push edx
call ebp
push eax
lea ecx, [esi + 0x2e4]
call fcn.0041e83e
mov ecx, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..Config.dat
push 0x104
lea eax, [esp + 0x20]
push eax
push 0
push str.UserName
push ecx
call ebx
mov eax, dword [esp + 0x14]
push str..Config.dat
push 0x410
lea edx, [esp + 0x124]
push edx
push 0
push str.PassWord
push eax
call ebx
mov ecx, dword [esp + 0x14]
push str..Config.dat
push 0
push str.IsPhone
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea edx, [esp + 0x18]
push edx
lea ecx, [esi + 0x2e4]
mov ebx, eax
call fcn.00424003
lea eax, [esp + 0x11c]
push eax
lea ecx, [esi + 0xec]
call fcn.00424003
mov edx, dword [esi + 0x208]
xor ecx, ecx
test ebx, ebx
setne cl
push 0
push ecx
push 0xf1
push edx
call ebp
mov eax, dword [esi + 0x25c]
push 0
push 1
push 0xf1
push eax
call ebp
jmp 0x41878b
mov dword [esp + 0x538], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4187b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x530]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x518]
xor ecx, esp
call fcn.0043ae62
add esp, 0x528
ret