joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013d30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b4188
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1022101c]
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 + 8]
mov edi, dword [ebp + 0xc]
cmp esi, 0xa
jne 0x10013d70
push edi
call fcn.100140a0
jmp 0x10013dec
cmp esi, 0xb
jne 0x10013d7d
push edi
call fcn.10014390
jmp 0x10013dec
cmp esi, 0xc
jne 0x10013dec
mov eax, dword [ebx + 8]
test eax, eax
je 0x10013dec
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10013da1
add ecx, 4
call dword [sym.imp.2345MiniUI.dll_public:_int___thiscall_RCMiniAtlWindow::IsWindow_void_const]
dec eax
neg eax
sbb eax, eax
inc eax
jmp 0x10013da3
xor eax, eax
test al, al
je 0x10013dec
mov eax, dword [ebx + 8]
push 3
push 0
push 0
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x24]
add ecx, 0x24
push 0
push 0
push 0xffffffffffffffff
call dword [eax + 4]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push eax
call esi
mov eax, dword [ebx + 8]
push 3
push 0
push 0
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x24]
add ecx, 0x24
push 0
push 0
push 0xfffffffffffffffe
call dword [eax + 4]
push eax
call esi
mov esi, dword [ebp + 8]
test edi, edi
je 0x10013dfb
push 0
push edi
call fcn.101b079d
add esp, 8
cmp dword [0x102211a4], 0
je 0x10013e99
push 0
mov ecx, 0x102211a0
call fcn.10017b00
mov eax, dword [0x102211a4]
cmp byte [eax + 0x54], 0
je 0x10013e99
cmp dword [eax + 0x58], 4
jb 0x10013e99
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push str.msg_notify_msgtype___d
push eax
call fcn.100851e0
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x102211a0
push 0x59
push str.RC::RCFileAssocHandler::OnMessage
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_fileassociate_src_associateui_rcfileassochandler.cpp
push eax
push 4
call fcn.10018770
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x10013e91
lea eax, [ebp - 0x28]
mov ecx, 0x102211a0
push eax
call fcn.10018ab0
lea ecx, [ebp - 0x28]
call fcn.10003c80
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.101b075c
mov esp, ebp
pop ebp
ret 8
Function at 0x100158c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b4188
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1022101c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x102211a4], 0
je 0x1001598e
push 0
mov ecx, 0x102211a0
call fcn.10017b00
mov eax, dword [0x102211a4]
cmp byte [eax + 0x54], 0
je 0x1001598e
cmp dword [eax + 0x58], 4
jb 0x1001598e
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0xa
push 0x101e2720
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.10003cf0
push 0x4c
push str.RC::RCFileAssocPromptDlg::OnClose
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_fileassociate_src_associateui_rcfileassocpromptdlg.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x102211a0
push eax
push 4
call fcn.10018770
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x1001597f
lea eax, [ebp - 0x28]
mov ecx, 0x102211a0
push eax
call fcn.10018ab0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10003c80
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x100159a3
push 0
lea eax, [esi + 0x80]
push eax
call fcn.10013fd0
mov ecx, esi
call dword [sym.imp.2345MiniUI.dll_public:_int___thiscall_ATL::CWindowImplBaseT_class_RCMiniAtlWindow__class_ATL::CWinTraits_1442840576__0__::DestroyWindow_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b075c
mov esp, ebp
pop ebp
ret
Function at 0x10018ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b4a70
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1022101c]
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 eax, dword [esi + 4]
mov edi, dword [ebp + 8]
test eax, eax
je 0x10018bfc
cmp byte [eax + 0x54], 0
je 0x10018bfc
add eax, 0x1c
lea ecx, [ebp - 0x34]
push eax
call fcn.1000d3c0
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x10018b12
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10018bc9
push 0
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.1008dc70
add esp, 0xc
push 2
push 0
push 0
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x38]
push 0
push ecx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x10018bb3
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10018ba9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10018ba9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.101b079d
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0
mov dword [ebp - 4], 7
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x10018bee
cmp byte [ebp - 0x30], 0
je 0x10018bee
mov eax, dword [esi]
test eax, eax
je 0x10018bea
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 4], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
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.101b075c
mov esp, ebp
pop ebp
ret 4
Function at 0x1001a070
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b4d3e
mov eax, dword fs:[0]
push eax
mov eax, 0x105c
call fcn.101b1fe0
mov eax, dword [0x1022101c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1060], esi
mov dword [ebp - 0x1064], esi
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x1044], 0
call fcn.100197b0
lea eax, [ebp - 0x1028]
mov dword [ebp - 4], 1
push eax
call fcn.10086930
add esp, 4
test al, al
jne 0x1001a11e
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x101d6804
mov word [esi], ax
call fcn.10003cf0
mov dword [ebp - 0x1044], 1
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 2
call fcn.10003c80
jmp 0x1001a2f0
push 0xa
xor eax, eax
mov dword [ebp - 0x104c], 0
mov dword [ebp - 0x1048], 0
lea ecx, [ebp - 0x105c]
push str.config.ini
mov dword [ebp - 0x104c], 0
mov dword [ebp - 0x1048], 7
mov word [ebp - 0x105c], ax
call fcn.10003cf0
lea eax, [ebp - 0x105c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1040]
push eax
call fcn.10085b60
add esp, 0xc
lea ecx, [ebp - 0x105c]
mov byte [ebp - 4], 9
call fcn.10003c80
push 0x1000
lea eax, [ebp - 0x1010]
mov byte [ebp - 4], 8
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1040]
cmp dword [ebp - 0x102c], 8
cmovae eax, dword [ebp - 0x1040]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x101d6804
push 0x101e2d64
push str.Install
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x1001a22f
push eax
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 7
push 0x101d6804
mov word [esi], ax
call fcn.10003cf0
mov dword [ebp - 0x1044], 1
lea ecx, [ebp - 0x1040]
mov byte [ebp - 4], 0xd
call fcn.10003c80
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 0x11
call fcn.10003c80
jmp 0x1001a2f0
xor eax, eax
cmp word [ebp - 0x1010], ax
je 0x1001a2b9
nop word [eax + eax]
inc eax
cmp word [ebp + eax*2 - 0x1010], 0
jne 0x1001a240
test eax, eax
je 0x1001a2b9
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x105c]
call fcn.10003b60
lea eax, [ebp - 0x105c]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x1028]
push eax
push esi
call fcn.10085b60
add esp, 0xc
mov dword [ebp - 0x1044], 1
lea ecx, [ebp - 0x105c]
mov byte [ebp - 4], 0x1e
call fcn.10003c80
lea ecx, [ebp - 0x1040]
mov byte [ebp - 4], 0x22
call fcn.10003c80
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 0x26
call fcn.10003c80
jmp 0x1001a2f0
push 0x101d6804
mov ecx, esi
call fcn.10003b60
mov dword [ebp - 0x1044], 1
lea ecx, [ebp - 0x1040]
mov byte [ebp - 4], 0x15
call fcn.10003c80
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 0x19
call fcn.10003c80
mov byte [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b075c
mov esp, ebp
pop ebp
ret
Function at 0x1001b920
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b5018
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1022101c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
xor eax, eax
mov dword [ebp - 0x18], 0
push str.https:__
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10003cf0
push 0x12
push str.baoku_safe.2345.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.1000b8c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 1
push eax
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
lea ecx, [ebp - 0x28]
setne bl
call fcn.10003c80
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b075c
mov esp, ebp
pop ebp
ret
Function at 0x1001ef00
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b540d
mov eax, dword fs:[0]
push eax
mov eax, 0x1138
call fcn.101b1fe0
mov eax, dword [0x1022101c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x1144], esi
mov dword [ebp - 0x1140], 0
call fcn.10003bb0
mov dword [ebp - 4], 0
push 1
mov dword [ebp - 0x1140], 1
mov dword [ebp - 0x1018], 0
call fcn.101b076d
add esp, 4
mov dword [ebp - 0x1018], eax
mov byte [eax], 0
lea eax, [ebp - 0x1138]
push 0x118
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x113c], 0x11c
lea eax, [ebp - 0x113c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1001efc2
cmp dword [ebp - 0x1138], 6
mov eax, dword [ebp - 0x1018]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1018]
call fcn.10098bd0
push 0x1000
lea eax, [ebp - 0x1014]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1014]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1001f01f
lea eax, [ebp - 0x1014]
push eax
call fcn.10003f00
add esp, 4
mov ecx, esi
push eax
lea eax, [ebp - 0x1014]
push eax
call fcn.10003cf0
lea ecx, [ebp - 0x1018]
call fcn.10098ec0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1018]
call fcn.10098520
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b075c
mov esp, ebp
pop ebp
ret 4
Function at 0x1001f0f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b545d
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x1022101c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0xdc], eax
call fcn.1000d230
push 0x5c
lea eax, [ebp - 0xc4]
mov byte [edx], 0
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x20], xmm0
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0xc4]
push eax
call fcn.101b1b20
push 4
call fcn.101b076d
add esp, 0x14
mov dword [ebp - 0xd0], eax
mov dword [ebp - 4], 0
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xcc], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xcc]
push 0x80
push 3
push 1
push 0x80000000
push esi
call fcn.10091680
test al, al
je 0x1001f2ef
lea eax, [ebp - 0xd4]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0xcc]
movlpd qword [ebp - 0xd4], xmm0
call fcn.10091860
mov eax, dword [ebp - 0xd4]
or eax, dword [ebp - 0xd0]
je 0x1001f2ef
push 0x102244a0
push 0x1000
mov dword [ebp - 0x68], 0
call fcn.101b0fe9
mov edi, eax
add esp, 8
test edi, edi
je 0x1001f2ef
mov esi, dword [ebp - 0xcc]
nop
test esi, esi
je 0x1001f27c
cmp dword [esi], 0xffffffff
je 0x1001f27c
push 0
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0
push eax
push 0x1000
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001f264
mov eax, dword [ebp - 0xd8]
cmp byte [eax], 0
jne 0x1001f264
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x1001f264
push eax
lea eax, [ebp - 0xc4]
push edi
push eax
call fcn.101b1b60
add esp, 0xc
mov dword [ebp - 0x68], 0
jmp 0x1001f210
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1001f27c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1001f27c
mov dword [esi], 0xffffffff
push edi
call fcn.101b0f8b
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.101b1a00
push 0x42
lea eax, [ebp - 0x64]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea esi, [ebp - 0x64]
xor edi, edi
nop word [eax + eax]
movzx eax, byte [ebp + edi - 0x20]
push eax
push str._02X
push 3
push esi
call fcn.1001f060
inc edi
add esp, 0x10
add esi, 4
cmp edi, 0x10
jb 0x1001f2b0
lea eax, [ebp - 0x64]
push eax
call fcn.10003f00
mov ecx, dword [ebp - 0xdc]
add esp, 4
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.10003cf0
mov al, 1
jmp 0x1001f2f1
xor al, al
mov esi, dword [ebp - 0xcc]
mov byte [ebp - 0xc5], al
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1001f33b
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1001f320
test eax, eax
je 0x1001f320
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.101b079d
mov al, byte [ebp - 0xc5]
add esp, 8
mov dword [ebp - 0xcc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b075c
mov esp, ebp
pop ebp
ret 8
Function at 0x1002d340
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b7a09
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1022101c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.10003c20
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x1002d4f4
nop dword [eax + eax]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
inc edx
mov byte [ebp + esi - 0x14], al
inc esi
mov ah, byte [ebp - 0x12]
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov byte [ebp - 0xf], ah
mov byte [ebp - 0xd], ch
mov byte [ebp - 0xe], cl
cmp esi, 3
jne 0x1002d431
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, ch
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x17], cl
mov cl, ch
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ah
mov byte [ebp - 0x16], cl
and al, 0x3f
mov ecx, 0x10224980
mov byte [ebp - 0x15], al
call fcn.10003c50
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1002d40f
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.1002d790
inc edi
cmp edi, 4
jl 0x1002d405
mov edx, dword [ebp - 0x20]
xor esi, esi
mov ch, byte [ebp - 0xd]
mov cl, byte [ebp - 0xe]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1002d3a0
mov dword [ebp + 8], esi
test esi, esi
je 0x1002d4f4
mov eax, esi
cmp esi, 3
jge 0x1002d46d
cmp eax, 3
jae 0x1002d508
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x1002d451
mov dl, byte [ebp - 0x12]
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
jmp 0x1002d470
mov dl, byte [ebp - 0xf]
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, ch
shr al, 4
and ch, 0xf
shl cl, 4
add cl, al
shl ch, 2
mov al, dl
mov byte [ebp - 0x17], cl
shr al, 6
and dl, 0x3f
add ch, al
mov byte [ebp - 0x15], dl
lea eax, [esi + 1]
mov byte [ebp - 0x16], ch
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x1002d4da
mov ecx, 0x10224980
call fcn.10003c50
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1002d4c0
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.1002d790
inc edi
cmp edi, dword [ebp - 0x20]
jl 0x1002d4b6
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x1002d4f4
mov edi, 3
sub edi, esi
push 0x3d
mov ecx, ebx
call fcn.1002d790
sub edi, 1
jne 0x1002d4e6
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.101b1113
int3
Function at 0x10032550
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b894a
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1022101c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.RC::IMiniDownloadEvent.0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.RC::RCWebOnlineDataDownload.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.10005400
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
call fcn.10035bc0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.10094e00
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10096240
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.10096240
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x70], 1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x71], 1
push 0x101d6804
lea ecx, [ebp - 0x38]
call fcn.10003b60
mov byte [ebp - 4], 9
push 0
push 1
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.100963b0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x38]
call fcn.10003b10
push 0x101d6804
lea ecx, [ebp - 0x50]
call fcn.10003b60
mov byte [ebp - 4], 0xa
push 0
push 0
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.100963b0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x50]
call fcn.10003b10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100326f0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b89ba
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1022101c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.RC::RCWebOnlineDataDownload.0
mov dword [ebp - 4], 6
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.10096340
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10096340
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.10094e20
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.10035430
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.10035a30
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.1002a180
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.10032460
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1003b930
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x174
mov eax, dword [0x1022101c]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
push 0x118
mov dword [esp + 0x14], eax
lea eax, [esp + 0x60]
push 0
push eax
mov dword [esp + 0x64], 0x11c
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [esp + 0x58]
call fcn.10090b60
test al, al
je 0x1003b9e2
push dword [esp + 0x60]
push dword [esp + 0x60]
push 0x101e3aec
push ebx
call fcn.100851e0
call fcn.10090ad0
test al, al
mov edx, 0x40
mov ecx, 0x20
cmovne ecx, edx
push ecx
push 0x101e35a0
push dword [esp + 0x28]
call fcn.100851e0
lea eax, [esp + 0x88]
push eax
call fcn.10003f00
mov ecx, dword [esp + 0x34]
add esp, 0x20
push eax
lea eax, [esp + 0x70]
push eax
call fcn.10003cf0
push 0x40
lea eax, [esp + 0x1c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x18], 0x40
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
push 0x101e35a0
push edi
call fcn.100851e0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 0x101e35a0
push esi
call fcn.100851e0
mov ecx, dword [esp + 0x188]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101b075c
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10040f20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101baec8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1022101c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [esi + 0x10], eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, dword [esi]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x10040ffb
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x1c], edx
call fcn.10031a00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.10003ac0
test al, al
jne 0x10040fec
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x38]
call fcn.10003ad0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10040fec
test esi, esi
je 0x10040fec
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10003b10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b075c
mov esp, ebp
pop ebp
ret 4