joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5163e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov esi, dword [edi + 0xc]
test esi, esi
je 0x516472
mov eax, dword [0x56ae00]
test eax, eax
je 0x516466
mov ebx, dword [eax + 0x30]
test ebx, ebx
js 0x5164e1
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x516487
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, edi
call sym.__Unwind_ForcedUnwind_Phase2
cmp eax, 7
jne 0x5164ff
mov eax, dword [0x56ae00]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x5164d2
mov edx, dword [eax + 0x30]
test edx, edx
js 0x5164f0
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x5164b3
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call sym.___w32_sharedptr_initialize
mov eax, dword [0x56ae00]
jmp 0x516402
mov dword [esp], edi
call sym.__Unwind_SjLj_RaiseException
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x516417
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x516455
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x516455
call sym.___w32_sharedptr_initialize
mov eax, dword [0x56ae00]
jmp 0x516440
call sym._fc_key_init_once
mov eax, dword [0x56ae00]
jmp 0x51640d
call sym._fc_key_init_once
mov eax, dword [0x56ae00]
jmp 0x51644b
call sym._abort
lea esi, [esi]
lea edi, [edi]

Function at 0x516d50
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov edx, eax
je 0x516d80
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.___mingwthr_key_dtor
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
leave
ret
Function at 0x5170d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push edi
push esi
push ebx
sub esp, 0x120
mov ebx, dword [esp + 0x130]
call sym.__errno
mov dword [eax], 0
test ebx, ebx
je 0x5172f9
cmp byte [ebx], 0
je 0x5172c4
mov dword [esp], ebx
call sub.KERNEL32.dll_GetFileAttributesA
sub esp, 4
cmp eax, 0xffffffff
je 0x5172ea
test al, 0x10
je 0x5172c4
mov dword [esp + 4], ebx
mov eax, 0x104
lea esi, [esp + 0x10]
mov dword [esp + 8], eax
mov dword [esp], esi
call sym.__fullpath
mov ecx, esi
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [ecx]
add ecx, 4
lea edx, [ebx - 0x1010101]
not ebx
and edx, ebx
mov eax, edx
and eax, 0x80808080
je 0x517140
and edx, 0x8080
jne 0x517166
shr eax, 0x10
add ecx, 2
add al, al
sbb ecx, 3
sub ecx, esi
lea edx, [ecx + 0x233]
mov dword [esp], edx
call sym._malloc
test eax, eax
mov ebx, eax
je 0x5172db
mov dword [esp + 4], esi
lea esi, [eax + 0x22c]
mov dword [esp], esi
call sym._strcpy
cmp byte [ebx + 0x22c], 0
je 0x517260
mov dword [esp], esi
mov ecx, 0x2f
mov dword [esp + 4], ecx
call sym._strrchr
mov edi, eax
mov ecx, esi
lea esi, [esi]
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
mov eax, edx
and eax, 0x80808080
je 0x5171c0
and edx, 0x8080
jne 0x5171e6
shr eax, 0x10
add ecx, 2
add al, al
sbb ecx, 3
sub ecx, esi
lea edx, [ecx + ebx + 0x22b]
cmp edi, edx
je 0x517260
mov dword [esp], esi
mov edi, 0x5c
mov dword [esp + 4], edi
call sym._strrchr
mov edi, eax
mov ecx, esi
lea esi, [esi]
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
mov eax, edx
and eax, 0x80808080
je 0x517210
and edx, 0x8080
jne 0x517236
shr eax, 0x10
add ecx, 2
add al, al
sbb ecx, 3
sub ecx, esi
lea edx, [ecx + ebx + 0x22b]
cmp edi, edx
je 0x517260
mov dword [esp], esi
call sym._strlen
mov word [eax + esi], 0x5c
lea esi, [esi]
lea edi, [edi]
mov dword [esp], esi
mov edi, 0xffffffff
call sym._strlen
mov word [eax + esi], 0x2a
xor ecx, ecx
xor esi, esi
mov dword [ebx + 0x224], edi
xor edx, edx
xor eax, eax
mov dword [ebx + 0x228], ecx
mov edi, 0x104
xor ecx, ecx
mov dword [ebx + 0x118], esi
lea esi, [ebx + 0x120]
mov word [ebx + 0x11c], dx
mov word [ebx + 0x11e], ax
mov dword [esp + 8], edi
mov dword [esp], esi
mov dword [esp + 4], ecx
call sym._memset
add esp, 0x120
mov eax, ebx
pop ebx
pop esi
pop edi
ret
call sym.__errno
mov dword [eax], 0x14
xor eax, eax
add esp, 0x120
pop ebx
pop esi
pop edi
ret
call sym.__errno
mov dword [eax], 0xc
xor eax, eax
jmp 0x5172d1
call sym.__errno
mov dword [eax], 2
xor eax, eax
jmp 0x5172d1
call sym.__errno
mov dword [eax], 0xe
xor eax, eax
jmp 0x5172d1

Function at 0x518200
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x403ab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
mov edi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov eax, dword [esp + 0xc]
push 0x437124
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x403ad8
pop edi
pop esi
ret 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403ae9
pop edi
pop esi
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x403af9
pop edi
pop esi
ret 8
mov ecx, dword [esp + 0x10]
push ecx
push eax
mov ecx, edi
call fcn.00403b10
pop edi
pop esi
ret 8

Function at 0x4076e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42c866
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
mov eax, dword [0x438030]
lea ecx, [esi + 0x14]
mov dword [ecx], eax
mov edx, dword [0x438030]
lea edi, [esi + 0x18]
mov dword [edi], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esi + 4], eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x18], 3
mov dword [esi], 0x42ed70
mov dword [esi + 0xc], edx
mov dword [esi + 8], 1
call fcn.00424438
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.00424438
mov edx, dword [esp + 0x2c]
mov al, byte [esp + 0x30]
lea ecx, [esp + 0x24]
mov dword [esi + 0x10], edx
mov byte [esi + 0x1c], al
mov byte [esp + 0x14], 0
call fcn.0042438f
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call fcn.0042438f
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x41878a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x438ae0
cmp edx, dword [eax]
je 0x4187ac
add eax, 8
inc ecx
cmp eax, 0x438b70
jl 0x41879d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x438ae0]
jne 0x4188da
mov eax, dword [0x43b800]
cmp eax, 1
je 0x4188b4
test eax, eax
jne 0x4187dd
cmp dword [0x438410], 1
je 0x4188b4
cmp edx, 0xfc
je 0x4188da
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x418814
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00419aa0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00419b90
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x418857
lea eax, [ebp - 0x1a4]
push eax
call fcn.00419b90
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x431a94
push edi
call fcn.0041c8b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00419aa0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00419ab0
lea eax, [ebp - 0xa0]
push 0x431a74
push eax
call fcn.00419ab0
push dword [esi + 0x438ae4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00419ab0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041c825
add esp, 0x2c
pop edi
jmp 0x4188da
lea eax, [ebp + 8]
lea esi, [esi + 0x438ae4]
push 0
push eax
push dword [esi]
call fcn.00419b90
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x421a52
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x421a8a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00424617
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004245ef
jmp 0x421a96
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x423258
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x42329a
call fcn.0042a5b9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x42329a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x423291
xor eax, eax
jmp 0x4232a2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004232a8
pop edi
pop esi
pop ebx
ret 4
Function at 0x42b422
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42b450
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42b46e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042b388
jmp 0x42b46e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42b46e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0042b388
test edi, edi
mov eax, edi
jne 0x42b458
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4685b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x881f30]
xor edx, edx
cmp eax, edx
jne 0x4685d6
xor eax, eax
mov byte [eax + 0x881e30], al
inc eax
cmp eax, 0x100
jl 0x4685be
mov dword [0x881f30], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x881e30
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x468667
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x46863a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x468608
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4686e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x468733
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x46871a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47dc10
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c4018
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x47dc49
inc eax
mov dword [esi + 0x10], eax
jmp 0x47dd5c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x47dc5d
mov eax, 0xffffffc7
jmp 0x47dd5e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x47dc6e
cmp dword [esi + 8], eax
jne 0x47dc5d
cmp dword [esi + 8], eax
jne 0x47dc87
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x47dc87
mov eax, 0xffffffc7
jmp 0x47dd5e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x47dc9b
push eax
mov ecx, ebx
call fcn.0047d440
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00447100
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x47dccc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00447120
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0047cbb0
test eax, eax
mov dword [esp + 0x38], eax
je 0x47dcff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x850c78
call fcn.00447300
mov eax, dword [esp + 0x38]
jmp 0x47dd5e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0047da70
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x47dd43
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0047da90
mov esi, eax
test esi, esi
jne 0x47dd73
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0047da70
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x47dd15
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x850c78
call fcn.00447300
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x850c78
call fcn.00447300
mov eax, esi
jmp 0x47dd5e
Function at 0x496e40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c4c40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004969f0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00496a70
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00496a70
lea ecx, [esi + 0xc]
call fcn.004b3c45
lea ecx, [esi + 0x10]
call fcn.004b3c45
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00498000
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00498000
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00498000
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004b3cba
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004b3cba
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x420b5b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x420b9a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420b9a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420b9a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x420b9a
cmp dword [ecx + 0x74], 0xe
jbe 0x420b9a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43333d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43333d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432001
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4033e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov ecx, dword [eax + 0x1a8]
mov eax, dword [eax + 0xd4]
sub esp, 0x20
sub ecx, 2
je 0x403410
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov eax, esi
mov esp, ebp
pop ebp
ret
movss xmm0, dword [eax]
movss dword [esp], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 8], xmm0
xorps xmm0, xmm0
movss dword [esp + 0xc], xmm0
movaps xmm0, xmmword [esp]
movaps xmmword [esp], xmm0
mov eax, dword [esp]
call fcn.00403740
mov eax, dword [esp + 2]
movss dword [esp + 0x10], xmm0
call fcn.00403740
mov eax, dword [esp + 4]
movss dword [esp + 0x14], xmm0
call fcn.00403740
mov eax, dword [esp + 6]
movss dword [esp + 0x18], xmm0
call fcn.00403740
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmmword [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov eax, esi
mov esp, ebp
pop ebp
ret
Function at 0x43b330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
push ebp
push edi
mov edi, dword [esp + 0x34]
mov ebp, dword [edi + 0x400]
test ebp, ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
jbe 0x43b3de
push ebx
mov ebx, dword [esp + 0x34]
push esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
lea ecx, [ecx]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x38], eax
je 0x43b3d0
mov ecx, dword [edi + 0x400]
shl ecx, 4
mov eax, dword [ecx + edi - 0xc]
add edi, 4
mov edi, edi
test eax, eax
mov esi, dword [edi]
je 0x43b3be
test esi, esi
je 0x43b3be
mov ecx, dword [ebx + 0x78]
push esi
push eax
call fcn.00439320
test eax, eax
je 0x43b3be
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
call fcn.0043c480
add edi, 0x10
sub ebp, 1
mov eax, esi
jne 0x43b380
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
add dword [esp + 0x10], 0x10
sub dword [esp + 0x14], 1
jne 0x43b360
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x20
ret 0x10
Function at 0x46e170
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x67958e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70df38]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
lea ebp, [esi + 0x7c]
push ebp
push ecx
push edx
mov ecx, esi
call fcn.00471820
xor edi, edi
push edi
lea ecx, [esi + 0x54]
mov dword [esp + 0x24], edi
mov dword [esi], vtable.CBaseRenderer.2.0
mov dword [esi + 0xc], vtable.CBaseRenderer.1.0
mov dword [esi + 0x10], vtable.CBaseRenderer.0
mov dword [esi + 0x50], edi
call fcn.00471aa0
push 1
lea ecx, [esi + 0x58]
mov byte [esp + 0x24], 1
call fcn.00471aa0
lea ebx, [esi + 0x5c]
push 1
mov ecx, ebx
mov byte [esp + 0x24], 2
call fcn.00471aa0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
call ebp
lea eax, [esi + 0x94]
push eax
call ebp
lea ecx, [esi + 0xc4]
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], 1
push ecx
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
call ebp
mov edx, dword [ebx]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
Function at 0x4740d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x679b43
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x70df38]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x30]
mov ecx, eax
and cl, 7
neg cl
mov dword [esi], vtable.bdBitBuffer.0
mov dword [esp + 0x28], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
sbb ecx, ecx
neg ecx
shr eax, 3
add eax, ecx
cmp eax, ebx
mov dword [esi + 0xc], eax
jbe 0x474137
push eax
call fcn.00475d70
add esp, 4
mov dword [esi + 8], eax
mov al, byte [esp + 0x34]
cmp al, bl
mov byte [esp + 0x28], 1
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x20], bl
mov byte [esi + 0x21], al
push 1
mov ecx, esi
je 0x474163
lea edx, [esp + 0x38]
mov byte [esp + 0x38], 0xff
push edx
jmp 0x47416c
lea eax, [esp + 0x38]
mov byte [esp + 0x38], bl
push eax
call fcn.00473e90
cmp dword [esi + 0x14], 1
je 0x4741a4
push str.BD_BB_NUM_HEADER_BITS_and_written_header_dont_match.
push 0x6f8dcb
push str.dw_err
push 0x26
push str.__thiscall_bdBitBuffer::bdBitBuffer_const_unsigned_int_const_bool_
push str.._bdContainers_bdBitBuffer.cpp
lea ecx, [esp + 0x28]
call fcn.00475a90
push eax
call fcn.00475c30
add esp, 0xc
cmp byte [0x77ffcc], bl
jne 0x474171
mov dword [esi + 0x1c], 1
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret 8

Function at 0x474ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x679c28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x70df38]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x70df38]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0x34], 0
call fcn.00474960
mov esi, dword [esp + 0x38]
push 0xc8
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00473e90
or eax, 0xffffffff
test esi, esi
mov dword [esp + 0x30], eax
je 0x474b20
add dword [esi + 4], eax
jne 0x474b20
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004ad31a
add esp, 0x2c
ret 4