joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f0bf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov esi, ecx
push 0xa
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.004cdfb4
mov edi, dword [esp + 0x34]
lea eax, [esp + 8]
push eax
push edi
mov ecx, esi
mov byte [esp + 0x34], 1
call fcn.00452230
mov ecx, dword [esp + 0x38]
push 0
push ecx
lea ecx, [esp + 0x10]
call fcn.004ce03b
test eax, eax
lea ecx, [esp + 8]
jne 0x452778
lea eax, [esp + 0x38]
push eax
call fcn.004ce0cc
lea ecx, [esp + 8]
push ecx
push edi
mov ecx, esi
call fcn.004524d0
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call fcn.004ce0a5
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4527a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 8

Function at 0x453c80
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x453ccc
jle 0x453cc7
cmp eax, 3
jg 0x453cc7
push esi
mov esi, dword [ecx]
test esi, esi
je 0x453cbe
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
sub ecx, eax
push edi
sub edx, eax
mov edi, dword [ecx + eax]
mov ebx, dword [eax]
xor edi, ebx
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x453cac
pop edi
pop ebx
mov eax, 1
pop esi
ret 0x10
xor eax, eax
ret 0x10
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.00454cc0
mov eax, 1
ret 0x10

Function at 0x454240
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x45428c
jle 0x454287
cmp eax, 3
jg 0x454287
push esi
mov esi, dword [ecx]
test esi, esi
je 0x45427e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
sub ecx, eax
push edi
sub edx, eax
mov edi, dword [ecx + eax]
mov ebx, dword [eax]
xor edi, ebx
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x45426c
pop edi
pop ebx
mov eax, 1
pop esi
ret 0x10
xor eax, eax
ret 0x10
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.00455130
mov eax, 1
ret 0x10
Function at 0x454760
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x124]
push edi
mov eax, dword [esi + 8]
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 0x124]
sub eax, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ecx
je 0x4548a2
dec eax
je 0x4547a6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0xc
mov ecx, dword [esi + 0x20]
push esi
mov edi, ecx
lea eax, [esp + 0x20]
and ecx, 0x1f
mov ebx, 1
push 1
push eax
shr edi, 5
shl ebx, cl
call fcn.00453cf0
test eax, eax
mov ebp, dword [esp + 0x124]
je 0x4547e4
push esi
push 1
push ebp
call fcn.00453cf0
test eax, eax
je 0x4547e4
mov eax, 1
jmp 0x4547e6
xor eax, eax
mov ecx, dword [esp + 0x10]
lea edi, [esp + edi*4 + 0x1c]
cmp ecx, 1
mov dword [edi], ebx
je 0x454857
dec ecx
mov dword [esp + 0x10], ecx
test eax, eax
je 0x454844
lea ecx, [esp + 0x1c]
push esi
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.00454070
test eax, eax
je 0x454844
push esi
push ebp
push ebp
push ebp
call fcn.00454070
test eax, eax
je 0x454844
mov ecx, dword [esp + 0x120]
push esi
push ebp
push ebp
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.004540e0
test eax, eax
je 0x454844
mov eax, 1
jmp 0x454846
xor eax, eax
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
xor edx, ebx
dec ecx
mov dword [edi], edx
mov dword [esp + 0x10], ecx
jne 0x4547fa
test eax, eax
je 0x454797
lea eax, [esp + 0x1c]
push esi
push eax
push ebp
push ebp
push ebp
call fcn.004540e0
test eax, eax
je 0x454797
mov ecx, dword [esp + 0x120]
push esi
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00453db0
test eax, eax
je 0x454797
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret 0xc
xor esi, esi
xor edx, edx
test edi, edi
mov edi, dword [esp + 0x124]
je 0x4548f9
mov ebx, dword [esp + 0x120]
mov eax, edx
shr eax, 5
mov ecx, edx
mov ebx, dword [ebx + eax*4]
and ecx, 0x1f
shr ebx, cl
mov ebp, dword [edi + eax*4]
and ebx, 1
xor esi, ebx
mov ebx, esi
not ebx
and ebx, 1
shl ebx, cl
not ebx
and ebx, ebp
mov ebp, esi
and ebp, 1
shl ebp, cl
or ebx, ebp
inc edx
mov dword [edi + eax*4], ebx
mov eax, dword [esp + 0x10]
cmp edx, eax
jne 0x4548b1
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + ebx*4 - 4]
xor eax, eax
test esi, esi
sete al
shl edx, cl
shr edx, cl
mov dword [edi + ebx*4 - 4], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 0xc

Function at 0x455b20
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [esp + 0x18]
sub eax, 0x182
je 0x455b54
sub eax, 0x64
je 0x455b54
sub eax, 0x64
cmp word [esp + 0x20], 6
jb 0x455b54
push 0xc
call fcn.0045b3b0
add esp, 0x24
ret
push 4
call fcn.0045b3b0
add esp, 0x24
ret
Function at 0x45a900
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
sub esp, 0x51c
lea edx, [eax + 0x1f]
push ebx
push ebp
lea ebp, [ecx + 0x1f]
push esi
shr edx, 5
shr ebp, 5
cmp edx, ebp
mov ebx, edx
ja 0x45a925
mov ebx, ebp
mov ecx, dword [esp + 0x53c]
xor esi, esi
xor eax, eax
cmp ecx, esi
setne al
cmp ebx, esi
mov dword [esp + 0xc], eax
je 0x45ab2c
cmp ebx, 0x40
ja 0x45ab2c
lea eax, [esp + 0x324]
mov ecx, ebx
mov dword [eax - 0x204], esi
mov dword [eax], esi
mov dword [eax - 0x104], esi
mov dword [eax + 0x100], esi
add eax, 4
dec ecx
jne 0x45a953
mov ecx, dword [esp + 0x120]
mov esi, dword [esp + 0x52c]
xor ecx, 1
push edi
mov dword [esp + 0x124], ecx
mov ecx, edx
lea edi, [esp + 0x224]
push edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x53c]
lea ecx, [ebp*4]
mov dword [esp + 0x24], ecx
mov eax, ecx
lea edi, [esp + 0x42c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x534]
push ecx
call fcn.00459920
push ebp
mov edx, dword [esp + 0x53c]
mov dword [esp + 0x328], eax
push edx
call fcn.00459920
xor edx, edx
mov dword [esp + 0x528], eax
mov eax, edx
mov dword [esp + 0x18], edx
shl eax, 7
add eax, edx
shl eax, 2
mov ecx, eax
neg ecx
mov esi, dword [esp + ecx + 0x528]
test esi, esi
je 0x45aace
lea esi, [esp + eax + 0x124]
lea ebp, [esp + ecx + 0x328]
mov dword [esp + 0x1c], ebp
mov eax, dword [esi + 0x200]
mov ecx, dword [ebp + 0x200]
cmp eax, ecx
jb 0x45aac0
sub eax, ecx
push ebx
mov edi, eax
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 0x100]
push edi
push eax
call fcn.00459710
lea edx, [esi + 0x100]
lea ecx, [esp + 0x24]
mov eax, edx
mov dword [esp + 0x14], ebx
mov ebp, dword [ecx]
add ecx, 4
xor dword [eax], ebp
mov ebp, dword [esp + 0x14]
add eax, 4
dec ebp
mov dword [esp + 0x14], ebp
jne 0x45aa52
push ebx
push edx
call fcn.00459920
mov dword [esi + 0x200], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45aaa4
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ebx
push ecx
push edi
push ebp
call fcn.00459710
lea ecx, [esp + 0x24]
mov eax, esi
sub ecx, esi
mov edx, ebx
mov edi, dword [ecx + eax]
xor dword [eax], edi
add eax, 4
dec edx
jne 0x45aa97
jmp 0x45aaa8
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x200]
mov ecx, dword [ebp + 0x200]
cmp eax, ecx
jae 0x45aa2b
mov edx, dword [esp + 0x18]
mov eax, 1
sub eax, edx
mov edx, eax
jmp 0x45a9e4
mov edi, dword [esp + 0x544]
test edi, edi
je 0x45aaeb
mov eax, edx
mov ecx, ebx
shl eax, 7
add eax, edx
lea esi, [esp + eax*4 + 0x224]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45ab1a
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x540]
mov eax, edx
shl eax, 7
add eax, edx
mov edx, ecx
shr ecx, 2
lea esi, [esp + eax*4 + 0x124]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x51c
ret 0x18
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x51c
ret 0x18
Function at 0x45dd9f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
cmp dword [0x5421fc], 0
je 0x45ddb8
mov eax, dword [0x537be8]
leave
ret
push edi
push esi
push 0x25
xor eax, eax
pop ecx
lea edi, [ebp - 0x94]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
je 0x45de7a
xor eax, eax
cmp dword [ebp - 0x84], 2
sete al
test eax, eax
mov dword [0x537be8], eax
je 0x45de49
push 0x507114
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x45de7a
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.NtQuerySystemInformation
push edi
call esi
test eax, eax
mov dword [0x5421e4], eax
je 0x45de2d
mov dword [0x537be0], 0x4000
push str.NtOpenFile
push edi
call esi
push str.RtlInitUnicodeString
push edi
mov dword [0x5421e8], eax
call esi
mov dword [0x5421ec], eax
jmp 0x45de7a
push 0x5070c8
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45de7a
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x5070b8
push edi
call esi
push 0x5070a8
push edi
mov dword [0x5421f0], eax
call esi
mov dword [0x5421f4], eax
mov eax, dword [0x537be8]
pop esi
mov dword [0x5421fc], 1
pop edi
leave
ret

Function at 0x45f595
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
call fcn.0045f5d8
test eax, eax
je 0x45f5d4
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 3
push 0
push str.Seed
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret 8

Function at 0x45f610
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
xor ecx, ecx
xor edx, edx
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov cl, byte [esi + 0x100]
mov dl, byte [esi + 0x101]
test ebp, ebp
je 0x45f65f
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x45f634
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc

Function at 0x45f671
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov eax, 0x3020100
push esi
mov ecx, 0x40
mov esi, dword [esp + 0xc]
push edi
mov edx, esi
push ebp
mov dword [edx], eax
add edx, 4
add eax, 0x4040404
dec ecx
jne 0x45f685
xor ecx, ecx
xor edi, edi
mov ebp, dword [esp + 0x1c]
mov byte [esi + 0x100], cl
mov byte [esi + 0x101], cl
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dl, byte [edi + esi]
mov al, byte [ebp + ecx]
add bl, al
inc ecx
add bl, dl
inc edi
mov al, byte [ebx + esi]
mov byte [edi + esi - 1], al
cmp dword [esp + 0x18], ecx
mov byte [ebx + esi], dl
jne 0x45f6cb
xor ecx, ecx
cmp edi, 0x100
jb 0x45f6a8
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x45f970
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x4602c0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x18]
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4602e3
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
pop ecx
ret
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x460290
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
mov dword [esi + 0x14], eax
push edi
je 0x4602d7
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x466b60
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f1089
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x25c
mov eax, dword [0x53ffd0]
xor eax, dword [esp + 0x268]
push ebx
push ebp
push esi
mov dword [esp + 0x264], eax
push edi
mov edi, dword [esp + 0x27c]
lea ebp, [edi - 0x10]
push ebp
mov dword [esp + 0x278], 0
call fcn.00406120
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
push 0x5c
mov bl, 1
push 0x2f
lea ecx, [esp + 0x18]
mov byte [esp + 0x27c], bl
call fcn.0040f780
mov esi, dword [esp + 0x10]
push 0x5c
push esi
call fcn.004b77bd
add esp, 8
test eax, eax
jne 0x466be5
or eax, 0xffffffff
jmp 0x466be9
sub eax, esi
sar eax, 1
inc eax
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.00406da0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x278], 2
call fcn.00406f20
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x274], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466c30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x466cb4
mov edi, dword [sym.imp.KERNEL32.DLL_FindNextFileW]
lea esp, [esp]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00410a70
add esp, 0xc
mov ecx, dword [esp + 0x280]
push eax
mov byte [esp + 0x278], 3
call fcn.004ce0cc
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x274], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466ca1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x18]
push eax
push esi
call edi
test eax, eax
jne 0x466c50
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x274], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466cda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x274], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x466cfd
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x260]
xor ecx, dword [esp + 0x270]
pop ebp
pop ebx
add esp, 0x268
jmp fcn.004b8f56
Function at 0x4676a0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4f11a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
mov eax, dword [0x53ffd0]
xor eax, dword [esp + 0x434]
push ebp
push esi
push edi
mov dword [esp + 0x430], eax
mov dword [esp + 0xc], 0
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x43c], 0
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
movzx eax, word [esp + 0x448]
push eax
lea ecx, [esp + 0x14]
push str._c:_
push ecx
mov byte [esp + 0x448], 1
call fcn.00407a50
mov edi, dword [esp + 0x1c]
add esp, 0xc
push 0x104
lea edx, [esp + 0x22c]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
push 0x104
lea eax, [esp + 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
test eax, eax
je 0x46777e
lea ecx, [esp + 0x20]
push ecx
call fcn.004b6b5b
add esp, 4
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x14]
call fcn.00403180
mov esi, dword [esp + 0xc]
add esi, 0xfffffff0
push esi
call fcn.00406120
mov ebp, dword [esp + 0x448]
add eax, 0x10
mov dword [ebp], eax
lea eax, [edi - 0x10]
add esp, 4
mov byte [esp + 0x43c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4677bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x43c], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4677df
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x434]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x42c]
xor ecx, dword [esp + 0x43c]
pop esi
mov eax, ebp
pop ebp
add esp, 0x434
jmp fcn.004b8f56
Function at 0x46dbb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f1789
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046c0a0
xor ebx, ebx
lea ecx, [esi + 0x14]
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.CSimpleTextSubtitle.0
call fcn.0046c0c0
mov byte [esp + 0x18], 1
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
lea eax, [esi + 0x48]
push eax
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
lea edi, [esi + 0x60]
push 0xa
mov ecx, edi
mov byte [esp + 0x1c], 3
call fcn.004cebd2
mov dword [edi], vtable.CSTSStyleMap.0
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x34], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], bl
mov byte [esi + 0x45], bl
mov byte [esi + 0x30], bl
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x46dee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f17c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
movsx ax, byte [esp + 0x24]
push 1
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00406ea0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00406120
mov edi, dword [esp + 0x34]
add eax, 0x10
add esp, 0x18
mov dword [edi], eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46df78
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x46df90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f17f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push edi
xor edi, edi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x30], edi
call fcn.0046bfd0
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x40]
mov dword [esp + 0x20], eax
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00406fc0
push 0x20
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x48], 1
call fcn.0046dee0
add esp, 0x1c
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46e00d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
mov eax, dword [eax - 0xc]
push ebx
xor ebx, ebx
cmp eax, edi
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], eax
jle 0x46e0fb
push ebp
jmp 0x46e031
xor edi, edi
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
push edi
push edi
xor eax, eax
mov ax, word [ecx + edx*2]
push 2
lea ecx, [esp + 0x20]
push ecx
push 1
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
push edi
push eax
mov dword [esp + 0x34], edi
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov ebp, eax
cmp ebp, edi
jne 0x46e076
mov al, 0x3f
mov byte [esp + 0x14], al
mov byte [esp + 0x15], 0
jmp 0x46e07c
xor eax, eax
mov al, byte [esp + 0x14]
mov edi, dword [esi - 0xc]
and eax, 0xff
mov dword [esp + 0x28], eax
cmp dword [esi - 4], 1
jle 0x46e09e
mov ecx, edi
push ecx
lea ecx, [esp + 0x14]
call fcn.004026a0
mov esi, dword [esp + 0x10]
cmp ebp, 2
mov dx, word [esp + 0x28]
mov word [esi + ebx*2], dx
mov dword [esi - 0xc], edi
mov word [esi + edi*2], 0
jne 0x46e0e4
mov eax, dword [esi - 4]
movzx bp, byte [esp + 0x15]
mov edi, dword [esi - 0xc]
inc ebx
cmp eax, 1
jle 0x46e0d7
mov eax, edi
push eax
lea ecx, [esp + 0x14]
call fcn.004026a0
mov esi, dword [esp + 0x10]
mov word [esi + ebx*2], bp
mov dword [esi - 0xc], edi
mov word [esi + edi*2], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
inc eax
inc ebx
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x46e02f
pop ebp
mov edi, dword [esp + 0x3c]
push ebx
push edi
lea ecx, [esp + 0x14]
call fcn.00406da0
add esi, 0xfffffff0
mov byte [esp + 0x34], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46e129
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
pop ebx
jg 0x46e151
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x46ed30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 8]
push esi
mov ecx, dword [eax + 0x84]
push ecx
mov edx, dword [eax + 0x80]
push edx
mov ecx, dword [eax + 0x7c]
push ecx
mov edx, dword [eax + 0x78]
push edx
mov ecx, dword [eax + 0x74]
push ecx
mov edx, dword [eax + 0x70]
push edx
movzx ecx, byte [eax + 0x6f]
push ecx
movzx edx, byte [eax + 0x6e]
push edx
movzx ecx, byte [eax + 0x6d]
push ecx
movzx edx, byte [eax + 0x6c]
push edx
mov ecx, dword [eax + 0x68]
push ecx
mov edx, dword [eax + 0x64]
push edx
mov ecx, dword [eax + 0x60]
push ecx
mov edx, dword [eax + 0x5c]
push edx
mov ecx, dword [eax + 0x58]
push ecx
mov edx, dword [eax + 0x54]
push edx
mov ecx, dword [eax + 0x50]
mov edx, dword [eax + 0x4c]
push ecx
mov ecx, dword [eax + 0x48]
push edx
mov edx, dword [eax + 0x44]
push ecx
mov ecx, dword [eax + 0x40]
push edx
movzx edx, byte [eax + 0x3c]
push ecx
movzx ecx, byte [eax + 0x3b]
push edx
movzx edx, byte [eax + 0x3a]
push ecx
movzx ecx, byte [eax + 0x39]
push edx
movzx edx, byte [eax + 0x38]
push ecx
mov ecx, dword [eax + 0x34]
push edx
mov edx, dword [eax + 0x30]
push ecx
mov ecx, dword [eax + 0x2c]
push edx
mov edx, dword [eax + 0x28]
push ecx
mov ecx, dword [eax + 0x24]
push edx
mov edx, dword [eax + 0x20]
push ecx
mov ecx, dword [eax + 0x1c]
push edx
mov edx, dword [eax + 0x18]
push ecx
mov ecx, dword [eax + 0x14]
push edx
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax]
push ecx
mov esi, dword [esp + 0xa4]
push edx
push str._d__d__d__d__d__d__f__f_0x_06x_0x_06x_0x_06x_0x_06x_0x_02x_0x_02x_0x_02x_0x_02x__d__d__s__f__f__f__f__d__d__d__d__d__f__f__f
push esi
call fcn.00407a50
add esp, 0xa8
mov eax, esi
pop esi
ret