joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bfb08
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x4bfb08
lcall 0x5de5, 0x8b10c483
jmp loc.00a9cf14

Function at 0x401a60
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401090
mov dword [esp], eax
call 0x401ad0
jmp dword [sym.imp.ucrtbase.dll_exit]
Function at 0x4095e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x478cbb
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x497750]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x497750]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.004053a0
push 0
push 0x1a
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x150], 0
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0
call ebp
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.004053d0
mov eax, dword [str.MacromediaFlash_PlayerSharedObjects]
push eax
mov esi, eax
call fcn.004013d0
add esp, 4
mov ebx, eax
push esi
lea eax, [esp + 0x18]
call fcn.004094a0
lea ecx, [esp + 0x14]
call fcn.00401a90
mov esi, eax
call fcn.00409700
push 0
push 0x1c
lea edx, [esp + 0x38]
push edx
push 0
call ebp
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.004053d0
mov eax, dword [str.GoogleChromeUser_DataDefaultPepper_DataShockwave_FlashWritableRootSharedObjects]
push eax
mov esi, eax
call fcn.004013d0
add esp, 4
mov ebx, eax
push esi
lea eax, [esp + 0x18]
call fcn.004094a0
lea ecx, [esp + 0x14]
call fcn.00401a90
mov esi, eax
call fcn.00409700
lea ecx, [esp + 0x14]
call fcn.00401a70
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.0043ad5b
add esp, 0x134
ret
Function at 0x4097d0
Capabilities:
Create directory
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4787a3
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x497750]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x497750]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1a4]
lea eax, [esp + 0x188]
push eax
mov esi, 0x488514
lea edi, [esp + 0x1c]
mov dword [esp + 0x184], 0
call fcn.00409d40
add esp, 4
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.00401a90
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, edi
mov esi, eax
call fcn.00401a70
cmp esi, 0xffffffff
jne 0x40986a
lea ecx, [esp + 0x188]
call fcn.00401a70
xor al, al
jmp 0x409920
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov bl, 0x10
test byte [esp + 0x34], bl
je 0x409894
lea eax, [esp + 0x60]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x409880
sub eax, edx
cmp eax, 8
je 0x40994a
lea edx, [esp + 0x34]
push edx
push esi
call edi
test eax, eax
jne 0x409872
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x190]
push eax
mov ecx, ebp
call fcn.00401ba0
push 0x488518
call fcn.004013d0
add esp, 4
mov ebx, eax
push 0x488518
mov eax, ebp
call fcn.004094a0
lea esi, [esp + 0x18]
call fcn.00410390
push 0
push eax
or eax, 0xffffffff
mov esi, ebp
mov byte [esp + 0x188], 1
call fcn.00409530
lea ecx, [esp + 0x18]
call fcn.00401a70
push 0
mov ecx, ebp
call fcn.00401a90
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 1
lea ecx, [esp + 0x188]
sete bl
call fcn.00401a70
mov al, bl
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.0043ad5b
add esp, 0x170
ret 0x20
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x190]
push eax
mov ecx, ebp
call fcn.00401ba0
push 0x488518
call fcn.004013d0
add esp, 4
mov ebx, eax
push 0x488518
mov eax, ebp
call fcn.004094a0
lea ecx, [esp + 0x60]
push ecx
call fcn.004013d0
add esp, 4
lea edx, [esp + 0x60]
mov ebx, eax
push edx
mov eax, ebp
call fcn.004094a0
lea ecx, [esp + 0x188]
call fcn.00401a70
mov al, 1
jmp 0x409920
Function at 0x40b910
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x479167
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x497750]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x488638
mov dword [edi + 0x58], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 8]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.0040c990
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
call fcn.0040d350
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x49c5f4]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40c5b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x479117
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x497750]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x488648
mov dword [edi + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 4]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.0040c900
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
call fcn.0040d350
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x49c5f4]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40d350
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x477e0b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x497750]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004582e4
push 4
mov dword [esp + 0x20], 0
call fcn.0041d92d
mov edi, eax
add esp, 4
test edi, edi
je 0x40d3d0
call fcn.00458175
mov dword [edi], eax
call fcn.00457fa9
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004582b1
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40d3c5
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.004582d2
jmp 0x40d3d2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x40e700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x479248
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x497750]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0xc]
call fcn.004020c0
mov ecx, dword [esp + 0x34]
push eax
mov dword [esp + 0x30], 0
call fcn.0040e5a0
lea ecx, [esp + 8]
mov esi, eax
call fcn.00401a70
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 8
Function at 0x40eea0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x479052
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x497750]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
push edi
mov eax, esi
call fcn.0040ff00
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00401430
test esi, esi
mov dword [esp + 0x18], ebx
jne 0x40eeeb
call fcn.0043b56c
mov ebp, dword [esi + 4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], esi
call fcn.00401430
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
je 0x40ef0f
cmp eax, esi
je 0x40ef14
call fcn.0043b56c
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
je 0x40ef2e
add eax, 0x10
call fcn.00409440
test eax, eax
jge 0x40efb6
xor eax, eax
mov ebp, vtable.Variant.0
mov ebx, 1
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x24]
push eax
push edi
lea ecx, [esp + 0x44]
push ecx
call fcn.0040f730
mov byte [esp + 0x80], bl
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
lea edx, [esp + 0x28]
push edx
mov eax, esi
call fcn.0040f1e0
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x1c], edx
mov byte [esp + 0x84], 0
call fcn.0040f180
mov dword [esp + 0x80], 0xffffffff
lea esi, [esp + 0x24]
mov dword [esp + 0x24], ebp
call fcn.0040dce0
cmp dword [esp + 0x14], 0
jne 0x40efc2
call fcn.0043b56c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 4]
jne 0x40efd8
call fcn.0043b56c
mov eax, dword [esp + 0x18]
add eax, 0x30
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
Function at 0x413380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x478981
mov eax, dword fs:[0]
push eax
mov eax, dword [0x497750]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax], vtable.AMF3Serializer.0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x4151a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4788d0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x497750]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x497750]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, 1
call fcn.00410600
mov eax, dword [esi + 4]
add eax, dword [esi + 0xc]
push edi
mov byte [eax], 0xc
add dword [esi + 0xc], 1
lea ecx, [esp + 0x14]
call fcn.0040e340
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0
call fcn.00401a20
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 2
call fcn.00401a70
mov eax, dword [esp + 0x40]
add eax, eax
or eax, 1
mov ecx, esi
call fcn.004152f0
test al, al
jne 0x415238
lea ecx, [esp + 0x2c]
call fcn.00401a70
xor al, al
jmp 0x41525f
sub esp, 0x1c
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00401a20
mov ecx, esi
call fcn.00410510
lea ecx, [esp + 0x2c]
mov bl, al
call fcn.00401a70
mov al, bl
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0043ad5b
add esp, 0x4c
ret

Function at 0x415e50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478329
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x497750]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov esi, 1
push 0x4886c9
mov ecx, edi
mov dword [esp + 0x3c], esi
call fcn.004020c0
sub esp, 0x1c
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [esp + 0x24], esi
push eax
lea esi, [esp + 0x7c]
call fcn.00401a20
mov ecx, esi
lea esi, [esp + 0x30]
call fcn.00415f00
add esp, 0x1c
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov byte [esp + 0x44], 2
call fcn.00401ba0
mov ecx, esi
call fcn.00401a70
lea ecx, [esp + 0x40]
call fcn.00401a70
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret

Function at 0x416850
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x4168b2
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
cmp esi, 0x400000
mov eax, 0x400000
ja 0x41687f
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x4168b7
test ecx, ecx
je 0x4168b0
test esi, esi
ja 0x416870
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x4168d0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x416932
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
cmp esi, 0x400000
mov eax, 0x400000
ja 0x4168ff
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x416937
test ecx, ecx
je 0x416930
test esi, esi
ja 0x4168f0
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x416ca0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x49c620], ecx
add edx, 1
cmp edx, 0x100
jl 0x416ca2
cmp edx, 0x800
jae 0x416d8b
mov edi, edi
mov eax, dword [edx*4 + 0x49c220]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x49c620]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x49c61c], eax
jb 0x416d60
mov dword [0x499360], 0x4192d0
call fcn.004194a0
test eax, eax
jne 0x416da8
mov dword [0x499360], 0x419380
ret
Function at 0x41d320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x10]
xor eax, eax
and ebp, 7
cmp ecx, 5
jae 0x41d339
pop ebp
pop ecx
ret
mov edx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x1c]
add esi, 5
lea edx, [edx + ecx - 4]
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x10], edx
jmp 0x41d360
mov ecx, dword [esp + 0x18]
lea edi, [eax + ecx]
cmp edi, edx
jae 0x41d37f
jmp 0x41d370
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x41d37f
add edi, 1
cmp edi, edx
jb 0x41d370
mov eax, edi
sub eax, ecx
mov ecx, eax
sub ecx, dword [esp + 0x1c]
cmp edi, edx
jae 0x41d495
cmp ecx, 3
jbe 0x41d3b5
xor ebp, ebp
mov cl, byte [edi + 4]
test cl, cl
mov dword [esp + 0x1c], eax
je 0x41d3f3
cmp cl, 0xff
je 0x41d3f3
and ebp, 3
add ebp, ebp
or ebp, 1
add eax, 1
jmp 0x41d360
add ecx, 0xffffffff
shl ebp, cl
and ebp, 7
je 0x41d398
movzx ecx, byte [ebp + 0x47a924]
mov ebx, edi
sub ebx, ecx
cmp byte [ebp + 0x47a91c], 0
mov cl, byte [ebx + 4]
je 0x41d3df
test cl, cl
je 0x41d3df
cmp cl, 0xff
jne 0x41d398
and ebp, 3
add ebp, ebp
mov dword [esp + 0x1c], eax
or ebp, 1
add eax, 1
jmp 0x41d360
xor edx, edx
mov dh, cl
movzx ecx, byte [edi + 2]
mov dl, byte [edi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
lea esp, [esp]
cmp dword [esp + 0x28], 0
je 0x41d41e
lea ebx, [edx + eax]
add ebx, esi
jmp 0x41d424
sub edx, eax
sub edx, esi
mov ebx, edx
test ebp, ebp
je 0x41d466
movzx esi, byte [ebp + 0x47a924]
add esi, esi
add esi, esi
add esi, esi
mov ecx, 0x18
sub ecx, esi
mov edx, ebx
shr edx, cl
test dl, dl
je 0x41d449
cmp dl, 0xff
jne 0x41d462
mov ecx, 0x20
sub ecx, esi
mov esi, dword [esp + 0x20]
mov edx, 1
shl edx, cl
sub edx, 1
xor edx, ebx
jmp 0x41d410
mov esi, dword [esp + 0x20]
mov edx, ebx
shr edx, 0x18
and dl, 1
sub dl, 1
not dl
mov byte [edi + 4], dl
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x10]
mov byte [edi + 3], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x41d360
cmp ecx, 3
pop edi
pop esi
pop ebx
jbe 0x41d4a8
mov ecx, dword [esp + 0x18]
xor ebp, ebp
mov dword [ecx], ebp
pop ebp
pop ecx
ret
add ecx, 0xffffffff
shl ebp, cl
mov ecx, dword [esp + 0x18]
and ebp, 7
mov dword [ecx], ebp
pop ebp
pop ecx
ret

Function at 0x423831
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x423874
call fcn.004291c1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x423874
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42388f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004233eb
test ebx, ebx
mov esi, eax
je 0x42388d
test edi, edi
je 0x42388d
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x425fca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x425fea
cmp dword [edi + 0x54], 0
jne 0x425fea
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004291c1
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00425f91
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x427d85
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x427dcb
call fcn.004291c1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x427dcb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x427e0e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x427df7
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x427df7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x427e0b
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42a6d4
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x42a6fd
call fcn.004291c1
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x42a720
push eax
push dword [esi + 4]
call fcn.0042a65f
push esi
push eax
mov ecx, 0x49af90
call fcn.0042a332
mov eax, esi
pop esi
pop ebp
ret 0x18