joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fcc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cc38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4b4070]
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
cmp dword [ebx + 0x38], 0
je 0x40fe04
cmp byte [ebx + 0x3e], 0
je 0x40fe04
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
sete al
test al, al
je 0x40fd24
xor al, al
jmp 0x40fe06
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x40fd95
sub eax, 1
je 0x40fd99
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x40fdec
xor bl, bl
jmp 0x40fdee
mov byte [ebx + 0x3e], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x40fdce
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004506fa
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x40fd91
cmp byte [ebx + 0x3e], 0
je 0x40fdec
test esi, esi
jne 0x40fd57
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004112b0
jmp 0x40fd54
mov bl, 1
cmp ecx, 0x10
jb 0x40fe00
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00408d90
mov al, bl
jmp 0x40fe06
mov al, 1
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.0043b44e
mov esp, ebp
pop ebp
ret
Function at 0x410640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c546
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4b4070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0043b45f
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00428d8f
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419300
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d86a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x4b4070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebx + 8]
push 0x738
call fcn.0043b45f
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, eax
mov dword [ebp - 4], 0
call dword [sym.imp.CoreUI.dll_public:_void___thiscall_UiLib::CListContainerElementUI::constructor_void_]
mov eax, dword [ebp - 0x30]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [eax], vtable.UiLib::CListContainerElementUI.0
push dword [esi + 0x8a8]
call dword [sym.imp.CoreUI.dll_public:_void___thiscall_UiLib::CListContainerElementUI::SetHeader_class_UiLib::CListHeaderUI__]
mov ecx, dword [ebp - 0x30]
push 0x18
mov eax, dword [ecx]
call dword [eax + 0x64]
mov ecx, dword [esi + 0x8a4]
push dword [ebx + 0xc]
add ecx, 0x6e4
push dword [ebp - 0x30]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x8a4]
call dword [sym.imp.CoreUI.dll_public:_unsigned_long_int___thiscall_UiLib::CListUI::GetItemLineColor_void_const]
movaps xmm0, xmmword [0x4a7680]
mov esi, eax
push esi
sub esp, 0x10
mov ecx, esp
movups xmmword [ecx], xmm0
lea ecx, [edi + 0x30]
push ecx
push dword [ebp - 0x30]
call fcn.00419460
movaps xmm0, xmmword [0x4a7680]
push esi
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
lea eax, [edi + 0x48]
mov edi, dword [ebp - 0x30]
push eax
push edi
call fcn.00419460
xor eax, eax
mov dword [ebp - 0x18], 7
push eax
push 0x4a4298
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00402790
push esi
sub esp, 0x10
mov dword [ebp - 4], 1
mov eax, esp
xorps xmm0, xmm0
movups xmmword [eax], xmm0
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.00419460
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x41943c
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00402d30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043b44e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8

Function at 0x41c5a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x41c5d1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x41c5c0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x41f590
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x41f7b3
nop dword [eax + eax]
cmp eax, 0x7c
je 0x41f7b3
cmp eax, 0x29
jne 0x41f5d5
cmp dword [esi + 0x10], 0
jne 0x41f7b3
test dword [esi + 0x50], 0x10000000
je 0x41f7bb
cmp eax, 0x2e
jne 0x41f682
push 0x14
call fcn.0043b45f
mov ecx, eax
add esp, 4
mov dword [ebp - 4], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx], vtable.std::_Node_base.0
mov dword [ecx + 4], 5
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x41f62b
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
mov dword [esi + 0x28], ecx
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x41f676
cmp word [eax], 0x5c
jne 0x41f673
add eax, 2
cmp eax, ecx
je 0x41f673
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x41f65f
movzx edx, word [eax]
cmp edx, 0x28
je 0x41f671
cmp edx, 0x29
je 0x41f671
test cl, 0x10
jne 0x41f673
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x41f671
cmp ecx, 0x7d
jne 0x41f673
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.0041e430
jmp 0x41f79e
cmp eax, 0x5c
jne 0x41f6e5
mov ecx, esi
call fcn.0041f540
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x41f6b3
cmp word [esi + 0x48], 0x62
jne 0x41f6b3
lea ecx, [esi + 0x24]
call fcn.00421020
mov ecx, esi
call fcn.0041f540
jmp 0x41f7a5
test eax, eax
je 0x41f6d9
cmp word [esi + 0x48], 0x42
jne 0x41f6d9
lea ecx, [esi + 0x24]
call fcn.00421020
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0041f540
jmp 0x41f7a5
mov ecx, esi
call fcn.00420c60
jmp 0x41f79e
cmp eax, 0x5b
jne 0x41f708
mov ecx, esi
call fcn.0041f540
mov ecx, esi
call fcn.00420bd0
push 4
push 0x5d
mov ecx, esi
call fcn.00420b60
jmp 0x41f79e
cmp eax, 0x28
jne 0x41f72e
mov ecx, esi
call fcn.0041f540
mov ecx, esi
call fcn.00420d30
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.00420b60
test bl, bl
je 0x41f7a5
jmp 0x41f79e
cmp eax, 0x5e
jne 0x41f744
lea ecx, [esi + 0x24]
call fcn.00420f40
mov ecx, esi
call fcn.0041f540
jmp 0x41f7a5
cmp eax, 0x24
jne 0x41f75a
lea ecx, [esi + 0x24]
call fcn.00420fb0
mov ecx, esi
call fcn.0041f540
jmp 0x41f7a5
cmp eax, 0x2a
je 0x41f7d0
cmp eax, 0x2b
je 0x41f7d0
cmp eax, 0x3f
je 0x41f7d0
cmp eax, 0x7b
je 0x41f7d0
cmp eax, 0x7d
jne 0x41f77c
test dword [esi + 0x50], 0x10000000
je 0x41f7c2
cmp eax, 0x5d
jne 0x41f78a
test dword [esi + 0x50], 0x10000000
je 0x41f7c9
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00421090
mov ecx, esi
call fcn.0041f540
mov ecx, esi
call fcn.00420e10
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x41f5b0
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 5
call fcn.004254bb
push 6
call fcn.004254bb
push 4
call fcn.004254bb
push 0xa
call fcn.004254bb
int3
Function at 0x424d00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4b4070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push esi
push 0
push 0x424ea0
mov dword [esi + 4], eax
mov al, byte [ebp + 0xc]
mov dword [esi], vtable.CStartThread.0
mov byte [esi + 0x10], al
mov dword [esi + 8], 0xffffffff
call fcn.00450cb0
add esp, 0xc
mov dword [esi + 8], eax
cmp eax, 0xffffffff
jne 0x424d59
push 0
push 0
push 0x465
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x40e
lea eax, [ebp - 0x412]
push 0
push eax
call fcn.00448c20
mov eax, dword [0x4a6328]
lea ecx, [ebp - 0x414]
movups xmm0, xmmword [str.SkyPicture]
mov dword [ebp - 0x404], eax
add esp, 0xc
mov ax, word [0x4a632c]
add ecx, 0xfffffffe
movups xmmword [ebp - 0x414], xmm0
mov word [ebp - 0x400], ax
nop
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x424da0
mov eax, dword [0x4a6330]
mov dword [ecx], eax
mov eax, dword [0x4a6334]
mov dword [ecx + 4], eax
mov eax, dword [0x4a6338]
mov dword [ecx + 8], eax
mov eax, dword [0x4a633c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x4a6340]
mov dword [ecx + 0x10], eax
mov eax, dword [0x4a6344]
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0x414]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x424de4
mov eax, dword [str.is_doing]
mov dword [ecx], eax
mov eax, dword [0x4a634c]
mov dword [ecx + 4], eax
mov eax, dword [0x4a6350]
mov dword [ecx + 8], eax
mov eax, dword [0x4a6354]
mov dword [ecx + 0xc], eax
mov ax, word [0x4a6358]
mov word [ecx + 0x10], ax
lea eax, [ebp - 0x414]
push eax
push 0
push 1
push 0
mov dword [esi + 0xc], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [esi + 0xc], eax
xor ecx, ebp
mov eax, esi
pop esi
call fcn.0043b44e
mov esp, ebp
pop ebp
ret 8

Function at 0x43c720
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f413
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b4070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x4b65d8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x4b65d8
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x4a4542
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0043e6b0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43d530
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f528
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4b4070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x43d581
push ebx
push ebx
push ebx
push 2
call fcn.004402c0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [edi + 0x18]
test esi, esi
je 0x43d597
mov ecx, esi
mov esi, dword [esi + 0x28]
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x43d588
push 2
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
push 0
push ebx
mov dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0xffffffff
call fcn.0044fab7
push ebx
call fcn.0045ae61
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp - 0x14], esi
call fcn.0044fab7
add esp, 0x1c
test esi, esi
jne 0x43d5fb
push esi
push esi
push esi
push 0xd
mov ecx, edi
call fcn.004402c0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x10], 0x4b65d8
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0043e790
lea eax, [esi + 1]
push eax
call fcn.0043b92f
push ebx
push 1
mov ebx, eax
mov dword [ebp + 8], eax
push esi
push ebx
mov byte [eax], 0
call fcn.0045a752
add esp, 0x14
cmp eax, 1
je 0x43d64b
push 0
push 0
push 0
push 2
mov ecx, edi
call fcn.004402c0
xor bl, bl
jmp 0x43d6ee
mov eax, dword [ebp - 0x14]
mov ecx, ebx
mov esi, ebx
mov byte [ebx + eax], 0
cmp byte [ebx], 0
je 0x43d6b8
nop dword [eax + eax]
mov al, byte [esi]
cmp al, 0xa
jne 0x43d67a
mov eax, esi
sub eax, ecx
inc eax
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.0043e660
inc esi
mov ecx, esi
jmp 0x43d6b3
cmp al, 0xd
jne 0x43d6b2
mov eax, esi
sub eax, ecx
test eax, eax
jle 0x43d690
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.0043e660
push 1
lea eax, [ebp + 8]
mov byte [ebp + 8], 0xa
push eax
lea ecx, [ebp - 0x10]
call fcn.0043e660
cmp byte [esi + 1], 0xa
lea ecx, [esi + 1]
jne 0x43d6ae
lea ecx, [esi + 2]
mov esi, ecx
jmp 0x43d6b3
inc esi
cmp byte [esi], 0
jne 0x43d660
sub esi, ecx
je 0x43d6c6
push esi
push ecx
lea ecx, [ebp - 0x10]
call fcn.0043e660
push ebx
call fcn.0043b92a
mov eax, dword [ebp - 0x10]
add esp, 4
mov edx, dword [edi]
add eax, 8
mov ecx, edi
push dword [ebp + 0xc]
push 0
push eax
call dword [edx + 8]
cmp byte [edi + 0x2c], 0
je 0x43d6ec
xor bl, bl
jmp 0x43d6ee
mov bl, 1
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x4b65d8
je 0x43d702
push ecx
call fcn.0043b92a
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4417ba
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4
Function at 0x441b8b
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x48faa9
call fcn.0043befc
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.00448c20
lea eax, [edi + 0x84]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x441be8
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00402730
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x441c2e
mov eax, dword [esi]
jmp 0x441c30
mov eax, esi
push ebx
push eax
call fcn.0045cbe9
pop ecx
pop ecx
test eax, eax
jne 0x441c7c
cmp byte [edi + 1], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x441c60
call fcn.00441aa7
jmp 0x441c65
call fcn.00441b61
push eax
mov ecx, esi
call fcn.00403770
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00402d90
mov eax, esi
call fcn.0043bea6
ret 0x10
Function at 0x442ed6
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x48fb46
call fcn.0043befc
mov ebx, ecx
call fcn.00441a9b
lea edi, [ebx + 0xcc]
push eax
mov ecx, edi
call fcn.00402890
mov esi, str.SkyPicInfo.ini
push esi
call fcn.0045cc4b
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00405f80
push str.xkktwgf
push 0x4953f8
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00441b37
and dword [ebp - 4], 0
lea esi, [ebx + 0xe4]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x442f4c
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00402e80
push str.xkktwgf
mov ecx, esi
call fcn.00406800
test eax, eax
jne 0x442fc8
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00448c20
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x442f79
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.xkktwgf
push eax
push edi
push 0x4953f8
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x442faa
xor eax, eax
jmp 0x442fb7
lea eax, [ebp - 0x218]
push eax
call fcn.0045cc4b
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00402790
jmp 0x442fcd
mov edi, str.xkktwgf
push edi
mov ecx, esi
call fcn.00406800
test eax, eax
jne 0x443090
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00448c20
add esp, 0xc
lea eax, [ebx + 0x54]
lea ecx, [ebp - 0x230]
push eax
call fcn.00403cc0
push str.SkyPicInfo.ini
mov byte [ebp - 4], 1
call fcn.0045cc4b
pop ecx
push eax
push str.SkyPicInfo.ini
lea ecx, [ebp - 0x230]
call fcn.00405f80
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push 0x4953f8
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x443061
xor eax, eax
jmp 0x44306e
lea eax, [ebp - 0x218]
push eax
call fcn.0045cc4b
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00402790
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00402d90
push edi
mov ecx, esi
call fcn.00406800
test eax, eax
jne 0x4430cc
push edi
push 0x4953f8
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00441b8b
push eax
mov ecx, esi
call fcn.00403770
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00402d90
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00402d90
call fcn.0043bea6
ret

Function at 0x444694
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4b4070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.00448c20
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
pop esi
jg 0x4446f7
cmp dword [ebp - 0x118], 2
jg 0x4446f7
xor eax, eax
inc eax
jmp 0x4446f9
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b44e
mov esp, ebp
pop ebp
ret
Function at 0x444930
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x445864
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
xor ecx, ecx
xor edx, edx
xor esi, esi
push edi
cmp dword [ebp + 0xc], ecx
jle 0x445945
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
cmp al, 0x3d
jne 0x445888
inc edx
cmp edx, 2
jg 0x4458c6
cmp al, 0x7f
ja 0x4458c6
movzx eax, al
mov al, byte [eax + 0x4956b0]
cmp al, 0x7f
je 0x4458c6
cmp al, 0x40
jae 0x4458a1
test edx, edx
jne 0x4458c6
inc ecx
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x44587b
test ecx, ecx
je 0x445945
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x4458cb
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x4458c8
push 0xffffffffffffffee
pop eax
jmp 0x445947
mov edx, dword [ebp + 0x10]
xor eax, eax
push ebx
xor ebx, ebx
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x44593f
mov eax, dword [ebp + 8]
push 3
pop edi
movzx eax, byte [eax]
mov cl, byte [eax + 0x4956b0]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
or ebx, eax
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x445930
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x44591b
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x445928
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x445930
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x4458e0
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
pop ebx
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x4459e3
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.0045cc4b
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043b92f
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.0045cc29
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x445a5d
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x445a54
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x445a4a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x445a5b
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x445a27
jmp 0x445a5d
xor edi, edi
push esi
call fcn.0043b92a
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret