joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416d00
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
sub esp, 0x31c
push ebx
mov ebx, dword [esp + 0x324]
push ebp
mov ebp, dword [esp + 0x32c]
push esi
xor esi, esi
cmp ebx, 0xffffffff
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
jne 0x416d44
cmp ebp, ebx
jne 0x416d44
mov eax, dword [esp + 0x334]
push eax
call fcn.00416cd0
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 0x31c
ret
push edi
mov edi, dword [esp + 0x338]
cmp edi, esi
jle 0x416d5f
mov esi, edi
call fcn.004075c0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
cmp ebx, 0xffffffff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x124], eax
je 0x416d93
mov ecx, 1
mov dword [esp + 0x128], ebx
mov dword [esp + 0x124], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
mov edx, ebx
cmp ebp, 0xffffffff
mov dword [esp + 0x228], eax
je 0x416dda
test ecx, ecx
mov dword [esp + 0x22c], ebp
mov dword [esp + 0x228], 1
jbe 0x416dc2
cmp dword [esp + eax*4 + 0x24], ebp
je 0x416dc2
add eax, 1
cmp eax, ecx
jb 0x416db5
cmp eax, ecx
jne 0x416dd4
cmp ecx, 0x40
jae 0x416dd4
mov dword [esp + eax*4 + 0x24], ebp
add dword [esp + 0x20], 1
cmp ebp, edx
jbe 0x416dda
mov edx, ebp
xor ebx, ebx
test edi, edi
setl bl
lea ecx, [esp + 0x18]
lea ebp, [edx + 1]
sub ebx, 1
and ebx, ecx
lea ecx, [ecx]
xor eax, eax
cmp edi, eax
jle 0x416e21
mov eax, 0x10624dd3
imul esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
imul eax, eax, 0x3e8
mov edx, esi
sub edx, eax
imul edx, edx, 0x3e8
mov dword [esp + 0x1c], edx
jmp 0x416e2b
jne 0x416e2b
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x230]
push ecx
lea edx, [esp + 0x130]
push edx
push ebp
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x416e95
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x416e5e
cmp eax, 0x2714
jne 0x416e99
test edi, edi
jle 0x416df0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.004075c0
push edx
push eax
call fcn.004075f0
mov esi, edi
sub esi, eax
add esp, 0x10
test esi, esi
jg 0x416df0
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x31c
ret
test eax, eax
jge 0x416ea7
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x31c
ret
jne 0x416eb6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x31c
ret
mov edi, dword [esp + 0x330]
xor esi, esi
cmp edi, 0xffffffff
je 0x416eed
lea edx, [esp + 0x124]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x416edb
mov esi, 1
lea eax, [esp + 0x20]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x416eed
or esi, 4
mov edi, dword [esp + 0x334]
cmp edi, 0xffffffff
je 0x416f20
lea ecx, [esp + 0x228]
push ecx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x416f0e
or esi, 2
lea edx, [esp + 0x20]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x416f20
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x31c
ret
Function at 0x418a50
Capabilities:
Parse pe header

Disassembly:
mov al, byte [esp + 4]
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x418a5f
jmp dword [ecx*4 + 0x418ab4]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret

Function at 0x41b250
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x41eb50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x5d60f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x41ed95
cmp dword [ebx + 0x3c], 0
jne 0x41ed95
push esi
mov dword [ebx + 0x3c], 1
call fcn.0041f930
mov ecx, eax
call fcn.00423410
push eax
push 0xffffffffffffffff
push str.CheckTime
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
call fcn.004251b0
mov dword [ebp - 0x634], eax
cmp esi, eax
je 0x41ed94
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.0054cbd0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x630], ax
lea eax, [ebp - 0x62e]
push eax
call fcn.0054cbd0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push eax
call fcn.0054cbd0
add esp, 0x24
call fcn.0041f930
mov ecx, eax
call fcn.004233f0
lea edx, [ebp - 0x428]
sub edx, eax
mov edi, edi
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x41ec20
push edi
lea edi, [ebp - 0x428]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41ec40
mov ecx, 8
mov esi, str.WnPicUtility.exe
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x220]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x41ec63
mov eax, dword [0x57cea8]
lea edx, [ebp - 0x428]
mov dword [edi], eax
mov esi, edx
mov edi, edi
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41ec80
lea edi, [ebp - 0x220]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41ec96
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x220]
add ecx, 0xfffffffe
lea esp, [esp]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x41ecc0
mov eax, dword [0x57cfa8]
mov dword [ecx], eax
mov ax, word [0x57cfac]
mov word [ecx + 4], ax
xor ecx, ecx
nop
movzx eax, word [ecx + str.JuziBrowserProtect]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x632], ax
test ax, ax
jne 0x41ece0
lea edx, [ebp - 0x630]
mov esi, edx
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41ed00
lea edi, [ebp - 0x220]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41ed16
push dword [ebp - 0x634]
mov ecx, edx
xor eax, eax
shr ecx, 2
xorps xmm0, xmm0
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov word [ebp - 0x18], ax
mov word [ebp - 6], ax
and ecx, 3
lea eax, [ebp - 0x18]
push 0x57ce00
rep movsb byte es:[edi], byte [esi]
push eax
movdqu xmmword [ebp - 0x16], xmm0
call fcn.0054d433
add esp, 0xc
call fcn.0041f930
mov ecx, eax
call fcn.00423410
push eax
lea eax, [ebp - 0x18]
push eax
push str.CheckTime
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x220]
mov ecx, ebx
push eax
call fcn.0041f740
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0054c733
mov esp, ebp
pop ebp
ret
Function at 0x41eeb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x5d60f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x41f0a1
cmp dword [ebx + 0x38], 0
jne 0x41f0a1
push esi
call fcn.0041f930
mov ecx, eax
call fcn.00423410
mov esi, eax
lea eax, [ebp - 0x438]
push eax
mov dword [ebp - 0x43c], esi
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push esi
push 0xffffffffffffffff
push str.ServiceUpOnlineData
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
movzx ecx, word [ebp - 0x432]
cmp eax, ecx
je 0x41f0a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebx + 0x34]
jl 0x41f0a0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.0054cbd0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push eax
call fcn.0054cbd0
add esp, 0x18
call fcn.0041f930
mov ecx, eax
call fcn.004233f0
lea edx, [ebp - 0x428]
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x41ef80
push edi
lea edi, [ebp - 0x428]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41efa0
mov ecx, 8
mov esi, str.WnPicUtility.exe
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsw word es:[edi], word [esi]
lea esp, [esp]
movzx eax, word [ecx + 0x57cea8]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x222], ax
test ax, ax
jne 0x41efc0
lea edx, [ebp - 0x428]
mov esi, edx
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41efe0
lea edi, [ebp - 0x220]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41eff6
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x220]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41f020
mov ecx, 8
mov esi, 0x57ceac
rep movsd dword es:[edi], dword [esi]
push 0x7d0
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x220]
mov ecx, ebx
push eax
call fcn.0041f740
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x18], ax
mov word [ebp - 6], ax
movzx eax, word [ebp - 0x432]
push eax
lea eax, [ebp - 0x18]
push 0x57ce00
push eax
movdqu xmmword [ebp - 0x16], xmm0
call fcn.0054d433
add esp, 0xc
lea eax, [ebp - 0x18]
push dword [ebp - 0x43c]
push eax
push str.ServiceUpOnlineData
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebx + 0x38], 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0054c733
mov esp, ebp
pop ebp
ret
Function at 0x41f4a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c61b
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5d60f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x270], eax
test esi, esi
jne 0x41f4e7
xor eax, eax
jmp 0x41f6cc
push 0x228
lea eax, [ebp - 0x268]
mov dword [ebp - 0x26c], 0
push 0
push eax
call fcn.0054cbd0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x41f4e0
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41f6c1
jmp 0x41f540
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
cmp word [ebp - 0x248], ax
je 0x41f58f
lea eax, [ebp - 0x248]
lea edx, [eax + 2]
jmp 0x41f580
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f580
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041fd60
cmp word [esi], 0
jne 0x41f5a9
xor ecx, ecx
jmp 0x41f5bf
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f5b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0041fd60
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x278], esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.0041fc40
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x40]
push eax
call fcn.0041fc40
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0041fef0
test al, al
jne 0x41f681
cmp dword [ebp - 0x14], 8
jb 0x41f63b
push dword [ebp - 0x28]
call fcn.00425c36
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
jb 0x41f667
push dword [ebp - 0x40]
call fcn.00425c36
add esp, 4
lea eax, [ebp - 0x26c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41f540
lea esi, [eax + 1]
jmp 0x41f6c3
push dword [ebp - 0x264]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp - 0x270]
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
call fcn.0041eac0
lea ecx, [ebp - 0x40]
call fcn.0041eac0
jmp 0x41f6ca
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054c733
mov esp, ebp
pop ebp
ret 8
Function at 0x41f740
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
lea eax, [ebp - 8]
push str.EXPLORER.EXE
push eax
call fcn.0041f4a0
test eax, eax
jne 0x41f760
xor eax, eax
mov esp, ebp
pop ebp
ret 4
push 0x44
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.0054cbd0
add esp, 0xc
mov dword [ebp - 0x5c], 0x44
lea eax, [ebp - 4]
mov dword [ebp - 0x54], str.winsta0default
mov dword [ebp - 4], 0
push 1
push dword [ebp - 8]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x41f758
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push dword [ebp - 4]
push 0x420
push 0
push 0
push 0
push dword [ebp + 8]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x41f7de
push str.CreateProcessAsUser_ok__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41f7f0
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
push esi
push edi
mov edi, dword [ebp + 8]
jne 0x41f856
push 0x41edb0
lea eax, [edi + 0x44]
mov dword [edi + 0xc], 2
push eax
mov dword [edi + 0x10], 1
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerW]
mov dword [edi + 4], eax
test eax, eax
je 0x41f8b4
lea esi, [edi + 8]
push esi
push eax
call ebx
push esi
push dword [edi + 4]
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0xc], 4
call ebx
lea eax, [edi + 0x2c]
push eax
push 0
push edi
push 0x41ede0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [edi + 0x24], 0
mov dword [edi + 0x28], eax
jne 0x41f88d
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41f880
push 0x7d0
call esi
cmp dword [edi + 0x24], 0
je 0x41f880
lea eax, [edi + 8]
mov dword [edi + 0xc], 1
push eax
push dword [edi + 4]
call ebx
mov eax, dword [edi + 0x28]
test eax, eax
je 0x41f8b4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [edi + 0x28], 0
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x422dc0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56cb1b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d60f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
xor ecx, ecx
mov dword [edx + 0x30], 7
mov dword [edx + 0x2c], 0
mov word [edx + 0x1c], cx
mov dword [ebp - 4], ecx
xor eax, eax
lea ecx, [edx + 0x34]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
xor esi, esi
mov dword [edx + 0x60], 7
mov dword [edx + 0x5c], eax
mov word [edx + 0x4c], si
mov dword [edx + 0x78], 7
mov dword [edx + 0x74], esi
mov word [edx + 0x64], si
mov dword [edx + 0x90], 7
mov dword [edx + 0x8c], esi
mov word [edx + 0x7c], ax
mov dword [edx + 0xa8], 7
mov dword [edx + 0xa4], esi
mov word [edx + 0x94], si
mov dword [edx + 0xc0], 7
mov dword [edx + 0xbc], esi
mov word [edx + 0xac], si
mov dword [edx + 0xd8], 7
mov dword [edx + 0xd4], esi
mov word [edx + 0xc4], si
lea ebx, [edx + 0xdc]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], esi
mov word [ebx], ax
lea edi, [edx + 0xf4]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], esi
mov word [edi], ax
lea esi, [edx + 0x10c]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov word [esi], ax
push eax
push 0x57d004
mov byte [ebp - 4], 0xa
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov word [edx + 0x18], ax
call fcn.0041fd60
mov ecx, dword [ebp - 0x10]
push 0
push 0x57d004
lea ecx, [ecx + 0x1c]
call fcn.0041fd60
mov ecx, dword [ebp - 0x10]
push 0
push 0x57d004
lea ecx, [ecx + 0x64]
call fcn.0041fd60
mov ecx, dword [ebp - 0x10]
push 0
push 0x57d004
lea ecx, [ecx + 0x94]
call fcn.0041fd60
mov ecx, dword [ebp - 0x10]
push 0
push 0x57d004
lea ecx, [ecx + 0x4c]
call fcn.0041fd60
mov ecx, dword [ebp - 0x10]
push 0
push 0x57d004
lea ecx, [ecx + 0xac]
call fcn.0041fd60
mov ecx, dword [ebp - 0x10]
push 0
push 0x57d004
lea ecx, [ecx + 0xc4]
call fcn.0041fd60
push 0
push 0x57d004
mov ecx, ebx
call fcn.0041fd60
push 0
push 0x57d004
mov ecx, edi
call fcn.0041fd60
push 0
push 0x57d004
mov ecx, esi
call fcn.0041fd60
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4231a0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5d60f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x1a
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4231d2
sub ecx, edx
sar ecx, 1
je 0x4232b6
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4231f1
mov eax, dword [0x57d548]
lea edx, [ebp - 0x20c]
mov dword [edi], eax
add edx, 0xfffffffe
lea ecx, [ecx]
mov cx, word [edx + 2]
lea edx, [edx + 2]
test cx, cx
jne 0x423210
mov ecx, dword [str.WnPicView]
lea edi, [ebp - 0x20c]
mov dword [edx], ecx
add edi, 0xfffffffe
mov ecx, dword [0x57d608]
mov dword [edx + 4], ecx
mov ecx, dword [0x57d60c]
mov dword [edx + 8], ecx
mov ecx, dword [0x57d610]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x57d614]
mov dword [edx + 0x10], ecx
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x423251
mov dword [edi], eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
test eax, eax
jne 0x423280
lea eax, [ebp - 0x20c]
push eax
call fcn.004250f0
add esp, 4
cmp word [ebp - 0x20c], 0
jne 0x42328e
xor ecx, ecx
jmp 0x4232a6
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423297
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x34]
call fcn.0041fd60
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0054c733
mov esp, ebp
pop ebp
ret
Function at 0x4232d0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5d60f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 0x1a
lea eax, [ebp - 0x20c]
mov ebx, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423302
sub ecx, edx
sar ecx, 1
je 0x4233df
push esi
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x423322
mov eax, dword [0x57d548]
mov dword [edi], eax
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov edi, edi
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x423340
mov ecx, 8
mov esi, str.WnPicView.users
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x423361
mov dword [edi], eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42338f
lea eax, [ebp - 0x20c]
push eax
call fcn.004250f0
add esp, 4
cmp word [ebp - 0x20c], 0
jne 0x42339d
xor ecx, ecx
jmp 0x4233b5
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4233a6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
lea esi, [ebx + 0x1c]
push eax
mov ecx, esi
call fcn.0041fd60
cmp dword [esi + 0x14], 8
jb 0x4233cf
mov esi, dword [esi]
push esi
push str.get_user_path__:_s
call fcn.00425420
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0054c733
mov esp, ebp
pop ebp
ret

Function at 0x4234d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5d60f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x48], 8
lea eax, [esi + 0x34]
jb 0x4234f1
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call fcn.0054d433
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42352b
lea eax, [ebp - 0x20c]
push eax
call fcn.004250f0
add esp, 4
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x423534
mov eax, dword [str.Related.ini]
mov dword [ecx], eax
mov eax, dword [0x57d788]
mov dword [ecx + 4], eax
mov eax, dword [0x57d78c]
mov dword [ecx + 8], eax
mov eax, dword [0x57d790]
mov dword [ecx + 0xc], eax
mov eax, dword [0x57d794]
mov dword [ecx + 0x10], eax
mov eax, dword [0x57d798]
mov dword [ecx + 0x14], eax
cmp word [ebp - 0x20c], 0
jne 0x42357d
xor ecx, ecx
jmp 0x423595
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423586
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0xac]
call fcn.0041fd60
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0054c733
mov esp, ebp
pop ebp
ret
Function at 0x423c60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5d60f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x48], 8
lea eax, [esi + 0x34]
jb 0x423c81
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call fcn.0054d433
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423cbb
lea eax, [ebp - 0x20c]
push eax
call fcn.004250f0
add esp, 4
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x423cc4
mov eax, dword [str.Config.ini]
mov dword [ecx], eax
mov eax, dword [0x57d770]
mov dword [ecx + 4], eax
mov eax, dword [0x57d774]
mov dword [ecx + 8], eax
mov eax, dword [0x57d778]
mov dword [ecx + 0xc], eax
mov eax, dword [0x57d77c]
mov dword [ecx + 0x10], eax
mov ax, word [0x57d780]
mov word [ecx + 0x14], ax
cmp word [ebp - 0x20c], 0
jne 0x423d0f
xor ecx, ecx
jmp 0x423d2f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
jmp 0x423d20
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423d20
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x4c]
call fcn.0041fd60
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0054c733
mov esp, ebp
pop ebp
ret