joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439739
Capabilities:
Link many functions at runtime

Disassembly:
push edi
pop edi
push ebp
push esp
pop ebp
sub esp, 0x24
mov eax, dword [0x4901c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00433767
and dword [ebp - 0x14], 0
cmp dword [0x491f24], 0
mov dword [ebp - 0x18], eax
jne 0x4397ec
push 0x402af0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
pop ebx
or ebx, ebx
je 0x439894
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402ae4
push ebx
call edi
test eax, eax
je 0x439894
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402ad4
push ebx
mov dword [0x491f24], eax
call edi
push eax
call esi
push 0x402ac0
push ebx
mov dword [0x491f28], eax
call edi
push eax
call esi
push 0x402aa4
push ebx
mov dword [0x491f2c], eax
call edi
push eax
call esi
mov dword [0x491f34], eax
or eax, eax
je 0x4397ec
push 0x402a8c
push ebx
call edi
push eax
call esi
mov dword [0x491f30], eax
mov eax, dword [0x491f30]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x439845
cmp dword [0x491f34], ecx
je 0x439845
push eax
call esi
push dword [0x491f34]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x439845
or ebx, ebx
je 0x439845
call edi
test eax, eax
je 0x43983c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x43983c
test byte [ebp - 8], 1
jne 0x439845
or dword [ebp + 0x10], 0x200000
jmp 0x439878
mov eax, dword [0x491f28]
cmp eax, dword [ebp - 0x18]
je 0x439878
push eax
call esi
test eax, eax
je 0x439878
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x439878
mov eax, dword [0x491f2c]
cmp eax, dword [ebp - 0x18]
je 0x439878
push eax
call esi
or eax, eax
je 0x439878
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x491f24]
call esi
test eax, eax
je 0x439894
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x439896
sub eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004308e1
leave
ret
Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

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
mov ebx, 0x408ecc
nop
mov ecx, 0xfd56222
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, str.Kw
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x4b3c17c7
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x499d4748
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
mov eax, section..tls
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x15ed2b97
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x5a33126b
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x555b4326
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x766a6844
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..rdata
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6d3e5c12
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x52db85
Capabilities:
Execute anti-debugging instructions

Disassembly:
push edi
mov byte [esp + 2], ch
mov word [esp], si
lea esp, [esp]
mov dword [esp], esi
jmp 0x52db5c

Function at 0x52df1a
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x52df4b
mov ax, word [esp + 8]
add esp, 0xb
jb 0x52df35
bsf eax, edi
jmp 0x52df5e

Function at 0x52e71b
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esp, 2
mov eax, 0x11dcba4e
jmp 0x52e66a
xchg dword [esp + 3], eax
mov eax, edi
lea esp, [esp + 5]
jmp 0x52e1f6
xchg dword [esp + 3], eax
mov eax, edi
lea esp, [esp + 5]
add esp, 2
mov eax, 0x11dcba4e
lea esp, [esp + 1]
neg cl
call fcn.0052e224
lea edx, reloc.KERNEL32.dll_IsBadReadPtr
not ah
jmp 0x52e69a
mov eax, dword [ecx + ebp]
clc
jmp 0x52e6a4
jp 0x52e6ba
bswap ecx
adc dx, 0x4550
jmp 0x52e6c1
bswap ecx
adc dx, 0x4550
jmp 0x52e6ef
mov ecx, edx
lea edx, [ecx + 9]
mov dx, 0x7147
jmp fcn.0052e741
mov dword [edi], eax
btc cx, bp
jnp 0x52e6c3
mov ecx, edx
jmp 0x52e6ff
lea edx, [ecx + 9]
mov dx, 0x7147
jmp fcn.0052e741
pushfd
shl dl, 7
jno 0x52e658
jo 0x52e218

Function at 0x5324e8
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [esp + 2], ch
push word [esp + 1]
jmp 0x53250d
mov dword [esp + 4], ebp
push esp
mov dword [esp + 4], esi
jmp 0x5324df
jg 0x5324ce
push word [esp + 4]
mov dword [esp], edi
jmp 0x5324f3

Function at 0x53290b
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp + 4], edi
jmp 0x53298c
bsf ax, si
mov edx, edi
lea eax, reloc.KERNEL32.dll_IsBadReadPtr
mov dl, byte [esp]
lea edi, [edi + 1]
call fcn.0053295b
pushal
mov ax, word [esp + 2]
pushal
mov eax, 0x28e1f8d9
mov eax, edx
jmp 0x5329d2
mov al, cl
lea eax, [ebx*4]
mov ah, byte [esp]
neg dl
mov ax, si
jmp 0x5329a3
lea esp, [esp + 0x40]
xor dl, 0x3a
sub esp, 0x1a
jmp 0x532a13
mov al, 0x8e
xchg ah, al
mov dword [esp + 0xb], esp
pop ax
jmp 0x532a1b
mov dword [esp + 0xb], esp
pop ax
jmp 0x532a1b
jno 0x5329e2
mov al, 0x8e
xchg ah, al
jmp 0x5329fd
lea esp, [esp + 0x18]
add dl, 3
bsf eax, edx
jl 0x532a66
jge 0x532a50
mov word [ebx], fs
mov bl, 0xd6
and eax, 0xfa64f29d
popfd
insb byte es:[edi], dx
ficom dword [ecx]
nop
adc ecx, dword [edx - reloc.KERNEL32.dll_IsBadReadPtr]
mov ax, bp
mov ax, 0xbd6d
lea eax, [eax*4]
jmp 0x5329bf
setle ah
bsf eax, ebp
bts ax, cx
jmp 0x532a7b
setle ah
bsf eax, ebp
bts ax, cx
mov ax, 0x1fc
jmp 0x532c89
mov ax, 0x1fc
sub esp, 9
jmp 0x532c8c
call 0x532a9d
dec dl
push bx
mov word [esp], sp
add esp, 1
jle 0x532ac9
jg 0x532ac9
sub esp, 9
mov al, dl
lea esp, [esp + 1]
lea esp, [esp + 8]
jmp 0x532beb
Function at 0x533a6c
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp + 0x1c], eax
call 0x5339d8
mov dh, 0xa0
add esp, 0
jmp 0x533a40
mov dx, 0x1e7f
setbe dl
lea edx, [esp + esi]
jmp 0x533a48
lea esp, [esp + 4]
add al, 3
jmp 0x533a1f
dec al
sub esp, 0x18
jmp 0x533a92
xchg word [esp + 0xc], dx
pop word [esp + 0x11]
dec edx
mov word [esp + 4], si
jmp 0x533ab6
mov dl, bl
mov edx, dword [esp]
bswap edx
sub esp, 0x1e
lea esp, [esp + 2]
jmp 0x533a0f
dec edx
mov word [esp + 4], si
mov edx, 0x265744bf
jmp 0x533abb
jne 0x533a53
xchg word [esp + 0xc], dx
pop word [esp + 0x11]
jmp 0x533a7c
ror al, 0
jle 0x533b17
mov edx, dword [esp]
jmp 0x533af1
mov edx, 0x265744bf
lea esp, [esp + 2]
jmp 0x533aa0
mov dx, word [esp]
jmp 0x533b26
shr edx, cl
lea edx, [esp + eax]
sub esp, 7
jmp 0x533adb
xchg edx, eax
btr edx, edi
inc esi
not edx
neg eax
jns 0x533b74
js 0x533bf4
mov dword [esp + 0x28], eax
jmp 0x53489d
mov edx, dword [esp]
shr edx, cl
lea edx, [esp + eax]
sub esp, 7
mov dx, word [esp]
or edx, ebp
bswap edx
lea esp, [esp + 3]
sub cl, al
jmp 0x533b4c
jne 0x533afb
xchg edx, eax
btr edx, edi
call fcn.00533b32
cmp byte [ebx - 0x7499f414], al
sub esp, 0xb
mov ax, di
sub esp, 0x10
xor dh, 0x5a
lea esp, [esp + 3]
jmp 0x533b34
invalid
invalid
mov ax, 0xe121
rdtsc
mov ax, 0x67d8
lea eax, [ecx + esi]
jmp 0x533bc4
popal
call fcn.005348de
adc eax, 0xa7540d9d
adc eax, 0x1b7cee65
test byte [edi + 0x75], 3
xchg ebx, eax
test byte [0x83f146b5], 0x7c
and al, 4
add byte [edi], cl
test esi, ebx
invalid

Function at 0x539ccc
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0x52001b
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0x520035
push esi
movzx esi, byte [ecx + edx]
rol eax, 7
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jb 0x520024
pop esi
jmp 0x520040
ret 4
jmp 0x52000e
jmp 0x539cb6

Function at 0x551f28
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
jmp 0x55128f
jmp 0x551fba
lea esp, [esp + 0x1c]
mov byte [ecx], dl
jmp 0x551f34
add esp, 1
lea esp, [esp + 3]
shr edx, 0x10
jmp 0x551f12
cmp edi, 2
jb 0x5514d8
sub esp, 0x11
mov dx, ax
jmp 0x551f6f
push dword [esp]
lea esp, [esp + 2]
lea esp, [esp + 0x18]
popal
pushfd
add esp, 1
jmp 0x551f81
lea esp, [esp + 1]
pushal
mov dword [esp + 0x14], eax
sub esp, 0x16
mov byte [esp + 0x11], cl
jmp 0x551f59
lea esp, [esp + 3]
shr edx, 8
lea esp, [esp + 0x10]
mov byte [ecx + 1], dl
jmp 0x5514d8
jne 0x5514c0
pushfd
mov dword [esp], edx
jmp 0x551fe0
push eax
push bx
lea esp, [esp + 2]
lea esp, [esp + 4]
cmp edi, 3
jmp 0x551fa4
lea esp, [esp + 4]
mov byte [ecx + 2], al
jmp 0x5514c0

Function at 0x617080
Capabilities:
Access peb ldr_data

Disassembly:
mov dword [esp + 4], ebx
call fcn.0061706a
Function at 0x100062b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x100062b9
xor ecx, ecx
jne 0x100062b9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x100062da
mov eax, 0xd
jmp 0x10006335
xor eax, eax
jne 0x100062c1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x100062eb
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x10006340
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100664a0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.10005f70
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.100061b0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100063ab
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.10005fa0
mov eax, dword [ebp - 0x224]
jmp 0x1000643c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10006411
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.10006340
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10006408
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.10005fa0
mov eax, dword [ebp - 0x228]
jmp 0x1000643c
mov dword [ebp - 4], 0x100
jmp 0x100063b2
lea ecx, [ebp - 0x14]
call fcn.100060e0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.10006020
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.10005fa0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100350e4
mov esp, ebp
pop ebp
ret 4
Function at 0x1001b834
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x1001b858
cmp dword [edi + 0x54], 0
jne 0x1001b858
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.10016d51
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1001b7f5
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1001bff0
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1004d9c9
call fcn.1003838f
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x1001c015
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1001c05b
lea ecx, [ebp - 0x10]
call fcn.10002a00
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100134c0
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.100029a0
mov eax, esi
call fcn.10038467
ret 8

Function at 0x100218de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x10021925
call fcn.10016d51
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10021925
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x10021941
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.10021456
mov esi, eax
test edi, edi
je 0x1002193f
test ebx, ebx
je 0x1002193f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1002e6f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x1002e73b
call fcn.10016d51
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1002e73b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x1002e77e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x1002e767
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x1002e767
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x1002e77b
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100350e4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100664a0]
jne 0x100350ee
repz ret
jmp fcn.10039cff

Function at 0x100428d1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1003a3e7
and dword [ebp - 4], 0
cmp dword [0x1006b4bc], 0
mov ebx, eax
jne 0x10042982
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10042a33
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10042a33
push eax
call fcn.1003a375
mov dword [esp], 0x1005610c
push edi
mov dword [0x1006b4bc], eax
call esi
push eax
call fcn.1003a375
mov dword [esp], 0x100560f8
push edi
mov dword [0x1006b4c0], eax
call esi
push eax
call fcn.1003a375
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1006b4c4], eax
call esi
push eax
call fcn.1003a375
pop ecx
mov dword [0x1006b4cc], eax
test eax, eax
je 0x10042982
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1003a375
pop ecx
mov dword [0x1006b4c8], eax
mov eax, dword [0x1006b4c8]
cmp eax, ebx
je 0x100429da
cmp dword [0x1006b4cc], ebx
je 0x100429da
push eax
call fcn.1003a3f0
push dword [0x1006b4cc]
mov esi, eax
call fcn.1003a3f0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100429da
test edi, edi
je 0x100429da
call esi
test eax, eax
je 0x100429d1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100429d1
test byte [ebp - 0xc], 1
jne 0x100429da
or dword [ebp + 0x10], 0x200000
jmp 0x10042a13
mov eax, dword [0x1006b4c0]
cmp eax, ebx
je 0x10042a13
push eax
call fcn.1003a3f0
pop ecx
test eax, eax
je 0x10042a13
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10042a13
mov eax, dword [0x1006b4c4]
cmp eax, ebx
je 0x10042a13
push eax
call fcn.1003a3f0
pop ecx
test eax, eax
je 0x10042a13
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1006b4bc]
call fcn.1003a3f0
pop ecx
test eax, eax
je 0x10042a33
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10042a35
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1004809a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x1006b578], 0
push esi
jne 0x1004800d
call fcn.10047f33
test eax, eax
je 0x10048050
mov eax, dword [0x1006b578]
cmp eax, 1
jne 0x1004802e
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x10048050
pop esi
ret
push eax
call dword [0x1006b580]
test eax, eax
jne 0x10048098
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10048054
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x1006b578]
call dword [0x1006b580]
mov edi, eax
test edi, edi
je 0x10048079
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x10048095
mov edi, esi
add esi, 0xff0
push edi
push dword [0x1006b578]
call dword [0x1006b57c]
add edi, 0x10
cmp edi, esi
jb 0x10048081
mov eax, edi
pop edi
pop esi
ret
jmp 0x10047ffa