joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4045d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 8], ecx
xor esi, esi
mov eax, dword [ebx + 0x3c]
mov edi, dword [eax + ebx + 0x78]
mov eax, dword [edi + ebx + 0x20]
add edi, ebx
add eax, ebx
mov dword [ebp - 0xc], eax
mov edx, dword [edi + 0x24]
mov ecx, dword [edi + 0x1c]
add edx, ebx
add ecx, ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], ecx
cmp dword [edi + 0x18], esi
jbe 0x404642
nop dword [eax + eax]
mov ecx, dword [eax + esi*4]
movzx eax, word [edx + esi*2]
add ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [edx + eax*4]
xor edx, edx
add eax, ebx
mov dword [ebp - 0x14], eax
adc edx, dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
call fcn.00404730
cmp eax, dword [ebp - 8]
je 0x40464d
mov eax, dword [ebp - 0xc]
inc esi
mov edx, dword [ebp - 0x10]
cmp esi, dword [edi + 0x18]
jb 0x404610
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404660
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword fs:[0x18]
push ebx
push esi
push edi
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xc], ecx
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [ebp - 0x10], eax
mov edi, dword [eax]
mov ebx, dword [edi + 0x20]
test ebx, ebx
je 0x4046dc
mov eax, ebx
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404690
sub eax, edx
sar eax, 1
inc eax
mov dword [ebp - 8], eax
add eax, eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov esi, eax
test esi, esi
je 0x4046de
push 0
push 0
push dword [ebp - 4]
push esi
push dword [ebp - 8]
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x4046de
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor esi, esi
push esi
call fcn.0040d68a
add esp, 4
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x5c
push esi
call fcn.00407580
add esp, 8
test eax, eax
je 0x404700
inc eax
jmp 0x404702
mov eax, esi
mov ecx, eax
call fcn.00404730
cmp dword [ebp - 0xc], eax
je 0x404724
mov edi, dword [edi]
cmp edi, dword [ebp - 0x10]
jne 0x404680
pop edi
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x10]
pop edi
pop esi
cdq
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404730
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
push edi
test esi, esi
je 0x404805
push 0x1000
push esi
call fcn.0040bf7f
mov edi, eax
add esp, 8
test edi, edi
je 0x404805
push ebx
mov ebx, edi
xor ecx, ecx
shr edi, 2
and ebx, 3
test edi, edi
je 0x404787
movzx eax, word [esi]
movzx edx, word [esi + 2]
add ecx, eax
mov eax, ecx
add esi, 4
shl eax, 5
xor edx, eax
shl edx, 0xb
xor ecx, edx
mov eax, ecx
shr eax, 0xb
add ecx, eax
sub edi, 1
jne 0x404763
sub ebx, 1
je 0x4047c3
sub ebx, 1
je 0x4047b0
sub ebx, 1
jne 0x4047d5
movzx eax, word [esi]
add ecx, eax
movzx eax, byte [esi + 2]
shl eax, 2
xor eax, ecx
shl eax, 0x10
xor ecx, eax
mov eax, ecx
shr eax, 0xb
jmp 0x4047d3
movzx eax, word [esi]
add ecx, eax
mov eax, ecx
shl eax, 0xb
xor ecx, eax
mov eax, ecx
shr eax, 0x11
jmp 0x4047d3
movzx eax, byte [esi]
add ecx, eax
mov eax, ecx
shl eax, 0xa
xor ecx, eax
mov eax, ecx
shr eax, 1
add ecx, eax
lea eax, [ecx*8]
xor ecx, eax
mov eax, ecx
shr eax, 5
add ecx, eax
mov eax, ecx
shl eax, 4
xor ecx, eax
mov eax, ecx
shr eax, 0x11
add ecx, eax
mov eax, ecx
shl eax, 0x19
xor ecx, eax
pop ebx
mov eax, ecx
shr eax, 6
pop edi
add eax, ecx
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
Function at 0x4064f1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x406530
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x406530
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406530
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x406530
cmp dword [ecx + 0x74], 0xe
jbe 0x406530
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40fee8
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41d820
push 0x41d818
push str.FlsAlloc
push 0x1e
call fcn.0040fda9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40ff1c
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a194]
call esi
jmp 0x40ff22
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40ff66
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41d830
push 0x41d828
push str.FlsGetValue
push 0x20
call fcn.0040fda9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40ff9d
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a194]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41261e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4126bb
push ebx
push esi
call fcn.004125e7
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00412530
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x412668
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4126ba
push edi
push eax
call fcn.004106eb
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x412688
call fcn.0040f9ed
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4126b9
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00412530
add esp, 0x20
test eax, eax
jne 0x4126a7
push edi
call fcn.0040f9ed
jmp 0x4126af
push ebx
call fcn.0040f9ed
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4194d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4194fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4194fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4064cd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + edi + 0x78]
and dword [ebp + 8], 0
add esi, edi
cmp dword [esi + 0x18], 0
jbe 0x406515
mov ebx, dword [esi + 0x20]
add ebx, edi
test ebx, ebx
je 0x406507
mov ecx, dword [ebx]
push dword [ebp + 0xc]
or eax, 0xffffffff
add ecx, edi
or edx, eax
call fcn.0040d1c9
test eax, eax
je 0x40651e
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
add ebx, 4
cmp eax, dword [esi + 0x18]
jb 0x4064ee
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + edi]
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + edi]
add eax, edi
jmp 0x406517

Function at 0x406538
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, dword fs:[0x18]
mov ebx, dword [ebx + 0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x1c]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 8]
cmp ebx, 0
je 0x406575
push dword [0x4019c0]
push ebx
call fcn.004064cd
mov dword [0x412c44], eax
push dword [0x4019c4]
push ebx
call fcn.004064cd
mov dword [0x412be4], eax
pop ebx
ret

Function at 0x4067a5
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, eax
test esi, esi
jne 0x4067f0
push 4
push edi
call dword [0x412df0]
test eax, eax
jne 0x40681a
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x40681a
mov eax, dword [edi + 0x3c]
add eax, edi
cmp dword [eax], 0x4550
jne 0x40681a
lea esi, [eax + 0x80]
push 8
push esi
call dword [0x412df0]
test eax, eax
jne 0x40681a
cmp dword [esi + 4], eax
je 0x40681a
mov esi, dword [esi]
test esi, esi
je 0x40681a
add esi, edi
push ebx
push 0x14
push esi
xor bl, bl
call dword [0x412df0]
test eax, eax
jne 0x406848
mov eax, dword [esi + 0xc]
test eax, eax
je 0x406844
push 2
add eax, edi
push eax
call dword [0x412df0]
test eax, eax
je 0x40681e
mov bl, 1
jmp 0x406834
xor eax, eax
jmp 0x406861
mov eax, dword [esi + 0xc]
push dword [esp + 0xc]
add eax, edi
push eax
xor bl, bl
call dword [0x412cf8]
test eax, eax
je 0x406848
push 0x14
add esi, 0x14
push esi
call dword [0x412df0]
test eax, eax
je 0x406800
test bl, bl
jne 0x40685e
push 0x14
push esi
call dword [0x412df0]
test eax, eax
jne 0x40685e
cmp dword [esi + 0xc], eax
je 0x40685e
mov eax, esi
jmp 0x406860
xor eax, eax
pop ebx
pop esi
ret 4

Function at 0x4097f5
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, ebx
and esi, 0xffff0000
push edi
je 0x40984b
push 0x40
push esi
call dword [0x412df0]
test eax, eax
jne 0x409843
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x409843
mov eax, dword [esi + 0x3c]
lea edi, [eax + esi]
cmp edi, ebx
jae 0x409843
push 0xf8
push edi
call dword [0x412df0]
test eax, eax
jne 0x409843
cmp dword [edi], 0x4550
jne 0x409843
mov eax, dword [edi + 0x50]
add eax, esi
cmp eax, ebx
ja 0x409850
sub esi, 0x10000
jne 0x409801
xor eax, eax
pop edi
pop esi
ret
mov eax, esi
jmp 0x40984d
Function at 0x40d59c
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
test byte [ebp + 0x18], 2
mov eax, 0x8404f300
je 0x40d5af
mov eax, 0x8444f300
test byte [ebp + 0x18], 4
je 0x40d5ba
or eax, 0x800000
test byte [ebp + 0x18], 1
mov ecx, 0x40378c
jne 0x40d5ca
mov ecx, 0x403794
push esi
push edi
xor esi, esi
push esi
push eax
push section..data
push esi
push 0x403780
push dword [ebp + 0xc]
push ecx
push dword [ebp + 8]
call dword [0x412a48]
mov edi, eax
cmp edi, esi
je 0x40d638
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push esi
push edi
call dword [0x412a4c]
test eax, eax
je 0x40d631
push esi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x18]
push eax
push 0x20000013
push edi
mov dword [ebp + 0x18], esi
mov dword [ebp + 0xc], 4
call dword [0x412a5c]
test eax, eax
je 0x40d631
cmp dword [ebp + 0x18], 0xc8
jne 0x40d631
mov eax, edi
jmp 0x40d63a
push edi
call dword [0x412a3c]
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x14

Function at 0x40dcce
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x413e84]
cmp eax, 0x270
jl 0x40dc08
push esi
push edi
xor edx, edx
mov esi, 0x7fffffff
mov ecx, edx
shl ecx, 2
mov eax, dword [ecx + 0x4134bc]
xor eax, dword [ecx + 0x4134b8]
and eax, esi
xor eax, dword [ecx + 0x4134b8]
mov edi, eax
shr eax, 1
and edi, 1
xor eax, dword [edi*4 + 0x4124e0]
xor eax, dword [ecx + 0x413aec]
inc edx
cmp edx, 0xe3
mov dword [ecx + 0x4134b8], eax
jl 0x40db62
cmp edx, 0x26f
jge 0x40dbda
lea ecx, [edx*4 + 0x4134b8]
mov eax, dword [ecx]
lea edx, [ecx + 4]
xor eax, dword [edx]
and eax, esi
xor eax, dword [ecx]
mov edi, eax
and edi, 1
mov edi, dword [edi*4 + 0x4124e0]
xor edi, dword [edx - 0x390]
shr eax, 1
xor edi, eax
mov dword [ecx], edi
mov ecx, edx
cmp ecx, 0x413e74
jl 0x40dbad
mov ecx, dword [0x413e74]
mov eax, dword [0x4134b8]
xor eax, ecx
and eax, esi
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
xor eax, dword [ecx*4 + 0x4124e0]
pop edi
xor eax, dword [0x413ae8]
pop esi
mov dword [0x413e74], eax
xor eax, eax
mov ecx, dword [eax*4 + 0x4134b8]
inc eax
mov dword [0x413e84], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
call dword [0x412d58]
cmp eax, dword [0x413490]
je 0x40dd15
xor ecx, ecx
mov dword [0x413490], eax
mov dword [0x4134b8], eax
inc ecx
mov eax, 0x4134b8
push esi
mov edx, dword [eax]
mov esi, edx
shr esi, 0x1e
xor esi, edx
imul esi, esi, 0x6c078965
add esi, ecx
mov dword [eax + 4], esi
add eax, 4
inc ecx
cmp eax, 0x413e74
jl 0x40dcef
mov dword [0x413e84], ecx
pop esi
jmp 0x40db49
Function at 0x4062ca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4062ee
xor eax, eax
test eax, eax
je 0x406300
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406300
xor ecx, ecx
jmp 0x406303
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4063ef
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce04], 0
push esi
jne 0x406426
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406400
mov dword [ecx*4 + 0x42ce00], eax
inc ecx
cmp ecx, 0x100
jl 0x4063fb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406457
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce00]
xor eax, esi
inc ecx
dec edx
jne 0x406439
pop edi
not eax
pop esi
ret 0xc

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0xce266fc
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x9941243
nop
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x408948
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
add esi, esi
sub esi, esi
call fcn.00408974
add edx, esi
sub edx, edx
xor dword [edi], ecx
add edi, 1
dec esi
cmp edi, ebx
jne fcn.00408948
or esi, esi
or edx, edx
ret

Function at 0x1002195
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xf0
push 4
call fcn.010012b0
test eax, eax
pop ecx
je 0x10021b6
mov ecx, eax
call dword [sym.imp.ulib.dll_public:_void___thiscall_CLASS_DESCRIPTOR::constructor_void_]
jmp 0x10021b8
xor eax, eax
test eax, eax
mov dword [0x1004004], eax
je 0x10021c9
mov ecx, eax
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_CLASS_DESCRIPTOR::Initialize_void_]
lea ecx, [ebp - 0x78]
call fcn.010012ff
lea ecx, [ebp - 0x78]
call fcn.01001cd6
test al, al
je 0x10021ee
lea ecx, [ebp - 0x78]
call fcn.0100133e
test al, al
je 0x10021ee
push dword [ebp + 0x10]
jmp 0x10021f0
push 2
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x4ab1d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6b000]
push edi
or ebp, 0xffffffff
jmp 0x4ab1f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ab1f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ab1e8
mov eax, 1
add ebx, ebx
jne 0x4ab20b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ab21c
jne 0x4ab23b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ab23b
dec eax
add ebx, ebx
jne 0x4ab228
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ab200
add ebx, ebx
jne 0x4ab237
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4ab28d
xor ecx, ecx
sub eax, 3
jb 0x4ab253
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ab2c2
sar eax, 1
mov ebp, eax
jmp 0x4ab25e
add ebx, ebx
jne 0x4ab25e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ab22c
inc ecx
add ebx, ebx
jne 0x4ab26c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ab22c
add ebx, ebx
jne 0x4ab279
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ab26e
jne 0x4ab28a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ab26e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ab2ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ab29e
jmp 0x4ab1ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ab2ac
add edi, ecx
jmp 0x4ab1ee
pop esi
mov edi, esi
mov ecx, 0x3493
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ab2ca
cmp byte [edi], 0x4c
jne 0x4ab2ca
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 0x4ab2cf
lea edi, [esi + 0xa7000]
Function at 0x10001cd0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0
push 4
push 0
push 0xfffffffffffffffe
mov esi, ecx
push 0x101727bc
mov dword [ebp - 8], esi
call fcn.1000427d
mov dword [esi + 4], eax
push 1
push 1
mov ecx, dword [eax + 0x50]
push dword [esi + 0xc]
push dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x84]
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x54], eax
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 0x14]
mov esi, dword [ebx + 0x44]
lea edx, [ecx - 0x10]
sub esi, 0x10
cmp edx, esi
je 0x10001d6b
cmp dword [esi + 0xc], 0
push edi
lea edi, [esi + 0xc]
jl 0x10001d5e
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10001d5e
push edx
call fcn.100021f0
add esp, 4
mov dword [ebp - 4], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x10001d56
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 4]
add eax, 0x10
mov dword [ebx + 0x44], eax
jmp 0x10001d6a
push dword [ecx - 0xc]
push ecx
lea ecx, [ebx + 0x44]
call fcn.10002090
pop edi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000a359
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x1000a39e
call fcn.10006182
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1000a39e
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1000a3ba
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1001365a
mov ebx, eax
test edi, edi
je 0x1000a3b8
test esi, esi
je 0x1000a3b8
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100110c3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.1000ea37
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x100110ff
call fcn.100112e2
mov dword [esi + 0xc], 1
jmp 0x10011104
call fcn.100112e2
cmp dword [esi], 0
je 0x1001114d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x10011127
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.1000742f
jmp 0x10011138
push 0xff
mov ecx, esi
call fcn.10002020
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.10007660
jmp 0x10011171
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x10011171
push dword [esi]
push dword [ebp - 4]
call fcn.1000ee88
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10011237
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.100112e2
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x1001127f
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.1000742f
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10007660
jmp 0x1001128a
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1000ee88
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1001629f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.10006182
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x100162d6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.100162f7
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1002674d
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.1005dcb7
call fcn.100061d0
cmp dword [eax + 0x14], 0
jne 0x10026768
mov ecx, esi
pop esi
jmp fcn.10025b53
pop esi
ret

Function at 0x100274b0
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.100bdbe5
call fcn.100061d0
cmp dword [eax + 0x14], 0
jne 0x100274cb
mov ecx, esi
pop esi
jmp fcn.10026d99
pop esi
ret