joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d1d0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x48d158
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae830]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x18], 8
jb 0x41d204
mov eax, dword [edi + 4]
jmp 0x41d207
lea eax, [edi + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call esi
cmp eax, 0xffffffff
je 0x41d25e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.0041d380
mov ebp, eax
test edx, edx
jl 0x41d277
jg 0x41d245
cmp ebp, 0x40000000
jbe 0x41d277
mov eax, 3
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, edi
call fcn.00417120
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x41d25e
lea ebx, [ebp + 1]
push 0x4b40cd
push ebx
mov dword [esp + 0x1c], 0
call fcn.004890fe
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d2d9
lea esi, [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push ebx
push 0
push esi
call fcn.0046fba0
add esp, 0xc
xor ebx, ebx
push ebx
lea eax, [esp + 0x18]
push eax
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x41d30c
push esi
call fcn.0045352f
add esp, 4
lea esi, [ebx + 5]
jmp 0x41d2bc
push eax
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
call fcn.00402f80
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x48], ebx
call fcn.00402760
cmp dword [esp + 0x30], 0x10
jb 0x41d351
mov edx, dword [esp + 0x1c]
push edx
call fcn.0045352f
add esp, 4
push esi
call fcn.0045352f
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 2
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x41d380
Capabilities:
Get file size

Disassembly:
push ecx
cmp dword [eax + 0x18], 8
push ebx
push ebp
push esi
push edi
jb 0x41d390
mov eax, dword [eax + 4]
jmp 0x41d393
add eax, 4
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41d3bd
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x41d3da
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41d3b3
mov ecx, dword [esp + 0x10]
push 1
push 0
push 0
push ecx
call fcn.00470a30
mov edi, edx
mov esi, eax
xor edx, edx
add esi, ebp
push ebx
adc edi, edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, edi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x41d410
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x48e3b6
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x4ae830]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae830]
xor eax, esp
push eax
lea eax, [esp + 0x468]
mov dword fs:[0], eax
mov esi, edx
mov ebp, 8
mov ebx, ecx
mov dword [esp + 0x18], ebx
lea edi, [esi + 4]
cmp dword [esi + 0x18], ebp
jb 0x41d464
mov eax, dword [edi]
jmp 0x41d466
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41d483
push 0xffffffffffffffff
push eax
push esi
mov ecx, ebx
call fcn.00417270
mov al, 1
jmp 0x41d61a
push 0x206
xor ebx, ebx
lea ecx, [esp + 0x5a]
xor eax, eax
push ebx
push ecx
mov byte [esp + 0x23], 1
mov word [esp + 0x60], ax
call fcn.0046fba0
add esp, 0xc
cmp dword [esi + 0x18], ebp
jb 0x41d4ab
mov edi, dword [edi]
push edi
lea edx, [esp + 0x58]
push 0x104
push edx
call fcn.00470266
add esp, 0xc
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov ebp, eax
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41d4d0
mov ecx, dword [esi + 0x14]
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
push ebx
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call fcn.0041ddf0
push 0xffffffffffffffff
mov dword [esp + 0x474], ebx
push ebx
xor edx, edx
push esi
lea ecx, [esp + 0x28]
mov edi, 1
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
call fcn.00417270
mov byte [esp + 0x470], 1
jmp 0x41d530
mov eax, dword [esp + 0x3c]
mov esi, 8
cmp dword [esp + 0x50], esi
jae 0x41d543
lea eax, [esp + 0x3c]
push ebp
push edi
push eax
push str._s__d_s
push 0x103
lea eax, [esp + 0x270]
push 0x104
push eax
call fcn.00471b93
lea eax, [esp + 0x278]
add esp, 0x1c
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41d570
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x260]
push ecx
lea ecx, [esp + 0x24]
call fcn.00417aa0
inc edi
cmp edi, 0x400
jg 0x41d5b9
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x41d5a8
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41d530
jmp 0x41d5cc
push ebx
push 0x49adfc
lea ecx, [esp + 0x24]
call fcn.00417aa0
mov byte [esp + 0x17], bl
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
push edx
call fcn.00417270
cmp dword [esp + 0x34], esi
jb 0x41d5f0
mov eax, dword [esp + 0x20]
push eax
call fcn.0045352f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
cmp dword [esp + 0x50], esi
jb 0x41d616
mov edx, dword [esp + 0x3c]
push edx
call fcn.0045352f
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x450]
xor ecx, esp
call fcn.0046fd33
add esp, 0x460
ret
Function at 0x41d960
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x48ed63
mov eax, dword fs:[0]
push eax
sub esp, 0x57c
mov eax, dword [0x4ae830]
xor eax, esp
mov dword [esp + 0x574], eax
push ebx
push ebp
push esi
mov eax, dword [0x4ae830]
xor eax, esp
push eax
lea eax, [esp + 0x58c]
mov dword fs:[0], eax
xor ebp, ebp
push 0x206
mov dword [esp + 0x598], ebp
lea ecx, [esp + 0x17a]
xor eax, eax
push ebp
mov dword [esp + 0x18], ebp
push ecx
mov dword [esp + 0x28], edi
mov word [esp + 0x180], ax
call fcn.0046fba0
add esp, 0xc
push 1
push 0x2e
lea edx, [esp + 0x17c]
push edx
push ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov word [esp + 0x40], ax
lea eax, [esp + 0x174]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebp
lea edx, [eax + 2]
jmp 0x41da00
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x41da00
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x178]
push ecx
lea ecx, [esp + 0x44]
call fcn.00417aa0
push 0x22
push str.BaiduCommonI18NIPCSUpdateCache
lea ecx, [esp + 0x44]
mov dword [esp + 0x59c], 1
call fcn.0041c970
lea ecx, [esp + 0x58]
call fcn.0041d770
lea edx, [esp + 0x58]
push edx
mov bl, 2
mov edx, 0x49ca24
lea esi, [esp + 0x24]
mov byte [esp + 0x598], bl
call fcn.0041a060
add esp, 4
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x5a0], 3
call fcn.00417990
mov esi, 8
mov byte [esp + 0x594], bl
cmp dword [esp + 0x38], esi
jb 0x41da98
mov eax, dword [esp + 0x24]
push eax
call fcn.0045352f
add esp, 4
lea ebx, [esp + 0x3c]
call fcn.0041cf80
lea ecx, [esp + 0x14]
push ecx
call fcn.00471e05
push 0x206
lea eax, [esp + 0x386]
xor edx, edx
push ebp
push eax
mov word [esp + 0x38c], dx
call fcn.0046fba0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp + 0x37c]
push ecx
mov ebx, eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x59c]
push edx
push eax
push ecx
push ebx
push str._d_d_0x
lea edx, [esp + 0x88]
push 0x80
push edx
call fcn.00471b75
lea eax, [esp + 0x90]
add esp, 0x1c
lea edx, [eax + 2]
jmp 0x41db20
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x41db20
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x44]
call fcn.0041c970
mov ebx, 7
xor ecx, ecx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], ebp
mov word [edi + 4], cx
lea edx, [esp + 0x3c]
mov ecx, edi
mov dword [esp + 0x10], 1
call fcn.0041d410
cmp dword [esp + 0x70], esi
jb 0x41db75
mov edx, dword [esp + 0x5c]
push edx
call fcn.0045352f
add esp, 4
xor eax, eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebp
mov word [esp + 0x5c], ax
cmp dword [esp + 0x54], esi
jb 0x41db97
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0045352f
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x58c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x574]
xor ecx, esp
call fcn.0046fd33
add esp, 0x588
ret
Function at 0x41dbc0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x48e332
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4ae830]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
mov eax, dword [0x4ae830]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
xor edi, edi
push 0x206
mov dword [esp + 0x228], edi
lea ecx, [esp + 0x16]
xor eax, eax
push edi
mov dword [esp + 0x10], edi
push ecx
mov dword [esp + 0x18], esi
mov word [esp + 0x1c], ax
call fcn.0046fba0
add esp, 0xc
push 1
push 0x2e
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov word [esi + 4], ax
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41dc50
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00417aa0
push 0x22
mov dword [esp + 0x228], edi
push str.BaiduCommonI18NIPCSUpdateCache
mov ecx, esi
mov dword [esp + 0x10], 1
call fcn.0041c970
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0046fd33
add esp, 0x220
ret

Function at 0x41dcb0
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x48e2e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ae830]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebp
push esi
mov eax, dword [0x4ae830]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
push 0x12
mov esi, ecx
xor eax, eax
push str.GlobalMutex_Name_
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.00417aa0
mov ebp, 8
mov dword [esp + 0x34], 0
cmp dword [esi + 0x18], ebp
jb 0x41dd20
mov esi, dword [esi + 4]
jmp 0x41dd23
add esi, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ecx, eax
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41dd30
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.0041c970
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], ebp
jae 0x41dd58
lea eax, [esp + 0x10]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x41dd90
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41dd90
cmp dword [esp + 0x24], ebp
jb 0x41dd89
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0045352f
add esp, 4
mov eax, 1
jmp 0x41dda5
cmp dword [esp + 0x24], ebp
jb 0x41dda3
mov edx, dword [esp + 0x10]
push edx
call fcn.0045352f
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0046fd33
add esp, 0x2c
ret
Function at 0x427c40
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x48c7ab
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ae830]
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.00489b94
push 4
mov dword [esp + 0x20], 0
call fcn.00453500
mov edi, eax
add esp, 4
test edi, edi
je 0x427cbe
call fcn.00489a05
mov dword [edi], eax
call fcn.00489833
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00489b55
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x427cb3
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00489b7d
jmp 0x427cc0
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 0x429700
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x4ae830]
xor eax, esp
mov dword [esp + 0x10], eax
mov al, 0xa
mov byte [esp + 4], al
mov byte [esp + 0xa], al
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, edx
and eax, 0xfffffff0
push esi
mov byte [esp + 8], 0x54
mov byte [esp + 9], 0x5a
mov byte [esp + 0xa], 0x8f
mov byte [esp + 0xb], 0x6a
mov byte [esp + 0xd], 0x7c
mov byte [esp + 0xe], 0x4e
mov byte [esp + 0xf], 0x72
mov byte [esp + 0x10], 0xa8
mov byte [esp + 0x11], 0x1b
mov byte [esp + 0x13], 0xed
mov byte [esp + 0x14], 0x20
mov byte [esp + 0x15], 0x43
mov byte [esp + 0x16], 0x76
mov byte [esp + 0x17], 0xc5
mov esi, 0
jbe 0x4297c5
push ebx
push edi
lea edi, [eax - 1]
shr edi, 4
inc edi
mov esi, edi
lea ecx, [ebp + 1]
shl esi, 4
xor eax, eax
jmp 0x429790
movzx ebx, byte [esp + eax + 0x10]
xor byte [ecx + eax - 1], bl
movzx ebx, byte [esp + eax + 0x11]
xor byte [ecx + eax], bl
movzx ebx, byte [esp + eax + 0x12]
xor byte [ecx + eax + 1], bl
movzx ebx, byte [esp + eax + 0x13]
xor byte [ecx + eax + 2], bl
add eax, 4
cmp eax, 0x10
jb 0x429790
add ecx, 0x10
sub edi, 1
jne 0x429781
pop edi
pop ebx
cmp esi, edx
jae 0x4297db
lea eax, [esp + 8]
lea ecx, [ecx]
mov cl, byte [eax]
xor byte [esi + ebp], cl
inc esi
inc eax
cmp esi, edx
jb 0x4297d0
mov ecx, dword [esp + 0x18]
pop esi
pop ebp
xor ecx, esp
call fcn.0046fd33
add esp, 0x14
ret
Function at 0x42f240
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48f538
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x4ae830]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 0x30]
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x20], 0
cmp dword [0x4b431c], 0
je 0x42f2a4
push 0x49d900
push 0x49c8c8
call fcn.0041c830
push eax
call fcn.0041c300
add esp, 0xc
cmp dword [ebx + 0x28], 0
jne 0x42f2ea
call fcn.0042f3e0
test eax, eax
jne 0x42f2e3
cmp dword [ebx + 0x24], 8
jb 0x42f2be
mov eax, dword [ebx + 0x10]
jmp 0x42f2c1
lea eax, [ebx + 0x10]
push 0
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x42f308
call fcn.0042f3e0
test eax, eax
je 0x42f33c
mov dword [ebx + 0x28], 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x4b431c], 0
je 0x42f33c
cmp dword [ebx + 0x24], 8
jb 0x42f31c
mov ebx, dword [ebx + 0x10]
jmp 0x42f31f
add ebx, 0x10
push ebx
push 0x49d900
push str._s__error_start__s
push ecx
call fcn.0041c830
add esp, 4
push eax
call fcn.0041c300
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42f480
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42f499
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42f4d4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x42f4d0
lea ebx, [ebx]
cmp esi, eax
jae 0x42f4d4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x42f4c0
cmp esi, eax
jb 0x42f4da
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x42f820
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x48e074
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4ae830]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae830]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd4]
lea edi, [esp + 0x1c]
call fcn.00438c60
xor ebx, ebx
mov dword [esp + 0xcc], ebx
cmp dword [esp + 0x30], ebx
je 0x42f9c5
push 7
push 0x49da78
mov eax, edi
call fcn.0041a3c0
push 0x40
lea eax, [esp + 0x6c]
push ebx
push eax
mov dword [esp + 0x60], vtable.CMD5Checksum.0
call fcn.0046fba0
add esp, 0xc
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xb0], 0x67452301
mov dword [esp + 0xb4], 0xefcdab89
mov dword [esp + 0xb8], 0x98badcfe
mov dword [esp + 0xbc], 0x10325476
mov byte [esp + 0xcc], 1
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x42f8f5
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x30]
push ecx
lea esi, [esp + 0x1c]
lea edi, [esp + 0x58]
call fcn.004391b0
mov byte [esp + 0xcc], 2
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call fcn.0042fc00
mov byte [esp + 0xcc], 3
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x42f940
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.00402f80
mov byte [esp + 0xcc], 5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f97c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xcc], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f9a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
push ecx
lea ebx, [ebp + 4]
call fcn.00420880
cmp dword [esp + 0x50], 0x10
jb 0x42f9c5
mov edx, dword [esp + 0x3c]
push edx
call fcn.0045352f
add esp, 4
cmp dword [esp + 0x34], 0x10
jb 0x42f9d9
mov eax, dword [esp + 0x20]
push eax
call fcn.0045352f
add esp, 4
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.0046fd33
add esp, 0xbc
ret 4
Function at 0x42fa10
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x48e074
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4ae830]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae830]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd4]
lea esi, [esp + 0x1c]
call fcn.00438f60
xor ebx, ebx
mov dword [esp + 0xcc], ebx
cmp dword [esp + 0x30], ebx
je 0x42fbb5
push 7
push 0x49da78
mov eax, esi
call fcn.0041a3c0
push 0x40
lea eax, [esp + 0x6c]
push ebx
push eax
mov dword [esp + 0x60], vtable.CMD5Checksum.0
call fcn.0046fba0
add esp, 0xc
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xb0], 0x67452301
mov dword [esp + 0xb4], 0xefcdab89
mov dword [esp + 0xb8], 0x98badcfe
mov dword [esp + 0xbc], 0x10325476
mov byte [esp + 0xcc], 1
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x42fae5
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x30]
push ecx
lea esi, [esp + 0x1c]
lea edi, [esp + 0x58]
call fcn.004391b0
mov byte [esp + 0xcc], 2
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call fcn.0042fc00
mov byte [esp + 0xcc], 3
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x42fb30
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.00402f80
mov byte [esp + 0xcc], 5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fb6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xcc], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fb94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
push ecx
lea ebx, [ebp + 4]
call fcn.00420880
cmp dword [esp + 0x50], 0x10
jb 0x42fbb5
mov edx, dword [esp + 0x3c]
push edx
call fcn.0045352f
add esp, 4
cmp dword [esp + 0x34], 0x10
jb 0x42fbc9
mov eax, dword [esp + 0x20]
push eax
call fcn.0045352f
add esp, 4
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.0046fd33
add esp, 0xbc
ret 4
Function at 0x430e10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x48cc98
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae830]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
lea esi, [edi + edi + 2]
cmp esi, ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], edi
jge 0x430efa
lea esp, [esp]
lea eax, [esi*8]
sub eax, esi
cmp dword [ebp + eax*4 - 4], 0x10
mov ecx, dword [ebp + eax*4 - 8]
lea eax, [ebp + eax*4]
mov dword [esp + 0x14], ecx
jb 0x430e81
mov edx, dword [eax - 0x18]
jmp 0x430e84
lea edx, [eax - 0x18]
mov ebx, dword [eax + 0x14]
cmp ebx, ecx
jae 0x430e8d
mov ecx, ebx
cmp dword [eax + 0x18], 0x10
jb 0x430e98
mov eax, dword [eax + 4]
jmp 0x430e9b
add eax, 4
push ecx
push edx
push eax
call fcn.0042f070
add esp, 0xc
test eax, eax
jne 0x430ebd
mov eax, dword [esp + 0x14]
cmp ebx, eax
jb 0x430ebf
xor ecx, ecx
cmp ebx, eax
setne cl
mov eax, ecx
test eax, eax
jge 0x430ec0
dec esi
push 0xffffffffffffffff
lea edx, [esi*8]
sub edx, esi
lea ecx, [edi*8]
push 0
lea eax, [ebp + edx*4]
sub ecx, edi
push eax
lea ecx, [ebp + ecx*4]
call fcn.00402760
mov edi, esi
lea esi, [esi + esi + 2]
cmp esi, dword [esp + 0x30]
jl 0x430e60
mov ebx, dword [esp + 0x30]
cmp esi, ebx
jne 0x430f23
push 0xffffffffffffffff
lea edx, [ebx*8]
sub edx, ebx
lea ecx, [edi*8]
push 0
lea eax, [ebp + edx*4 - 0x1c]
sub ecx, edi
push eax
lea ecx, [ebp + ecx*4]
call fcn.00402760
lea edi, [ebx - 1]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x58]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.00402760
mov eax, dword [esp + 0x34]
push eax
push ebp
mov ecx, edi
call fcn.00430f90
add esp, 0x24
cmp dword [esp + 0x4c], 0x10
jb 0x430f70
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0045352f
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret