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

Disassembly:
cli
dec esp
salc
mov edi, 0x59068740
xor dword [ebp - 0xb21d903], ecx
fdivrp st(4)
add eax, 0xc085c534
jle 0x81d405
aad 0xff
call dword [0x5f3b847c]
cmp eax, esi
xor dl, cl
jbe 0x81d3f1
push 0xffffffffffffff89
xor eax, 0x1118c744
out dx, al
fadd qword [0xf40be4]
push dword [0xbb086f3b]
out 0xfa, eax
push 0x7200ea60
test al, 0x94
jb 0x81d45c
dec ecx
inc ecx
mov cs, word [edx + esi*2]
sub al, 1
ficomp dword [ebx + 0x6d]
test al, 0xf7
push esp
xor ecx, ebp
call fcn.007a28b5
xor eax, eax
add esp, 0x460ef
js 0x81d42d
add byte [eax + 0x56bcf4bc], 0x5d
pop esp
sar byte [esi + esi*2], 1
inc esp
mov esp, 0xe9f8682e
sti
add al, 0xc3
invalid
sbb al, 0x37
lahf
sub esp, 0x4d2b6e28
aas
inc ecx
popfd
clc
lea ebx, [eax - 0x43fd3398]
jmp [ecx]
Function at 0x9b43b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x65f00d
lea edi, [esi - 0x25e00d]
push edi
or ebp, 0xffffffff
jmp 0x9b43d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9b43d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9b43c8
mov eax, 1
add ebx, ebx
jne 0x9b43eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9b43e0
jne 0x9b43fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9b43e0
xor ecx, ecx
sub eax, 3
jb 0x9b4410
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9b4482
mov ebp, eax
add ebx, ebx
jne 0x9b441b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x9b4428
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x9b444c
inc ecx
add ebx, ebx
jne 0x9b4438
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9b442d
jne 0x9b4449
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9b442d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9b446c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9b445d
jmp 0x9b43ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9b446c
add edi, ecx
jmp 0x9b43ce
pop esi
mov edi, esi
mov ecx, 0x184b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9b448a
cmp byte [edi], 0x11
jne 0x9b448a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x9b448f
lea edi, [esi + 0x5b0000]
mov eax, dword [edi]
or eax, eax
je 0x9b44fe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5b6f9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5b6ff4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9b44bc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5b6ffc]
or eax, eax
je 0x9b44f8
mov dword [ebx], eax
add ebx, 4
jmp 0x9b44d9
call dword [esi + 0x5b6ff8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x9b452f
cmp al, 0xef
ja 0x9b4522
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x9b4504
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x9b4511
mov ebp, dword [esi + 0x5b7000]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x9b4563
sub esp, 0xffffff80
jmp 0x40f16c
Function at 0x401050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b5893
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6aae20]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, 7
xor edi, edi
xor ecx, ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], edi
mov word [esi + 4], cx
mov dword [esp + 0x14], edi
xor edx, edx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], edi
mov word [esi + 0x20], dx
mov byte [esp + 0x14], 1
push 4
mov dword [esi + 0x5c], edi
call fcn.0044fb21
add esp, 4
cmp eax, edi
je 0x4010b3
mov dword [eax], edi
jmp 0x4010b5
xor eax, eax
push 0xc
mov dword [esi + 0x60], eax
call fcn.0044fb21
add esp, 4
cmp eax, edi
je 0x4010d0
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax], edi
jmp 0x4010d2
xor eax, eax
push edi
mov ecx, esi
mov dword [esi + 0x64], eax
mov dword [esi + 0x58], edi
call fcn.00415130
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4117c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b5893
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6aae20]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, 7
xor edi, edi
xor ecx, ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], edi
mov word [esi + 4], cx
mov dword [esp + 0x14], edi
xor edx, edx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], edi
mov word [esi + 0x20], dx
mov byte [esp + 0x14], 1
push 4
mov dword [esi + 0x5c], edi
call fcn.0044fb21
add esp, 4
cmp eax, edi
je 0x411823
mov dword [eax], edi
jmp 0x411825
xor eax, eax
push 0xc
mov dword [esi + 0x60], eax
call fcn.0044fb21
add esp, 4
cmp eax, edi
je 0x411840
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax], edi
jmp 0x411842
xor eax, eax
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
mov dword [esi + 0x58], edi
call fcn.00415130
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x413860
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
push edi
call fcn.00588e90
mov ecx, dword [esi + 8]
add esp, 0x10
cmp eax, 1
mov eax, ecx
sete bl
cdq
idiv dword [esi + 0x18]
mov byte [esp + 0x12], bl
mov dword [esi + 0x1c], eax
test bl, bl
je 0x4139d9
add dword [esi + 0x14], ecx
cmp dword [esi + 0x54], 8
push 0xffffffffffffffff
push eax
push 0x18
push ecx
mov ecx, esp
jb 0x4138b3
mov eax, dword [esi + 0x40]
jmp 0x4138b6
lea eax, [esi + 0x40]
mov dword [ecx], eax
push ecx
mov eax, esp
mov dword [eax], str.read
lea eax, [esi + 0x20]
push eax
mov dword [esp + 0x2c], eax
call fcn.00411a10
mov ecx, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
add esp, 0x18
xor ebp, ebp
xor eax, eax
cmp ecx, 1
sete byte [esp + 0x13]
test ebx, ebx
je 0x413974
xor edx, edx
dec ebx
cmp byte [esp + 0x13], dl
je 0x4138f8
cmp byte [edi], dl
jmp 0x4138fc
cmp word [edi], 0
sete dl
test edx, edx
je 0x413926
test eax, eax
je 0x41391f
cmp edi, eax
je 0x41391f
imul ecx, ebp
mov edx, edi
sub edx, eax
push edx
push eax
sub eax, ecx
push eax
call fcn.0058fc00
add esp, 0xc
mov ecx, dword [esi + 0x18]
lea eax, [ecx + edi]
inc ebp
add edi, ecx
test ebx, ebx
jne 0x4138eb
test eax, eax
je 0x413949
cmp edi, eax
je 0x413949
mov ecx, dword [esi + 0x18]
imul ecx, ebp
sub edi, eax
push edi
push eax
sub eax, ecx
push eax
call fcn.0058fc00
add esp, 0xc
test ebp, ebp
je 0x413974
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebp
push 1
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
push edx
mov dword [eax], str.nulls_removed
call fcn.00411a10
add esp, 0x18
sub dword [esi + 0x1c], ebp
cmp dword [esi + 0x18], 1
jle 0x4139cb
test byte [esi + 4], 0x80
je 0x4139cb
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x4139a6
jmp 0x413990
mov ecx, dword [esp + 0x1c]
movzx eax, word [ecx + esi*2 - 2]
dec esi
rol ax, 8
mov word [ecx + esi*2], ax
test esi, esi
jne 0x413990
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.endian_swap
mov eax, dword [esp + 0x28]
push eax
call fcn.00411a10
add esp, 0x18
mov al, byte [esp + 0x12]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push esi
call fcn.00413250
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 8
ret 4
Function at 0x413ef0
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
imul ecx, eax
push edi
mov dword [esi + 8], ecx
test ebp, ebp
jne 0x413f0c
mov ebp, edx
mov ecx, dword [esi + 4]
xor edi, edi
test cl, cl
jns 0x413f86
test edx, edx
jne 0x413f45
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044fb5b
mov edi, eax
mov eax, dword [esi + 0x1c]
add eax, eax
push eax
push ebp
push edi
call fcn.0058c7e0
add esp, 0x10
mov edx, edi
mov ebp, edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x413f62
lea esp, [esp]
movzx ecx, word [edx + eax*2 - 2]
dec eax
rol cx, 8
mov word [edx + eax*2], cx
test eax, eax
jne 0x413f50
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esi + 0x20]
push ecx
mov dword [eax], str.endian_swap
call fcn.00411a10
add esp, 0x18
mov edx, dword [esi]
mov eax, dword [esi + 8]
push edx
push 1
push eax
push ebp
call fcn.0058fae0
add esp, 0x10
cmp eax, 1
sete bl
test edi, edi
je 0x413fab
push edi
call fcn.0044fb50
add esp, 4
test bl, bl
je 0x413fee
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
add dword [esi + 0x14], ecx
cmp dword [esi + 0x54], 8
push 0xffffffffffffffff
push edx
push 0x18
push ecx
mov ecx, esp
jb 0x413fcb
mov eax, dword [esi + 0x40]
jmp 0x413fce
lea eax, [esi + 0x40]
push ecx
mov dword [ecx], eax
mov eax, esp
add esi, 0x20
push esi
mov dword [eax], str.write
call fcn.00411a10
add esp, 0x18
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
ret 4
push esi
call fcn.00413250
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
ret 4
Function at 0x415590
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5b5e59
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6aae20]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x18], esi
lea edi, [ebp + 4]
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], esi
mov dword [esp + 0x1c], ebp
mov word [edi], ax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], 1
mov ebx, eax
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4155f0
sub eax, edx
mov esi, dword [ebp + 0x14]
sar eax, 1
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [ecx + eax + 7]
cmp esi, eax
ja 0x415641
cmp dword [ebp + 0x18], eax
je 0x415641
push 1
push eax
mov eax, ebp
call fcn.0040e360
test al, al
je 0x415641
cmp dword [ebp + 0x18], 8
mov dword [ebp + 0x14], esi
jb 0x41563b
mov edi, dword [edi]
xor ecx, ecx
mov word [edi + esi*2], cx
movzx eax, word [ebx]
test ax, ax
je 0x41575b
mov esi, dword [esp + 0x38]
and esi, 0x100
mov dword [esp + 0x14], esi
test esi, esi
je 0x415678
lea edx, [eax - 0x22]
cmp dx, 0x1c
ja 0x415741
movzx ecx, ax
movsx edi, byte [ecx + 0x683dbe]
jmp 0x41568f
lea edx, [eax - 0x26]
cmp dx, 0x18
ja 0x415741
movzx ecx, ax
movsx edi, byte [ecx + 0x683dda]
test edi, edi
je 0x415741
test byte [esp + 0x38], 8
je 0x415717
cmp ax, 0x26
jne 0x415717
movzx eax, word [ebx + 2]
lea esi, [ebx + 2]
lea edx, [eax - 0x23]
cmp dx, 0x57
ja 0x4156c2
movzx ecx, ax
movsx ecx, byte [ecx + 0x683dfd]
test ecx, ecx
jne 0x4156c8
cmp ax, 0x7f
jbe 0x415717
movzx eax, word [esi + 2]
add esi, 2
cmp ax, 0x3b
je 0x4156ff
lea edx, [eax - 0x2d]
cmp dx, 0x4d
ja 0x4156ec
movzx ecx, ax
movsx ecx, byte [ecx + 0x683e53]
test ecx, ecx
jne 0x4156f2
cmp ax, 0x7f
jbe 0x415717
movzx eax, word [esi + 2]
add esi, 2
cmp ax, 0x3b
jne 0x4156d5
mov eax, esi
sub eax, ebx
sar eax, 1
inc eax
push eax
push ebx
mov eax, ebp
call fcn.0040e0c0
mov ebx, esi
mov esi, dword [esp + 0x14]
jmp 0x41574b
mov edx, dword [edi*4 + 0x6aca94]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415723
sub eax, esi
sar eax, 1
push eax
push edx
mov eax, ebp
call fcn.0040e0c0
mov esi, dword [esp + 0x14]
jmp 0x41574b
push 1
push ebx
mov eax, ebp
call fcn.0040e0c0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x41565b
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x418910
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5b5d58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x6aae20]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.0040d090
mov eax, 0x684710
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x418970
sub eax, edx
sar eax, 1
push eax
push 0x684710
lea eax, [esp + 0x14]
call fcn.0040e0c0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.0040d090
cmp dword [esp + 0x24], 8
jb 0x4189bc
mov edx, dword [esp + 0x10]
push edx
call fcn.0044fb50
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x418aa0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
cmp byte [0x6b45ec], 0
je 0x418ab8
cmp byte [esp + 4], 0
jne 0x418ab8
mov eax, 0x11
ret 4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [edi + 8], eax
test eax, eax
jge 0x418acc
xor eax, eax
ret 4
push esi
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jge 0x418af0
cmp eax, 0x80010119
jne 0x418b4d
lea esi, [edi + 4]
push esi
push 0x67eb14
push 1
push 0
push 0x67ebe4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x418b47
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push str.rootCIMV2
push eax
call edx
test eax, eax
jl 0x418b47
mov eax, dword [edi]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x418b4d
xor eax, eax
pop esi
ret 4
mov byte [0x6b45ec], 1
mov eax, 1
pop esi
ret 4
Function at 0x41c540
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5b7a70
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6aae20]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x6aae20]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor esi, esi
push esi
push esi
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
push esi
push 0x6846c8
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ebx, dword [esp + 0x14]
xor eax, eax
lea esi, [esp + 0x1c]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x1c], 0
mov dword [esp + 0x1d], eax
mov word [esp + 0x21], ax
mov byte [esp + 0x23], al
call fcn.0041c430
mov dl, byte [esp + 0x12]
add byte [esp + 0x1c], dl
mov cl, byte [esp + 0x21]
mov al, byte [esp + 0x1e]
add al, byte [esp + 0x13]
add byte [esp + 0x1f], bl
add cl, dl
movzx edx, bh
push edx
movzx edx, bl
push edx
movzx edx, byte [esp + 0x28]
movzx ecx, cl
push ecx
movzx ecx, byte [esp + 0x2b]
push edx
push ecx
movzx ecx, byte [esp + 0x30]
movzx edx, al
movzx eax, byte [esp + 0x31]
push edx
push eax
push ecx
push str._02X_02X_02X_02X_02X_02X_02X_02X
lea edx, [esp + 0x54]
push 0x11
push edx
call fcn.005890ea
add esp, 0x2c
lea eax, [esp + 0x30]
push eax
lea ebx, [esp + 0x14]
call fcn.00410f50
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov esi, dword [eax]
cmp esi, ebx
je 0x41c63e
cmp dword [esi + 4], ebx
jne 0x41c639
mov ecx, dword [esi]
push ecx
call fcn.005ac9a0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x41c640
xor esi, esi
push esi
lea ecx, [esp + 0x20]
call fcn.00424ef0
push eax
push str.MachId
mov ecx, edi
mov byte [esp + 0x58], 1
call fcn.004260c0
mov ecx, eax
call fcn.00425350
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], bl
call fcn.00425250
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x41c6b0
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41c6b0
cmp esi, ebx
je 0x41c6b0
mov eax, dword [esi]
cmp eax, ebx
je 0x41c697
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x41c6a7
push eax
call fcn.0044fb50
add esp, 4
push esi
call fcn.0044fb50
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.005884bd
add esp, 0x48
ret
Function at 0x41c6d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x6aae20]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
xor esi, esi
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push esi
push 0x6846c8
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ebx, dword [esp + 0x10]
xor eax, eax
lea esi, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x18], 0
mov dword [esp + 0x19], eax
mov word [esp + 0x1d], ax
mov byte [esp + 0x1f], al
call fcn.0041c430
mov dl, byte [esp + 0xe]
add byte [esp + 0x18], dl
mov cl, byte [esp + 0x1d]
mov al, byte [esp + 0x1a]
add al, byte [esp + 0xf]
add byte [esp + 0x1b], bl
add cl, dl
movzx edx, bh
push edx
movzx edx, bl
push edx
movzx edx, byte [esp + 0x24]
movzx ecx, cl
push ecx
movzx ecx, byte [esp + 0x27]
push edx
push ecx
movzx ecx, byte [esp + 0x2c]
movzx edx, al
movzx eax, byte [esp + 0x2d]
push edx
push eax
push ecx
push str._02X_02X_02X_02X_02X_02X_02X_02X
lea edx, [esp + 0x44]
push 0x11
push edx
call fcn.005890ea
add esp, 0x2c
mov ecx, edi
call fcn.0040c050
lea eax, [esp + 0x20]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41c793
sub eax, ecx
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0040dd10
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.005884bd
mov esp, ebp
pop ebp
ret
Function at 0x41ced0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5b6a10
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6aae20]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6aae20]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x84]
xor edi, edi
push 0xffffffffffffffff
mov dword [esp + 0x18], ecx
xor edx, edx
mov esi, 7
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
mov word [esp + 0x5c], dx
call fcn.0040d090
mov dword [esp + 0x78], edi
xor eax, eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edi
mov word [esp + 0x38], ax
mov byte [esp + 0x78], 1
xor esi, esi
mov ecx, dword [ebp + 0x14]
mov ebx, 8
cmp dword [ebp + 0x18], ebx
jb 0x41cf62
mov eax, dword [ebp + 4]
jmp 0x41cf65
lea eax, [ebp + 4]
push ecx
push eax
mov edx, esi
lea eax, [esp + 0x58]
call fcn.0041d1b0
lea edx, [esp + 0x50]
mov edi, eax
push edx
mov edx, esi
cmp edi, 0xffffffff
je 0x41cff3
mov ecx, edi
sub ecx, esi
lea esi, [esp + 0x1c]
call fcn.00418320
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 2
call fcn.0040d090
mov byte [esp + 0x78], 1
cmp dword [esp + 0x30], ebx
jb 0x41cfba
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044fb50
add esp, 4
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ecx
call fcn.0040c8d0
cmp dword [ebp + 0x18], 8
mov ecx, dword [ebp + 0x14]
jb 0x41cfd6
mov eax, dword [ebp + 4]
jmp 0x41cfd9
lea eax, [ebp + 4]
push ecx
push eax
mov edx, edi
lea eax, [esp + 0x58]
call fcn.0041d240
mov esi, eax
cmp esi, 0xffffffff
jne 0x41cf50
jmp 0x41d03a
or ecx, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.00418320
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 3
call fcn.0040d090
mov byte [esp + 0x78], 1
cmp dword [esp + 0x30], ebx
jb 0x41d02c
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044fb50
add esp, 4
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ecx
call fcn.0040c8d0
mov esi, 8
cmp dword [esp + 0x4c], esi
jb 0x41d052
mov edx, dword [esp + 0x38]
push edx
call fcn.0044fb50
add esp, 4
xor eax, eax
mov word [esp + 0x38], ax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 7
cmp dword [esp + 0x68], esi
jb 0x41d078
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0044fb50
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.005884bd
add esp, 0x68
ret 8
Function at 0x41e6e0
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 0x41e6f9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41e734
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x41e730
lea ebx, [ebx]
cmp esi, eax
jae 0x41e734
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x41e720
cmp esi, eax
jb 0x41e73a
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 0x4223b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5b579b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6aae20]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.005a8714
push 4
mov dword [esp + 0x24], 0
call fcn.0044fb21
mov edi, eax
add esp, 4
test edi, edi
je 0x422432
call fcn.005a8a5f
mov dword [edi], eax
call fcn.005a888d
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.005a87b1
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x422427
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.005a87d9
jmp 0x422434
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 + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret