joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ea65
Capabilities:
Parse pe header

Disassembly:
push 8
push 0x4368f8
call fcn.00428670
mov esi, ecx
and dword [ebp - 4], 0
lea edi, [esi + 0x80]
push dword [ebp + 0xc]
push 0x40
push 0
push edi
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40eb66
or dword [ebp - 4], 0xffffffff
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x40eb55
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x40eb55
mov dword [ebp - 4], 1
lea edi, [esi + 0xc0]
push dword [ebp + 0xc]
push 0xf8
push eax
push edi
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40eb66
or dword [ebp - 4], 0xffffffff
cmp dword [edi], 0x4550
jne 0x40eb55
mov eax, 0x10b
cmp word [esi + 0xd8], ax
jne 0x40eb55
movzx eax, word [esi + 0xc6]
test ax, ax
je 0x40eb55
mov edi, eax
imul edi, edi, 0x28
movzx ecx, word [esi + 0xd4]
mov ebx, dword [esi + 0xbc]
add ecx, 0x18
add ebx, ecx
push edi
call fcn.0041dca8
pop ecx
mov dword [esi + 0x1b8], eax
test eax, eax
jne 0x40eb2a
push 8
jmp 0x40eb6c
mov dword [ebp - 4], 2
push dword [ebp + 0xc]
push edi
push ebx
push eax
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40eb66
or dword [ebp - 4], 0xffffffff
lea eax, [ebx + edi]
mov dword [esi + 0x18], eax
xor eax, eax
jmp 0x40eb6d
push 0xb
jmp 0x40eb6c
or dword [ebp - 4], 0xffffffff
push 0x1e
pop eax
call fcn.004286ab
ret 8

Function at 0x411854
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov ecx, 0xff077af4
test edi, edi
je 0x41188d
movzx eax, byte [ebx]
cdq
push 0
xor esi, edx
push 0x1000193
xor ecx, eax
push esi
push ecx
inc ebx
call fcn.00428040
xor esi, esi
mov ecx, eax
dec edi
jne 0x41186f
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411896
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x503138]
or eax, dword [0x50313c]
push ebx
push esi
mov ebx, edx
push edi
mov dword [esp + 0xc], ebx
mov edi, ecx
jne 0x4118f6
xor esi, esi
mov eax, esi
push 8
cdq
pop ebx
mov ecx, eax
shrd eax, edx, 1
and ecx, 1
shr edx, 1
or ecx, 0
je 0x4118d8
xor eax, 0xd7870f42
xor edx, 0xc96c5795
dec ebx
jne 0x4118bd
mov dword [esi*8 + 0x502940], eax
mov dword [esi*8 + 0x502944], edx
inc esi
cmp esi, 0x100
jl 0x4118b7
mov ebx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
not ecx
not edx
test edi, edi
je 0x411927
movzx eax, byte [edi]
xor eax, ecx
shrd ecx, edx, 8
and eax, 0xff
shr edx, 8
xor ecx, dword [eax*8 + 0x502940]
xor edx, dword [eax*8 + 0x502944]
inc edi
dec ebx
jne 0x411904
pop edi
not ecx
pop esi
not edx
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416e3d
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42a1a1
push eax
mov dword fs:[0], esp
sub esp, 0x38
cmp dword [0x502914], 0
push esi
je 0x416edc
mov esi, 0x502904
push ecx
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00419065
mov ecx, eax
call fcn.0041928e
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x416e8d
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push dword [eax + ecx*4]
lea ecx, [esp + 0x24]
call fcn.00410b81
and dword [esp + 0x44], 0
mov ecx, esi
call fcn.00418f1a
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x416ebe
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
or dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00402161
cmp dword [0x502914], 0
jne 0x416e6a
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x416eec
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x429166
call fcn.0041e3ec
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0x10
mov edi, edx
jb 0x416f0a
mov eax, dword [esi]
jmp 0x416f0c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x416fba
push ecx
push ecx
mov ecx, esi
call fcn.00418570
cmp eax, 0xffffffff
je 0x416f5f
push eax
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.004108ed
and dword [ebp - 4], 0
mov edx, edi
mov ecx, eax
call fcn.00416eec
mov bl, al
neg bl
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402161
inc bl
je 0x416f5f
xor al, al
jmp 0x416fc6
mov ecx, dword [0x501308]
test ecx, ecx
je 0x416f7c
cmp dword [esi + 0x14], 0x10
jb 0x416f73
mov eax, dword [esi]
jmp 0x416f75
mov eax, esi
push 0
push eax
call ecx
jmp 0x416fa6
cmp dword [0x500c48], 0
je 0x416fa4
push 0x18
pop eax
call fcn.0041e810
push esp
push 0x435018
call fcn.0040dce9
push eax
call dword [0x500c48]
add esp, 0xc
jmp 0x416f5b
xor eax, eax
test eax, eax
je 0x416f5b
push esi
mov ecx, 0x502904
call fcn.00418e97
mov byte [edi], 0
jmp 0x416fc4
test eax, 0x410
je 0x416f5b
mov byte [edi], 1
mov al, 1
lea esp, [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417c24
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x42a185
call fcn.0041e3ec
mov eax, 0x1030
call fcn.0041e810
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x1048], ebx
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push 0x4fbb18
push 0x80000001
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0xf
pop edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov dword [esp + 0x1048], ebx
xor ebp, ebp
inc ebp
mov dword [esp + 0x1c], ebp
test eax, eax
jne 0x417d1a
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push dword [esp + 0x1068]
mov dword [esp + 0x24], 0x1000
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x3c], bl
test eax, eax
jne 0x417d10
mov eax, dword [esp + 0x18]
dec eax
cmp eax, 2
ja 0x417d10
push ecx
lea eax, [esp + 0x40]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004024bb
mov dword [esp + 0x1048], ebp
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.004107e9
mov byte [esp + 0x1048], bl
lea ecx, [esp + 0x20]
call fcn.00402161
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1040]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41a484
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [0x4fb120]
push edi
test edx, edx
je 0x41a4ae
lea eax, [edx - 1]
shr eax, 2
inc eax
imul ecx, ecx, 0x4848c0c0
xor ecx, esi
sub edx, 4
dec eax
jne 0x41a4a0
mov eax, dword [ebp + 8]
shr edx, 2
lea edi, [eax + edx*4]
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x41a4df
dec edx
shr edx, 2
inc edx
imul ecx, ecx, 0x4848c0c0
xor ecx, esi
mov eax, ecx
not eax
xor dword [edi], eax
lea edi, [edi + 4]
dec edx
je 0x41a4df
mov esi, dword [0x4fb120]
jmp 0x41a4c3
pop edi
pop esi
pop ebp
ret
Function at 0x425dc2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4fab10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [fcn.0041ad7e]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041f38e
mov dword [ebp - 0x14], eax
cmp dword [0x500b78], edi
jne 0x425eb3
push 0x800
push edi
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x425e40
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x425f93
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x425f93
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x425f93
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x500b78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x500b7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x500b80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x500b88], eax
test eax, eax
je 0x425eb0
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x500b84], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x425ed8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x425ecb
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x425eed
push 4
pop eax
jmp 0x425f95
cmp dword [ebp - 0x14], edi
je 0x425eed
push dword [0x500b78]
call dword [fcn.0041ad82]
push 3
jmp 0x425ed2
mov eax, dword [0x500b84]
mov ebx, dword [fcn.0041ad82]
cmp eax, esi
je 0x425f4b
cmp dword [0x500b88], esi
je 0x425f4b
push eax
call ebx
push dword [0x500b88]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x425f4b
test eax, eax
je 0x425f4b
call ecx
test eax, eax
je 0x425f40
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x425f40
test byte [ebp - 8], 1
jne 0x425f4b
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x425f7b
mov eax, dword [0x500b7c]
cmp eax, esi
je 0x425f78
push eax
call ebx
test eax, eax
je 0x425f78
call eax
mov edi, eax
test edi, edi
je 0x425f78
mov eax, dword [0x500b80]
cmp eax, esi
je 0x425f78
push eax
call ebx
test eax, eax
je 0x425f78
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x500b78]
call ebx
test eax, eax
je 0x425f93
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x425f95
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f0ef
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x13a067dc
nop
nop
nop
nop
test eax, eax
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x42f314
mov ecx, 0x661a54b0
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x308ac48
Capabilities:
Encode data using xor

Disassembly:
jmp 0x308ac52
pushal
call 0x308ac58
pop ebp
sub ebp, 0x10
sub ebp, 0x2c8ac48
jmp 0x308ac6e
mov eax, 0x2c8ac48
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b3
mov edx, 0x3919f92a
xor byte [eax], dl
inc eax
dec ecx
jne 0x308ac85
jmp 0x308ac98
mov eax, dword [0x16a3a1e7]
sub ch, byte [edx]
sub ch, byte [ebx + 0x2a2ad2eb]
sub ch, byte [ecx]
out 0x92, eax
sub ch, byte cs:[edx]
sub dl, byte [eax + 0x2a2a2a02]
invalid
Function at 0x1005fcf0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1005fedd
pushal
mov esi, section.UPX1
lea edi, [esi - 0x40000]
push edi
jmp 0x1005fd1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1005fd21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1005fd10
mov eax, 1
add ebx, ebx
jne 0x1005fd33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1005fd44
jne 0x1005fd63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1005fd63
dec eax
add ebx, ebx
jne 0x1005fd50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1005fd28
add ebx, ebx
jne 0x1005fd5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1005fdb5
xor ecx, ecx
sub eax, 3
jb 0x1005fd7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1005fdea
sar eax, 1
mov ebp, eax
jmp 0x1005fd86
add ebx, ebx
jne 0x1005fd86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1005fd54
inc ecx
add ebx, ebx
jne 0x1005fd94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1005fd54
add ebx, ebx
jne 0x1005fda1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1005fd96
jne 0x1005fdb2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1005fd96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1005fdd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1005fdc6
jmp 0x1005fd16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1005fdd4
add edi, ecx
jmp 0x1005fd16
pop esi
mov edi, esi
mov ecx, 0x1e1c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1005fdf2
cmp byte [edi], 5
jne 0x1005fdf2
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 0x1005fdf7
lea edi, [esi + 0x57000]
mov eax, dword [edi]
or eax, eax
je 0x1005fe6f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5f000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5f0a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1005fe24
mov ecx, edi
jns 0x1005fe53
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5f0a4]
or eax, eax
je 0x1005fe69
mov dword [ebx], eax
add ebx, 4
jmp 0x1005fe41
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1005fea0
cmp al, 0xef
ja 0x1005fe93
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1005fe75
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1005fe82
mov ebp, dword [esi + 0x5f0a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x1005fed4
sub esp, 0xffffff80
jmp 0x1003f9bf
Function at 0x994cdc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x994d03
call fcn.00937288
mov dword [eax], esi
call fcn.00937275
push 0x16
pop esi
mov dword [eax], esi
call fcn.00937eca
mov eax, esi
jmp 0x994d58
test dword [ebp + 0xc], 0xfffffff9
jne 0x994ce9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x994d30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0093729b
pop ecx
call fcn.00937275
mov eax, dword [eax]
jmp 0x994d58
test al, 0x10
jne 0x994d56
test al, 1
je 0x994d56
test byte [ebp + 0xc], 2
je 0x994d56
call fcn.00937288
mov dword [eax], 5
call fcn.00937275
mov dword [eax], 0xd
jmp 0x994d27
xor eax, eax
pop esi
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0xbcb35d3
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x10eb7669
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401930
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
call fcn.00413475
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x401a28
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x401a28
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40197d
xor esi, esi
jmp 0x4019c2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4019c2
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x4019b2
nop
cmp esi, ecx
jae 0x4019b6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x4019a0
cmp esi, ecx
jb 0x4019ba
xor esi, esi
jmp 0x4019c2
xor eax, eax
cmp word [esi], ax
cmove esi, eax
test esi, esi
je 0x401a28
mov eax, dword [ebx]
mov ecx, 1
movzx edi, word [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4019e4
push edi
mov ecx, ebx
call fcn.00401ab0
movzx ecx, word [esi]
lea eax, [esi + 2]
push ecx
push eax
push edi
push dword [ebx]
call fcn.00437168
add esp, 0x10
cmp eax, 0x50
ja case.default.0x401a03
movzx eax, byte [eax + 0x401a58]
jmp dword [eax*4 + 0x401a48]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x401a38
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004013c0
call fcn.00412ea0
nop
or bl, byte [edx]
inc eax
add byte [ebx], dh
sbb al, byte [eax + 0x55]
push ebp
mov ebp, esp
sub esp, 0x1fbc
push ebx
push esi
push edi
push ecx
and ecx, 0x15eef
add ecx, 0x122a7
or ecx, 0x14763
pop ecx
push edi
jmp 0x401a77
jmp 0x401a80
and edi, 0x4bc5
sub edi, 0xe0fd
pop edi
mov eax, 0x4d
mov word [ebp - 0x1ef4], ax
mov ecx, 0x42
mov word [ebp - 0x1ef2], cx
mov edx, 0x53
invalid
invalid
xchg ebp, eax
adc cl, ah
invalid
Function at 0x40621c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
or ecx, 0xc52c
pop ecx
push esi
call fcn.0040611a
add byte [esi], dh
dec ebp
xor eax, dword [esi + ecx*2 + 0x34]
cmp eax, 0x4c48342
add esp, 4
add esp, 4
pop esi
push ebx
jmp 0x406128
pop ebx
push edx
push esi
add esp, 4
xor edx, 0x5c9f
pop edx
lea edx, [ebp - 0x16cc]
mov dword [ebp - 0xc28], edx
mov eax, dword [ebp - 0x4d8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc24], ecx
xor edx, edx
mov word [ebp - 0x1fc], dx
xor eax, eax
mov word [ebp - 0x104], ax
push edi
push edx
add esp, 4
jmp 0x40616c
xor edi, 0xaea9
jmp 0x40617a
or edi, 0x828f
pop edi
push ebx
xor ebx, 0x5bd6
and ebx, 0x161b9
jmp 0x406193
pop ebx
mov ecx, dword [ebp - 0xc24]
mov dx, word [ecx]
mov word [ebp - 0xf82], dx
mov eax, dword [ebp - 0xc24]
add eax, 2
mov dword [ebp - 0xc24], eax
mov cx, word [ebp - 0xf82]
mov word [ebp - 0x1fc], cx
mov edx, dword [ebp - 0xc28]
mov ax, word [edx]
mov word [ebp - 0xf84], ax
mov ecx, dword [ebp - 0xc28]
add ecx, 2
mov dword [ebp - 0xc28], ecx
mov dx, word [ebp - 0xf84]
mov word [ebp - 0x104], dx
push edx
xor edx, 0xa4a1
jmp 0x4061fd
pop edx
push eax
push eax
add esp, 4
add eax, 0x12c5b
and eax, 0x512
call 0x40621c
add byte [eax + 0x37], al
cmp dword [ecx + 0x45], eax
dec esi
push eax
add esp, 4
pop eax
movzx eax, word [ebp - 0x104]
test eax, eax
jne 0x406243
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
sub ecx, edx
mov dword [ebp - 0x14e4], ecx
jmp 0x4062a6
movzx eax, word [ebp - 0x1fc]
movzx ecx, word [ebp - 0x104]
cmp eax, ecx
je 0x406162
movzx edx, word [ebp - 0x1fc]
xor edx, 0x20
movzx eax, word [ebp - 0x104]
cmp edx, eax
je 0x406162
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
cmp ecx, edx
jge 0x406290
mov dword [ebp - 0x14e0], 0xffffffff
jmp 0x40629a
mov dword [ebp - 0x14e0], 1
mov eax, dword [ebp - 0x14e0]
mov dword [ebp - 0x14e4], eax
cmp dword [ebp - 0x14e4], 0
jne 0x4062ef
push esi
sub esi, 0xf3c7
call 0x4062c6
add byte [ebx], dh
inc ebx
cmp dword [edx + 0x38], eax
dec eax
inc esp
cmp edi, dword [ebx]
dec edi
add esp, 4
call 0x4062d7
add byte [edx], bh
dec ebp
dec eax
inc eax
inc ecx
dec edi
cmp eax, 0x8104c483
out 0x9e, al
and al, byte [eax]
add byte [esi - 0x75], bl
lea ebp, [eax]
sti
invalid
push edx
push ecx
add esp, 4
add edx, 0x103a2
sub edx, 0xa532
add edx, 0x4624
and edx, 0x137f1
pop edx
push edx
or edx, 0xe84d
and edx, 0x1187f
and edx, 0x16808
pop edx
mov edx, dword [ebp - 0x4d8]
mov eax, dword [edx]
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4d8]
cmp ecx, dword [ebp - 0xc2c]
je 0x40634d
mov edx, dword [ebp - 0x4d8]
cmp dword [edx + 0x30], 0
jne 0x406103
mov dword [ebp - 0x6ec], 0
Function at 0x4062d7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
or ecx, 0xc52c
pop ecx
push esi
call fcn.0040611a
add byte [esi], dh
dec ebp
xor eax, dword [esi + ecx*2 + 0x34]
cmp eax, 0x4c48342
add esp, 4
add esp, 4
pop esi
push ebx
jmp 0x406128
pop ebx
push edx
push esi
add esp, 4
xor edx, 0x5c9f
pop edx
lea edx, [ebp - 0x16cc]
mov dword [ebp - 0xc28], edx
mov eax, dword [ebp - 0x4d8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc24], ecx
xor edx, edx
mov word [ebp - 0x1fc], dx
xor eax, eax
mov word [ebp - 0x104], ax
push edi
push edx
add esp, 4
jmp 0x40616c
xor edi, 0xaea9
jmp 0x40617a
or edi, 0x828f
pop edi
push ebx
xor ebx, 0x5bd6
and ebx, 0x161b9
jmp 0x406193
pop ebx
mov ecx, dword [ebp - 0xc24]
mov dx, word [ecx]
mov word [ebp - 0xf82], dx
mov eax, dword [ebp - 0xc24]
add eax, 2
mov dword [ebp - 0xc24], eax
mov cx, word [ebp - 0xf82]
mov word [ebp - 0x1fc], cx
mov edx, dword [ebp - 0xc28]
mov ax, word [edx]
mov word [ebp - 0xf84], ax
mov ecx, dword [ebp - 0xc28]
add ecx, 2
mov dword [ebp - 0xc28], ecx
mov dx, word [ebp - 0xf84]
mov word [ebp - 0x104], dx
push edx
xor edx, 0xa4a1
jmp 0x4061fd
pop edx
push eax
push eax
add esp, 4
add eax, 0x12c5b
and eax, 0x512
call 0x40621c
add byte [eax + 0x37], al
cmp dword [ecx + 0x45], eax
dec esi
push eax
add esp, 4
pop eax
movzx eax, word [ebp - 0x104]
test eax, eax
jne 0x406243
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
sub ecx, edx
mov dword [ebp - 0x14e4], ecx
jmp 0x4062a6
movzx eax, word [ebp - 0x1fc]
movzx ecx, word [ebp - 0x104]
cmp eax, ecx
je 0x406162
movzx edx, word [ebp - 0x1fc]
xor edx, 0x20
movzx eax, word [ebp - 0x104]
cmp edx, eax
je 0x406162
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
cmp ecx, edx
jge 0x406290
mov dword [ebp - 0x14e0], 0xffffffff
jmp 0x40629a
mov dword [ebp - 0x14e0], 1
mov eax, dword [ebp - 0x14e0]
mov dword [ebp - 0x14e4], eax
cmp dword [ebp - 0x14e4], 0
jne 0x4062ef
push esi
sub esi, 0xf3c7
call 0x4062c6
add byte [ebx], dh
inc ebx
cmp dword [edx + 0x38], eax
dec eax
inc esp
cmp edi, dword [ebx]
dec edi
add esp, 4
call 0x4062d7
add byte [edx], bh
dec ebp
dec eax
inc eax
inc ecx
dec edi
cmp eax, 0x8104c483
out 0x9e, al
and al, byte [eax]
add byte [esi - 0x75], bl
lea ebp, [eax]
sti
invalid
push edx
push ecx
add esp, 4
add edx, 0x103a2
sub edx, 0xa532
add edx, 0x4624
and edx, 0x137f1
pop edx
push edx
or edx, 0xe84d
and edx, 0x1187f
and edx, 0x16808
pop edx
mov edx, dword [ebp - 0x4d8]
mov eax, dword [edx]
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4d8]
cmp ecx, dword [ebp - 0xc2c]
je 0x40634d
mov edx, dword [ebp - 0x4d8]
cmp dword [edx + 0x30], 0
jne 0x406103
mov dword [ebp - 0x6ec], 0