joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d930
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [esp + 0x44]
movzx eax, word [eax]
mov dword [esp], 0xf0e6755
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov ecx, 0xebe82902
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + ecx + 0x1417d6fe]
xor edi, ecx
lea esi, [edi + 0x647732f5]
mov edx, esi
and edx, 1
mov ebp, 0x9b88cd0a
sub ebp, edi
mov ebx, ebp
not ebx
and ebp, 0x5f
and esi, 0xa0
or esi, ebp
and ebx, 1
or ebx, esi
xor ebx, 0x5e
add ebx, edx
mov byte [esp + ecx + 0x1417d6fe], bl
inc ecx
cmp ecx, 0xebe82909
jne 0x43d960
xor ecx, ecx
cmp dword [esp], eax
setne cl
mov eax, dword [ecx*4 + 0x44a774]
mov ecx, 0x882d1f73
xor ecx, dword [0x44a77c]
add eax, ecx
inc eax
jmp eax
Function at 0x43e9d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [esp + 0x28]
mov ecx, 2
mov edx, 0xffffffff
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
dec ecx
cmp byte [eax + edx + 1], 0
lea edx, [edx + 1]
jne 0x43e9f0
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x2020093
xor edi, edi
mov ecx, 0xa007ee3f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebp, byte [esp + edi + 4]
mov ebx, ecx
and ebx, 0x80022205
mov eax, edi
and eax, 2
or eax, ebx
xor eax, ebp
xor eax, 0xdffa33c5
add eax, 0x2027a73f
mov ebx, eax
xor ebx, 0xfffffffe
mov ebp, eax
or ebp, 1
and ebp, ebx
mov ebx, ebp
and ebx, 2
mov esi, ebp
or ebp, 2
imul ebp, ebx
xor ebx, 2
and esi, 0xfffffffd
imul esi, ebx
add ebp, esi
mov esi, ebp
and esi, eax
xor ebp, eax
xor ebp, 1
lea eax, [esi*2]
add eax, ebp
mov byte [esp + edi + 4], al
inc edi
dec ecx
cmp edi, 4
jne 0x43ea20
test edx, edx
je 0x43eaa5
mov ebx, dword [esp + 4]
mov ebp, ebx
not ebp
test dl, 1
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], ebp
jne 0x43eaae
mov dword [esp], edx
mov edx, ebx
mov ecx, dword [esp + 8]
jmp 0x43eae3
mov eax, dword [esp + 0x2c]
jmp 0x43eb48
mov esi, dword [esp + 0x28]
movsx eax, byte [esi]
xor eax, edi
mov ecx, eax
and ecx, ebp
mov edi, eax
not edi
and edi, ebx
imul edi, ecx
mov ecx, eax
and ecx, ebx
mov edx, ebx
or eax, ebx
imul eax, ecx
mov ecx, dword [esp + 8]
mov ebx, ecx
neg ebx
mov dword [esp], ebx
inc esi
mov dword [esp + 0xc], esi
add eax, edi
mov edi, eax
test ecx, ecx
mov ebp, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp]
je 0x43eb48
xor esi, esi
mov eax, edi
mov dword [esp], ecx
nop
nop
nop
nop
nop
nop
nop
movsx edi, byte [ebp + esi]
xor edi, eax
mov eax, edi
and eax, ebx
mov ecx, edi
not ecx
and ecx, edx
imul ecx, eax
mov eax, edi
and eax, edx
or edi, edx
imul edi, eax
add edi, ecx
movsx eax, byte [ebp + esi + 1]
xor eax, edi
mov ecx, eax
and ecx, ebx
mov edi, eax
not edi
and edi, edx
imul edi, ecx
mov ecx, eax
and ecx, edx
or eax, edx
imul eax, ecx
mov ecx, dword [esp]
add eax, edi
add esi, 2
cmp ecx, esi
jne 0x43eb00
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43f5c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp + 8], 0xf0e0938
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
xor eax, eax
nop
nop
nop
mov ecx, eax
xor ecx, 0x7d
mov edx, eax
or edx, 2
and edx, ecx
mov ecx, eax
xor ecx, 2
lea ecx, [ecx + edx*2]
xor cl, byte [esp + eax + 8]
add cl, 0xf6
mov byte [esp + eax + 8], cl
inc eax
cmp eax, 7
jne case.default.0x43f616
mov eax, dword [esp + 8]
mov eax, dword fs:[eax]
xor ecx, ecx
cmp dword [esp + 0x30], 0
sete cl
jmp dword [ecx*4 + 0x44addc]
mov esi, dword [eax + 0xc]
add esi, 0xc
mov edi, dword [case.0x43f616.6]
mov ebp, dword [0x44ae18]
mov dword [esp], 0
mov ebx, dword [0x44ae28]
mov edx, dword [esi]
xor eax, eax
cmp edx, esi
setne al
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebp
jmp dword [eax*4 + 0x44ade4]
mov dword [esp + 4], edx
mov edx, dword [edx + 0x30]
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp edi
xor eax, eax
test edx, edx
setne al
mov ecx, 1
jmp dword [eax*4 + 0x44adfc]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43faf0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov ebp, dword [esp + 0x38]
movzx eax, word [ebp]
mov dword [esp], 0x8382dbcd
mov word [esp + 4], 0
xor ecx, ecx
nop
mov edx, ecx
add dl, 0x20
xor dl, byte [esp + ecx]
add dl, 0x60
mov byte [esp + ecx], dl
inc ecx
cmp ecx, 6
jne case.default.0x43fb30
mov ecx, dword [esp]
xor edx, edx
cmp ecx, eax
setne dl
xor esi, esi
jmp dword [edx*4 + 0x44af0c]
Function at 0x440370
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov ebp, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x440390
mov edi, eax
sar edi, 1
add edi, 4
and eax, 2
mov ecx, edi
xor ecx, 1
add ecx, eax
jns 0x4403b5
mov ecx, 0xffffffff
jmp 0x4403b7
add ecx, ecx
push ecx
call fcn.0040cc40
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov ecx, eax
add ecx, 8
movzx edx, word [esi]
test dx, dx
je 0x440401
add esi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x4403f0
mov word [ecx], 0
lea ecx, [edi + edi]
mov word [esp + 8], cx
lea ecx, [edi*2 + 2]
mov word [esp + 0xa], cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x282b2a25
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
add dl, 0x47
xor dl, byte [esp + ecx]
add dl, 0x9d
mov byte [esp + ecx], dl
inc ecx
cmp ecx, 4
jne 0x440460
mov esi, dword [esp]
mov ecx, dword [0x44c3b8]
test ecx, ecx
je 0x4404df
xor edx, edx
mov edi, dword [0x44c3bc]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0xbb9b186e
je 0x4404a0
inc edx
cmp ecx, edx
jne 0x440490
jmp 0x4404df
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x4404df
mov esi, esp
lea edx, [esp + 0x10]
push 0
push 0
push ebp
push ebx
push dword [esp + 0x58]
push dword [esp + 0x68]
push 0
push esi
push edx
push dword [esp + 0x68]
push dword [esp + 0x68]
push 0xb
push ecx
push dword [0x44c3c0]
mov edi, eax
call fcn.0043ce20
add esp, 0x38
mov esi, eax
mov eax, edi
push eax
call fcn.0040cc50
add esp, 4
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x440500
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x440520
mov ebx, eax
sar ebx, 1
cmp ebx, 0xfffffffb
jge 0x44053b
mov eax, 0xffffffff
jmp 0x44053e
add eax, 0xa
push eax
call fcn.0040cc40
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov ecx, eax
add ecx, 8
movzx edx, word [esi]
test dx, dx
je 0x440581
add esi, 2
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x440570
mov word [ecx], 0
lea ecx, [ebx*2 + 8]
mov word [esp + 8], cx
lea ecx, [ebx*2 + 0xa]
mov word [esp + 0xa], cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x282b2a25
xor ecx, ecx
nop
nop
nop
nop
nop
mov edx, ecx
add dl, 0x47
xor dl, byte [esp + ecx]
add dl, 0x9d
mov byte [esp + ecx], dl
inc ecx
cmp ecx, 4
jne 0x4405e0
mov esi, dword [esp]
mov ecx, dword [0x44c3b8]
test ecx, ecx
je 0x440651
xor edx, edx
mov ebx, dword [0x44c3bc]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x1affabda
je 0x440620
inc edx
cmp ecx, edx
jne 0x440610
jmp 0x440651
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x440651
mov edx, esp
lea esi, [esp + 0x10]
push edi
push ebp
push edx
push esi
push dword [esp + 0x54]
push dword [esp + 0x54]
push 6
push ecx
push dword [0x44c3c0]
mov edi, eax
call fcn.0043ce20
add esp, 0x24
mov esi, eax
mov eax, edi
push eax
call fcn.0040cc50
add esp, 4
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x440670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x440690
mov ebx, eax
sar ebx, 1
cmp ebx, 0xfffffffb
jge 0x4406ab
mov eax, 0xffffffff
jmp 0x4406ae
add eax, 0xa
push eax
call fcn.0040cc40
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov ecx, eax
add ecx, 8
movzx edx, word [esi]
test dx, dx
je 0x4406f1
add esi, 2
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x4406e0
mov word [ecx], 0
lea ecx, [ebx*2 + 8]
mov word [esp], cx
lea ecx, [ebx*2 + 0xa]
mov word [esp + 2], cx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0x40
mov ecx, esp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x282b2a25
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
add dl, 0x47
xor dl, byte [esp + ecx + 0x20]
add dl, 0x9d
mov byte [esp + ecx + 0x20], dl
inc ecx
cmp ecx, 4
jne 0x440750
mov esi, dword [esp + 0x20]
mov ecx, dword [0x44c3b8]
test ecx, ecx
je 0x4407b9
xor edx, edx
mov ebx, dword [0x44c3bc]
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x50dc24c7
je 0x440790
inc edx
cmp ecx, edx
jne 0x440780
jmp 0x4407b9
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x4407b9
lea edx, [esp + 0x20]
lea esi, [esp + 8]
push edx
push esi
push 2
push ecx
push dword [0x44c3c0]
mov ebx, eax
call fcn.0043ce20
add esp, 0x14
mov esi, eax
mov eax, ebx
push eax
call fcn.0040cc50
add esp, 4
test edi, edi
je 0x4407cc
mov eax, dword [esp + 0x40]
mov dword [edi], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4407e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x282b2a25
xor eax, eax
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x47
xor cl, byte [esp + eax]
add cl, 0x9d
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x440800
mov eax, dword [esp]
mov edx, dword [0x44c3b8]
test edx, edx
je 0x440868
xor ebx, ebx
mov ecx, dword [0x44c3bc]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0x7cde1e50
je 0x440840
inc ebx
cmp edx, ebx
jne 0x440830
jmp 0x440868
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x440868
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 5
push edx
push dword [0x44c3c0]
call fcn.0043ce20
add esp, 0x20
test edi, edi
je 0x440872
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0x44087e
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x440890
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], 0x282b2a25
xor eax, eax
nop
nop
nop
mov ebx, eax
add bl, 0x47
xor bl, byte [esp + eax + 4]
add bl, 0x9d
mov byte [esp + eax + 4], bl
inc eax
cmp eax, 4
jne 0x4408b0
mov eax, dword [esp + 4]
mov ebx, dword [0x44c3b8]
test ebx, ebx
je 0x44091e
xor ebp, ebp
mov edi, dword [0x44c3bc]
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xc81e0bf6
je 0x4408f0
inc ebp
cmp ebx, ebp
jne 0x4408e0
jmp 0x44091e
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
je 0x44091e
lea eax, [esp + 4]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [esp + 0x40]
push 9
push ebx
push dword [0x44c3c0]
call fcn.0043ce20
add esp, 0x30
cmp eax, 0x103
jne 0x440999
mov dword [esp], 0x282b2a25
xor eax, eax
nop
nop
mov ecx, eax
add cl, 0x47
xor cl, byte [esp + eax]
add cl, 0x9d
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x440930
mov eax, dword [esp]
mov ecx, dword [0x44c3b8]
test ecx, ecx
je 0x440991
xor edx, edx
mov edi, dword [0x44c3bc]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x4e66b5a3
je 0x440970
inc edx
cmp ecx, edx
jne 0x440960
jmp 0x440991
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x440991
push 0
push 0
push dword [esp + 0x28]
push 3
push ecx
push dword [0x44c3c0]
call fcn.0043ce20
add esp, 0x18
test eax, eax
js 0x440999
mov eax, dword [esp + 4]
test esi, esi
je 0x4409ac
xor ecx, ecx
cmp eax, 0xc0000011
je 0x4409aa
mov ecx, dword [esp + 8]
mov dword [esi], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4409c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], 0x282b2a25
xor eax, eax
nop
nop
nop
mov ebx, eax
add bl, 0x47
xor bl, byte [esp + eax + 4]
add bl, 0x9d
mov byte [esp + eax + 4], bl
inc eax
cmp eax, 4
jne 0x4409e0
mov eax, dword [esp + 4]
mov ebx, dword [0x44c3b8]
test ebx, ebx
je 0x440a4e
xor ebp, ebp
mov edi, dword [0x44c3bc]
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0x7e66a1b5
je 0x440a20
inc ebp
cmp ebx, ebp
jne 0x440a10
jmp 0x440a4e
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
je 0x440a4e
lea eax, [esp + 4]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [esp + 0x40]
push 9
push ebx
push dword [0x44c3c0]
call fcn.0043ce20
add esp, 0x30
cmp eax, 0x103
jne 0x440ac9
mov dword [esp], 0x282b2a25
xor eax, eax
nop
nop
mov ecx, eax
add cl, 0x47
xor cl, byte [esp + eax]
add cl, 0x9d
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x440a60
mov eax, dword [esp]
mov ecx, dword [0x44c3b8]
test ecx, ecx
je 0x440ac1
xor edx, edx
mov edi, dword [0x44c3bc]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x4e66b5a3
je 0x440aa0
inc edx
cmp ecx, edx
jne 0x440a90
jmp 0x440ac1
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x440ac1
push 0
push 0
push dword [esp + 0x28]
push 3
push ecx
push dword [0x44c3c0]
call fcn.0043ce20
add esp, 0x18
test eax, eax
js 0x440ac9
mov eax, dword [esp + 4]
test esi, esi
je 0x440ad3
mov ecx, dword [esp + 8]
mov dword [esi], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x440ae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov ebx, 0xfffffffe
nop
nop
nop
nop
cmp word [edi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x440b00
sar ebx, 1
mov ebp, ebx
and ebp, 0xfffd
mov ecx, ebx
and ecx, 2
or ebx, 2
imul ebx, ecx
xor ecx, 2
imul ecx, ebp
lea ebp, [ecx + ebx]
mov word [esp + 4], bp
add ecx, ebx
add ecx, 2
mov word [esp + 6], cx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x40
lea eax, [esp + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp], 0x282b2a25
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x47
xor cl, byte [esp + eax]
add cl, 0x9d
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x440b80
mov eax, dword [esp]
mov edi, dword [0x44c3b8]
test edi, edi
je 0x440be5
xor ebx, ebx
mov ebp, dword [0x44c3bc]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x2df48de6
je 0x440bc1
inc ebx
cmp edi, ebx
jne 0x440bb0
jmp 0x440be5
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x440be5
lea eax, [esp + 0xc]
push esi
push eax
push edx
push dword [esp + 0x48]
push 4
push edi
push dword [0x44c3c0]
call fcn.0043ce20
add esp, 0x1c
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40266e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
xor esi, esi
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], esi
je 0x4026dc
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov dword [ebp - 4], eax
mov ebx, esi
mov ecx, dword [eax + 0x1c]
add ecx, edi
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x20]
add ecx, edi
mov dword [ebp - 8], ecx
cmp dword [eax + 0x14], esi
jbe 0x4026db
mov eax, dword [ecx + ebx*4]
add eax, edi
push 0x401510
push eax
call dword [0x406010]
pop ecx
test eax, eax
mov eax, dword [ebp - 4]
pop ecx
je 0x4026c9
mov ecx, dword [ebp - 8]
inc ebx
cmp ebx, dword [eax + 0x14]
jb 0x4026a4
jmp 0x4026db
mov eax, dword [eax + 0x24]
mov esi, dword [ebp - 0xc]
lea eax, [eax + ebx*2]
movzx eax, word [eax + edi]
mov esi, dword [esi + eax*4]
add esi, edi
pop ebx
call fcn.004036d3
sub eax, dword [0x406040]
xor ecx, ecx
cmp eax, 0x7fff
pop edi
cmova esi, ecx
mov eax, esi
pop esi
leave
ret
Function at 0x4033ab
Capabilities:
Accept command line arguments
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x401180
mov dword [ebp - 8], ecx
call edi
push eax
call dword [0x406008]
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4033f6
add esi, 0x2a
push 0x20
push esi
call dword [0x406004]
pop ecx
pop ecx
test eax, eax
jne 0x4033fd
push 0xffffffffffffffff
push 0x4011ac
mov ecx, 0x406044
call fcn.00402558
xor al, al
pop edi
pop esi
pop ebx
leave
ret
sub eax, esi
sar eax, 1
cmp eax, 2
jae 0x403422
push 0xffffffffffffffff
mov esi, 0x406044
push 0x4011c0
mov ecx, esi
call fcn.00402558
push 0xffffffffffffffff
call edi
push eax
mov ecx, esi
jmp 0x4033f1
lea edi, [eax + eax]
lea eax, [edi + 2]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x40344a
push 0xffffffffffffffff
push 0x4011d4
jmp 0x4033ec
push edi
push esi
push ebx
call dword [0x40601c]
add esp, 0xc
xor eax, eax
mov word [edi + ebx], ax
push ebx
xor ebx, ebx
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x403497
push 0xffffffffffffffff
push 0x4011e8
mov esi, 0x406044
mov ecx, esi
call fcn.00402558
push 0xa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.004024da
jmp 0x4033f6
mov esi, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
push ebx
push ebx
push 4
push eax
call esi
mov ebx, eax
test ebx, ebx
jne 0x4034b4
push 0xffffffffffffffff
push 0x4011fc
jmp 0x403476
push 0x20
push ebx
push dword [ebp - 8]
call dword [0x40601c]
add esp, 0xc
call fcn.00403606
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x4033f6
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x20]
add eax, 0x18
mov dword [ebp - 4], ecx
mov edx, eax
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.004035b0
test al, al
je 0x4033f6
lea edx, [ebp - 4]
mov ecx, edi
call fcn.004035b0
test al, al
je 0x4033f6
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ebp - 8]
push 2
push dword [eax]
call esi
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x40352a
push 0xffffffffffffffff
push 0x401210
jmp 0x403476
mov eax, dword [ebx + 0x24]
lea esi, [ebx + 0x28]
add eax, 0xa
lea eax, [ebx + eax*4]
mov dword [ebp - 0xc], eax
cmp esi, eax
je 0x40355b
mov edx, dword [esi]
add edx, ecx
mov ecx, edi
call fcn.004035b0
test al, al
je 0x4033f6
mov ecx, dword [ebp - 8]
add esi, 4
cmp esi, dword [ebp - 0xc]
jne 0x40353d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x403574
push 0xffffffffffffffff
push 0x401224
jmp 0x403476
push dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call edi
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
push ebx
call edi
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x18]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
jmp 0x4033f8
Function at 0xbf1370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xbf138e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xc1a074
push ecx
mov edi, eax
call fcn.00c05198
mov esi, eax
add esp, 8
test esi, esi
jne 0xbf13cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00c0502e
push esi
call fcn.00c04fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xbf4850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xbf48ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xc1f720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xbf48ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00c051e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xbf48ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xc1f720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xbf492a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00c06082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xbf4957
mov word [eax], si
add eax, 2
push eax
call fcn.00c06030
add esp, 4
jmp 0xbf4959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xbf48ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xbf48b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xbf4ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret