joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b731c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b74c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4b74aa
mov dl, 1
mov eax, dword [0x42c264]
call fcn.0043833c
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406ff0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4b7499
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004997b0
test al, al
je 0x4b748c
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4b74d8
lea eax, [ebp - 0x394]
call fcn.004143a0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4b748c
xor eax, eax
push ebp
push 0x4b7485
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4b7548
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4b746e
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004071e8
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x4b746e
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004071e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b748c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4b738f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00438278
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b74d0
lea eax, [ebp - 0x3a0]
call fcn.00406fe0
ret

Function at 0x4b8028
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5402bc]
cmp byte [eax + 0xad], 0
jne 0x4b809a
cmp dword [0x5402d4], 0
jne 0x4b805a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x53806c]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5402d4], eax
cmp dword [0x5402d0], 0
jne 0x4b8075
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5402d0], eax
cmp dword [0x5402d8], 0
jne 0x4b809a
push esp
push 0
push 0
mov eax, dword [0x538068]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5402d8], eax
pop edx
ret
Function at 0x4b83c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4b83d7
add esp, 0xfffffff0
call fcn.004058d8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004408c4
mov eax, dword [0x53a0a4]
cmp byte [eax], 0
jne 0x4b8404
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x53a580]
cmp word [eax + 2], 0
jne 0x4b841e
mov eax, dword [0x53a580]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ba4b8
mov eax, dword [0x53a738]
cmp word [eax + 2], 0
jne 0x4b8438
mov eax, dword [0x53a738]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ba6c8
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44b2c0]
call fcn.00451594
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4bac78
mov dl, 1
mov eax, dword [0x429b64]
call fcn.00405374
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x429b64]
call fcn.00405374
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x44f758]
call fcn.0045aa04
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4b8618
mov eax, dword [0x53a390]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0045ae98
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4baf60
mov dl, 1
mov eax, dword [0x429b64]
call fcn.00405374
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x53a390]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00414194
test eax, eax
je 0x4b8549
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00413f24
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00414178
test eax, eax
je 0x4b8561
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004071e8
push ebx
push 0x4b9e88
call fcn.004ae0d0
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x53a0a4]
cmp byte [eax], 0
jne 0x4b85b2
mov eax, ebx
call fcn.004b878c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004bb18c
mov eax, ebx
call fcn.004bbdc0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b860f
call fcn.00405930
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b8a60
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b8b02
cmp dword [ebx + 0x94], 0
jne 0x4b8afc
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b89ac
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b8afc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4b8ac2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b8afc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00434a70
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b8ad1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4b8d20
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5402bc]
cmp dword [eax + 0x170], 0
je 0x4b8e85
test bl, bl
jne 0x4b8dd3
cmp dword [esi + 0x9c], 0
jne 0x4b8dc8
mov eax, esi
call fcn.004bbc10
push eax
push 0x4b8c2c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b8d99
mov eax, dword [0x5402bc]
cmp byte [eax + 0xd3], 0
je 0x4b8d99
mov eax, dword [esi + 0xd8]
call fcn.00408720
mov edi, eax
cmp edi, 0
jl 0x4b8d99
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b8d82
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b8dc8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00434a70
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b8da8
inc dword [esi + 0x9c]
jmp 0x4b8e85
cmp dword [esi + 0x9c], 0
jle 0x4b8e85
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b8e85
cmp dword [esi + 0x44], 0
je 0x4b8e30
mov eax, dword [0x5402bc]
cmp byte [eax + 0xd3], 0
je 0x4b8e30
mov eax, dword [esi + 0xd8]
call fcn.00408720
mov edi, eax
cmp edi, 0
jl 0x4b8e30
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b8e19
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b8e5f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00434a70
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b8e3f
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4abfa8]
call fcn.004088e0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b9ad4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4b9b3f
cmp byte [ebx + 0xd3], 0
jne 0x4b9b3f
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040712c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b9b2c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b9b4c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ff0
jmp 0x4b9b4c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ff0
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4bb374
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4bb3e2
mov eax, esi
call fcn.00493704
test al, al
je 0x4bb3e2
mov eax, dword [ebx + 0x84]
call fcn.00493358
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4bb3e2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4bb3d6
push 0
mov eax, dword [ebx + 0x84]
call fcn.00493358
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0048a32c
jmp 0x4bb3e2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004bb1ac
pop esi
pop ebx
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
mov ebx, 0x408ecc
nop
mov ecx, 0x5ba73172
nop
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x275a7507
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4034d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.004138f0
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 0
jne 0x4034f2
xor al, al
jmp 0x40365c
push ebx
push edi
push esi
call fcn.00403663
push esi
call fcn.00418bf3
pop ecx
push esi
mov edi, eax
call fcn.0040368f
test al, al
je 0x403584
push esi
call fcn.00403663
test al, al
je 0x40353b
lea eax, [edi + 4]
cmp dword [ebp + 0x10], eax
jbe 0x403658
push dword [ebp + 0x10]
push str.__
push dword [ebp + 0xc]
call fcn.00406858
push dword [ebp + 0x10]
jmp 0x40364b
push 0x5c
pop eax
cmp word [esi], ax
jne 0x403658
lea ebx, [esi + 2]
cmp word [ebx], ax
jne 0x403658
mov esi, dword [ebp + 0x10]
lea eax, [edi + 6]
cmp esi, eax
jbe 0x403658
push esi
push str.__
push dword [ebp + 0xc]
call fcn.00406858
push esi
push 0x4285b4
push dword [ebp + 0xc]
call fcn.00406830
push esi
push ebx
jmp 0x40364c
lea eax, [ebp - 0x1000]
mov ebx, 0x7ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x403658
cmp eax, ebx
ja 0x403658
movzx eax, word [esi]
push eax
call fcn.004036c5
test al, al
je 0x4035eb
lea eax, [edi + 6]
mov edi, dword [ebp + 0x10]
cmp edi, eax
jbe 0x403658
push edi
push str.__
push dword [ebp + 0xc]
call fcn.00406858
xor eax, eax
mov word [ebp - 0xffc], ax
lea eax, [ebp - 0x1000]
push edi
push eax
push dword [ebp + 0xc]
call fcn.00406830
jmp 0x40364a
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.00403101
lea eax, [ebp - 0x1000]
push eax
call fcn.00418bf3
add edi, 4
add eax, edi
mov edi, dword [ebp + 0x10]
pop ecx
cmp edi, eax
jbe 0x403658
push edi
push str.__
push dword [ebp + 0xc]
call fcn.00406858
push edi
lea eax, [ebp - 0x1000]
push eax
push dword [ebp + 0xc]
call fcn.00406830
cmp word [esi], 0x2e
jne 0x40364a
movzx eax, word [esi + 2]
push eax
call fcn.004036c5
test al, al
je 0x40364a
add esi, 4
push edi
push esi
push dword [ebp + 0xc]
call fcn.00406830
mov al, 1
jmp 0x40365a
xor al, al
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4482f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
or ebp, 0xffffffff
jmp 0x448312
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x448319
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x448308
mov eax, 1
add ebx, ebx
jne 0x44832b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x448320
jne 0x44833c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x448320
xor ecx, ecx
sub eax, 3
jb 0x448350
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4483c2
mov ebp, eax
add ebx, ebx
jne 0x44835b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x448368
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x44838c
inc ecx
add ebx, ebx
jne 0x448378
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44836d
jne 0x448389
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44836d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4483ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44839d
jmp 0x44830e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4483ac
add edi, ecx
jmp 0x44830e
pop esi
mov edi, esi
mov ecx, 0x6e9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4483ca
cmp byte [edi], 0xa
jne 0x4483ca
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 0x4483cf
lea edi, [esi + 0x46000]
mov eax, dword [edi]
or eax, eax
je 0x44843e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x499c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x49a34]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4483fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x49a3c]
or eax, eax
je 0x448438
mov dword [ebx], eax
add ebx, 4
jmp 0x448419
call dword [esi + 0x49a38]
mov ebp, dword [esi + 0x49a40]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x448472
sub esp, 0xffffff80
jmp 0x4025d0
Function at 0x40d200
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
jmp 0x40d21a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40d221
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d210
mov eax, 1
add ebx, ebx
jne 0x40d233
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40d228
jne 0x40d244
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d228
xor ecx, ecx
sub eax, 3
jb 0x40d258
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d2ca
mov ebp, eax
add ebx, ebx
jne 0x40d263
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40d270
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40d294
inc ecx
add ebx, ebx
jne 0x40d280
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40d275
jne 0x40d291
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d275
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40d2b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40d2a5
jmp 0x40d216
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40d2b4
add edi, ecx
jmp 0x40d216
pop esi
mov edi, esi
mov ecx, 0x145
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40d2d2
cmp byte [edi], 7
jne 0x40d2d2
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 0x40d2d7
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40d346
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40d304
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd02c]
or eax, eax
je 0x40d340
mov dword [ebx], eax
add ebx, 4
jmp 0x40d321
call dword [esi + 0xd03c]
mov ebp, dword [esi + 0xd030]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x40d37a
sub esp, 0xffffff80
jmp 0x401d58

Function at 0x414dee
Capabilities:
Encode data using xor

Disassembly:
xor dword [edi], ecx
add edi, 4
cmp edi, esi
jne fcn.00414dee
mov ebx, eax
inc ebx
ret
Function at 0xfd2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00fd21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xfd207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfd206a
add dl, dl
jne 0xfd2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfd20dc
xor eax, eax
add dl, dl
jne 0xfd2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfd217d
add dl, dl
jne 0xfd20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfd20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfd20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfd20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xfd20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xfd2075
mov eax, 1
add dl, dl
jne 0xfd20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfd20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfd20e1
sub eax, ebx
mov ebx, 1
jne 0xfd2128
mov ecx, 1
add dl, dl
jne 0xfd210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfd2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfd2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfd2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xfd213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfd214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfd2136
cmp eax, 0x7d00
jae 0xfd216d
cmp eax, 0x500
jb 0xfd2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfd2075
cmp eax, 0x7f
ja 0xfd2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfd2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xfd219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xfd2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10018300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, ecx
cmp byte [ebx], 0
je 0x1001833b
push esi
push edi
lea esi, [ebx + 0xc]
mov edi, 3
mov eax, dword [esi]
test eax, eax
jle 0x10018329
push 0
push eax
call dword [0x100f273c]
push dword [esi]
call dword [0x100f2738]
sub esi, 4
sub edi, 1
jne 0x10018312
pop edi
pop esi
mov ecx, ebx
pop ebx
jmp fcn.10018170
pop ebx
ret

Function at 0x1001a3d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x100f2710]
push esi
mov esi, ecx
push dword [eax]
push str.HUD_TEXTURE
call fcn.10018280
cmp byte [esi], 0
je 0x1001a409
mov eax, dword [0x100f1cdc]
dec eax
push eax
push str.HUD_TEXTURE_BACKDROP
call dword [0x100f270c]
mov dword [esi + 8], eax
test eax, eax
jle 0x1001a40b
mov dword [esi + 0x24], 5
pop esi
ret
mov ecx, esi
pop esi
jmp fcn.10018300
Function at 0x1001f740
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
xor ecx, ecx
push esi
push edi
lea eax, [ebx + edx]
mov edi, 0x84222325
cmp ebx, eax
mov esi, 0xcbf29ce4
cmova edx, ecx
mov dword [esp + 0x14], edx
test edx, edx
je 0x1001f7a2
push 0x100
push 0x1b3
push esi
push edi
call fcn.10098c50
mov edi, eax
lea ebx, [ebx + 1]
movzx eax, byte [ebx - 1]
mov esi, edx
cdq
xor edi, eax
xor esi, edx
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jb 0x1001f772
mov edx, esi
shr esi, 0x18
xor edi, esi
and edx, 0xffffff
mov eax, edi
xor edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100238c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x100238eb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10024100
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x1002390d
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x1002390f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x10023993
jg 0x10023924
test esi, esi
je 0x10023993
test ecx, ecx
jl 0x1002396d
jg 0x1002392e
test eax, eax
je 0x1002396d
cmp edi, ecx
jg 0x10023942
jl 0x10023938
cmp esi, eax
jae 0x10023942
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.10099e70
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x10023970
mov edx, dword [ebp + 8]
test edi, edi
jl 0x10023993
jg 0x1002397a
test esi, esi
je 0x10023993
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10023993
push eax
push esi
push 1
push edx
call fcn.1009f6fc
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc