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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dbc8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
test esi, esi
je 0x411c3f
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411b80
sub eax, edx
sar eax, 1
test al, 1
jne 0x411c3f
lea eax, [ebp - 0x10]
push eax
push esi
mov dword [ebp - 0x10], 0
call fcn.00410fa0
mov esi, eax
add esp, 8
test esi, esi
je 0x411c3f
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov dword [0x43e560], 0x120
test ecx, ecx
je 0x411bd1
xor byte [eax + esi], 0x2a
inc eax
cmp eax, ecx
jb 0x411bc8
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411bd6
sub eax, edx
sar eax, 1
push esi
lea ecx, [ebp - 0x14]
push ecx
mov ebx, eax
call fcn.00403ba0
push esi
call main
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
add esp, 4
mov eax, esi
call fcn.00403c60
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x411c6a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [ebx - 0x10]
mov eax, esi
call fcn.00403c60
or edx, 0xffffffff
add eax, 0x10
mov dword [ebp - 4], edx
lea ecx, [esi + 0xc]
mov dword [edi], eax
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411c6a
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412740
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x43b050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [0x430280]
push esi
mov esi, ecx
mov ecx, dword [esi]
push edi
push ecx
mov dword [ebp - 0x1c], eax
call ebx
mov edx, dword [esi + 4]
push edx
mov edi, eax
call ebx
mov esi, eax
xor ebx, ebx
mov eax, dword [ebx + str.37k_IF__y_d]
push eax
call dword [0x430280]
mov dword [ebp + ebx - 0x14], eax
add ebx, 4
cmp ebx, 0x10
jl 0x412772
mov eax, 0xe3779b90
mov dword [ebp - 0x18], 0x10
mov ecx, edi
shr ecx, 5
add ecx, dword [ebp - 8]
mov edx, edi
shl edx, 4
add edx, dword [ebp - 0xc]
xor ecx, edx
lea edx, [eax + edi]
xor ecx, edx
sub esi, ecx
mov ecx, esi
shr ecx, 5
add ecx, dword [ebp - 0x10]
mov edx, esi
shl edx, 4
add edx, dword [ebp - 0x14]
xor ecx, edx
lea edx, [eax + esi]
xor ecx, edx
sub edi, ecx
add eax, 0x61c88647
dec dword [ebp - 0x18]
jne 0x412797
push edi
mov edi, dword [0x430284]
call edi
mov ebx, dword [ebp - 0x1c]
push esi
mov dword [ebx], eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx + 4], eax
xor ecx, ebp
pop ebx
call fcn.0041ad7d
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d793
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
or ecx, 0xffffffff
mov dword [edi + 8], ecx
mov dword [edi + 4], ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x20], 0x43e56c
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [ebp - 4], eax
lea ebx, [edi + 0x34]
mov dword [edi], vtable.QBXmlSpace::TiXmlDocument.0
mov dword [ebx], 0x43e56c
mov byte [ebp - 4], 1
mov dword [edi + 0x40], ecx
mov dword [edi + 0x3c], ecx
push 0x435944
xor esi, esi
mov dword [edi + 0x38], 4
mov byte [edi + 0x44], al
mov byte [edi + 0x2c], al
mov dword [edi + 0x30], eax
call fcn.00412cb0
xor eax, eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x416e70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416e75
sub eax, edx
sar eax, 1
mov edx, eax
add edx, edx
xor eax, eax
xor ecx, ecx
test edx, edx
jle 0x416eac
push ebx
push edi
movzx edi, byte [ecx + esi]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x43c300]
inc ecx
cmp ecx, edx
jl 0x416e92
pop edi
pop ebx
not eax
ret

Function at 0x417820
Capabilities:
Check if file exists

Disassembly:
push ecx
push esi
call fcn.004197d0
test eax, eax
jne 0x41782f
xor eax, eax
pop ecx
ret
cmp dword [0x43e578], 0
jne 0x41782b
push esi
call fcn.004199b0
test eax, eax
je 0x41782b
mov eax, dword [esi + 0x4c]
cmp dword [eax - 0xc], 0
je 0x417871
push eax
call dword [0x430208]
test eax, eax
je 0x417871
mov eax, dword [esi + 0x4c]
push eax
call dword [0x43011c]
test eax, eax
jne 0x417871
push 4
push eax
mov eax, dword [esi + 0x4c]
push eax
call dword [0x430070]
cmp dword [0x43e578], 0
jne 0x41782b
mov eax, esi
call fcn.00419c90
cmp dword [0x43e578], 0
jne 0x41782b
push 3
push 0
push 0x3ed
xor ecx, ecx
mov edx, 0x43e520
call fcn.00405bd0
add esp, 0xc
cmp dword [0x43e578], 0
jne 0x41782b
mov eax, 1
mov dword [esi + 0x44], eax
pop ecx
ret
Function at 0x417bb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ea18
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x10]
call fcn.004086b0
push esi
mov dword [ebp - 4], 0
call fcn.004178c0
test eax, eax
je 0x417cc7
cmp dword [0x43e578], 0
jne 0x417cc7
mov ecx, dword [esi + 0x30]
call fcn.00408840
test eax, eax
je 0x417cb0
mov edx, dword [ebp - 0x10]
cmp dword [edx - 0xc], 0
je 0x417c68
mov eax, dword [esi + 0x30]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x417c31
push 0x80004005
call fcn.00401560
push eax
push edx
call fcn.0041bc36
add esp, 8
test eax, eax
je 0x417c68
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x430208]
test eax, eax
je 0x417c68
mov edx, dword [ebp - 0x10]
push edx
call dword [0x43011c]
test eax, eax
jne 0x417c68
push 4
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [0x430070]
push 0x3f1
call fcn.00407370
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417c9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 0x30]
push esi
call dword [0x43011c]
push 0x3f2
call fcn.00407370
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417ced
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418480
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e900
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x18]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x4185c6
mov ecx, dword [esi + 0x1c]
cmp dword [ecx - 0xc], 0
je 0x4185c6
lea edx, [ebp - 0x10]
push edx
call fcn.00408ae0
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x41858e
push eax
call dword [0x430208]
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x41858e
push eax
lea ecx, [ebp - 0x14]
call fcn.00419cc0
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x1c]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41851d
push 0x80004005
call fcn.00401560
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.0041bc36
xor edx, edx
add esp, 8
test eax, eax
setne dl
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov esi, edx
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418556
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41857c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4185b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4197d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e8d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.00419ef0
mov dword [ebp - 4], 0
cmp dword [0x43e578], 0
je 0x41982f
or esi, 0xffffffff
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
jmp 0x419983
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
jne 0x41984e
or esi, 0xffffffff
lea eax, [ecx - 0x10]
mov dword [ebp - 4], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
jmp 0x419983
mov esi, dword [ebx]
mov edi, ecx
test esi, esi
je 0x419950
cmp word [esi], 0
je 0x419950
cmp word [ecx], 0
je 0x419950
push esi
call fcn.00401010
add esp, 4
test eax, eax
jne 0x4198b8
mov dword [ebp - 0x14], vtable.CBindStatusCallback.0
push edi
mov byte [ebp - 4], 1
call dword [0x43011c]
lea ecx, [ebp - 0x14]
push ecx
push 0
push edi
push esi
push 0
call dword [0x43c2c0]
test eax, eax
jne 0x41994d
push edi
call dword [0x430208]
test eax, eax
je 0x41994d
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00419cc0
add esp, 4
push eax
lea eax, [ebx + 4]
call fcn.0041a9f0
mov bl, al
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or esi, 0xffffffff
add esp, 4
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4198f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41995b
mov edi, dword [ebp + 8]
add edi, 0x14
lea eax, [ebp - 0x10]
call fcn.004033b0
push 0x3eb
call fcn.00407370
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x419934
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x10]
or esi, 0xffffffff
mov dword [ebp - 4], esi
lea eax, [ecx - 0x10]
jmp 0x41997b
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x43011c]
push 0x3ec
call fcn.00407370
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add esp, 4
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x419991
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x419c90
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [eax + 0x14]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [0x4301f8]
cmp eax, 0x20
jle 0x419cbd
push 0x7d0
call dword [0x43010c]
mov eax, 1
ret
xor eax, eax
ret
Function at 0x419cc0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42da9b
mov eax, dword fs:[0]
push eax
mov eax, 0x2178
call fcn.00426f80
mov eax, dword [0x43b050]
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 eax, dword [ebp + 8]
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
mov ebx, ecx
push eax
mov dword [ebp - 0x2184], ebx
mov dword [ebp - 0x2180], edi
call dword [0x430114]
mov esi, eax
cmp esi, 0xffffffff
jne 0x419d35
push ebx
mov ecx, 0x432a70
call fcn.00403300
mov eax, ebx
jmp 0x419ed4
xor eax, eax
push 0x5c
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x217c]
push edi
push eax
mov byte [ebp - 0x20], 0
call fcn.0041ce00
mov ebx, dword [0x43008c]
add esp, 0xc
push edi
lea ecx, [ebp - 0x2180]
push ecx
push 0x2000
lea edx, [ebp - 0x2120]
push edx
push esi
mov dword [ebp - 0x217c], 0x67452301
mov dword [ebp - 0x2178], 0xefcdab89
mov dword [ebp - 0x2174], 0x98badcfe
mov dword [ebp - 0x2170], 0x10325476
mov dword [ebp - 0x216c], edi
mov dword [ebp - 0x2168], edi
mov dword [ebp - 0x2124], edi
mov dword [ebp - 0x2180], edi
call ebx
mov eax, dword [ebp - 0x2180]
cmp eax, edi
je 0x419e01
push eax
lea eax, [ebp - 0x217c]
push eax
lea eax, [ebp - 0x2120]
call fcn.00412360
add esp, 8
push edi
lea ecx, [ebp - 0x2180]
push ecx
push 0x2000
lea edx, [ebp - 0x2120]
push edx
push esi
mov dword [ebp - 0x2180], edi
call ebx
mov eax, dword [ebp - 0x2180]
cmp eax, edi
jne 0x419dc4
push esi
call dword [0x430108]
lea eax, [ebp - 0x20]
push eax
lea esi, [ebp - 0x217c]
call fcn.00412600
push 0xfe
lea edx, [ebp - 0x11e]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x120], cx
call fcn.0041ce00
mov edi, dword [0x430210]
add esp, 0x10
lea ebx, [ebp - 0x120]
xor esi, esi
movzx eax, byte [ebp + esi - 0x20]
push eax
push str._.2x
push 3
push ebx
call edi
inc esi
add esp, 0x10
add ebx, 4
cmp esi, 0x10
jb 0x419e43
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
mov edi, dword [ebp - 0x2184]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0
test ecx, 0xffff0000
jne 0x419eab
mov edx, ecx
movzx esi, dx
push esi
call fcn.00404230
add esp, 4
test eax, eax
je 0x419ed2
push eax
mov eax, esi
call fcn.00403d90
jmp 0x419ed2
lea eax, [ebp - 0x120]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419eb4
sub eax, edx
lea ecx, [ebp - 0x120]
sar eax, 1
push ecx
push edi
mov ebx, eax
call fcn.00403ba0
mov eax, edi
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.0041ad7d
mov esp, ebp
pop ebp
ret
Function at 0x7db0a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4b1015
lea edi, [esi - 0xb0015]
push edi
or ebp, 0xffffffff
jmp 0x7db0c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7db0c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7db0b8
mov eax, 1
add ebx, ebx
jne 0x7db0db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7db0ec
jne 0x7db10b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7db10b
dec eax
add ebx, ebx
jne 0x7db0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7db0d0
add ebx, ebx
jne 0x7db107
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7db15d
xor ecx, ecx
sub eax, 3
jb 0x7db123
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7db192
sar eax, 1
mov ebp, eax
jmp 0x7db12e
add ebx, ebx
jne 0x7db12e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7db0fc
inc ecx
add ebx, ebx
jne 0x7db13c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7db0fc
add ebx, ebx
jne 0x7db149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7db13e
jne 0x7db15a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7db13e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7db17c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7db16e
jmp 0x7db0be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7db17c
add edi, ecx
jmp 0x7db0be
pop esi
mov edi, esi
mov ecx, 0x6163
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7db19a
cmp byte [edi], 0x19
jne 0x7db19a
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 0x7db19f
lea edi, [esi + 0x3cb000]
mov eax, dword [edi]
or eax, eax
je 0x7db20e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3db5c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3db704]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7db1cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3db708]
or eax, eax
je 0x7db208
mov dword [ebx], eax
add ebx, 4
jmp 0x7db1e9
call dword [esi + 0x3db710]
mov ebp, dword [esi + 0x3db70c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x7db242
sub esp, 0xffffff80
jmp 0x4012b0
Function at 0x40647b
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x40
push 0x1000
mov ebx, 0x4ac
xor ebp, ebp
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push ebx
mov edi, 0x67b228
mov esi, eax
push edi
call fcn.00404d0d
push ebx
push edi
push esi
call fcn.0040b620
add esp, 0x14
call fcn.00404cf3
push ebp
push ebp
push 0x436028
lea eax, [esi + 0x188]
push eax
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x408732
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x408753
jl 0x40874a
test edi, edi
jne 0x408753
xor eax, eax
xor edx, edx
jmp 0x408814
cmp dword [ebx + 0x38], 0
je 0x408768
push eax
push edi
push dword [ebp + 8]
call fcn.0040881a
jmp 0x408814
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4087af
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x4087af
cmp eax, edi
jb 0x408789
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0040b620
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x4087b5
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x408809
mov ecx, ebx
call fcn.00407f7a
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4087f4
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.004167e2
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x408809
jmp 0x4087c7
test edx, edx
je 0x408809
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.004167e2
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x40b45e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40b49d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40b49d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40b49d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40b49d
cmp dword [ecx + 0x74], 0xe
jbe 0x40b49d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41d74b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f6d8
push 0x42f6d0
push str.FlsAlloc
push 0x1e
call fcn.0041d5b8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d77f
push dword [ebp + 8]
mov ecx, esi
call dword [0x42b148]
call esi
jmp 0x41d785
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41d7c9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f6e8
push 0x42f6e0
push str.FlsGetValue
push 0x20
call fcn.0041d5b8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d800
push dword [ebp + 8]
mov ecx, esi
call dword [0x42b148]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41f9b5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f657

Function at 0x41f9c0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f7e6

Function at 0x41fdba
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040b5d0
mov eax, dword [0x67b700]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041cfc4
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41fdfc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41ff58
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00429c70
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x67d360]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00420f8a
mov ecx, dword [esi*4 + 0x67d360]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41ff51
cmp eax, dword [edi + ecx + 0x24]
jne 0x41ff51
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ff51
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00420f8a
add esp, 0x14
test edx, edx
jl 0x41ff51
jg 0x41fec7
test eax, eax
jb 0x41ff51
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41ff51
jl 0x41fee1
cmp dword [ebp - 0x1008], eax
ja 0x41ff51
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41feff
test ebx, ebx
je 0x41ff38
cmp ecx, edi
jae 0x41ff38
mov al, byte [ecx]
cmp al, 0xd
jne 0x41ff19
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41ff25
cmp byte [ecx + 1], 0xa
jne 0x41ff25
inc ecx
jmp 0x41ff25
movzx eax, al
movsx eax, byte [eax + 0x67b9c8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41feff
cmp edx, ebx
jne 0x41feff
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41ff56
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040a7e8
leave
ret