joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x19ca67c3
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1d374a97
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6a
sub eax, 0x403d10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x4084e4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x4276d4], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408525
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x408502
mov dword [edx*4 + 0x4276d0], eax
inc edx
cmp edx, 0x100
jne 0x4084fb
mov eax, dword [ebp + 8]
not eax
jmp 0x40853f
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x4276d0]
test ebx, ebx
jne 0x40852c
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x55b85103
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x6ec92e6b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401220
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x8c0160]
mov ecx, dword [0x8bf0b4]
shr eax, 3
sub esp, 0x81c
test eax, eax
jbe 0x401310
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x8c0160], 0x959
jne 0x4012f6
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push str.ducofikinevodugucexejayeyide_jofubupazekatajikuwayoj
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
lea eax, [ebp - 0x81c]
push eax
push 0
push str.lebogegimoramigefunolerulodidi_peyewuvuhicucalikid_suyucedizejabije
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
push 0
push 0
push 0
push 0
push 0
push 0
push str.laduvig_xupewufodarahut
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 4]
push edx
call fcn.00401030
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x401260
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402570
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a00c8]
jne 0x40257a
repz ret
jmp fcn.00405f0e

Function at 0x405b3b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402ff9
and dword [ebp - 4], 0
cmp dword [0x4a1b28], 0
mov ebx, eax
jne 0x405bec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405c9d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405c9d
push eax
call fcn.00402f87
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4a1b28], eax
call esi
push eax
call fcn.00402f87
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4a1b2c], eax
call esi
push eax
call fcn.00402f87
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a1b30], eax
call esi
push eax
call fcn.00402f87
pop ecx
mov dword [0x4a1b38], eax
test eax, eax
je 0x405bec
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402f87
pop ecx
mov dword [0x4a1b34], eax
mov eax, dword [0x4a1b34]
cmp eax, ebx
je 0x405c44
cmp dword [0x4a1b38], ebx
je 0x405c44
push eax
call fcn.00403002
push dword [0x4a1b38]
mov esi, eax
call fcn.00403002
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405c44
test edi, edi
je 0x405c44
call esi
test eax, eax
je 0x405c3b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405c3b
test byte [ebp - 0xc], 1
jne 0x405c44
or dword [ebp + 0x10], 0x200000
jmp 0x405c7d
mov eax, dword [0x4a1b2c]
cmp eax, ebx
je 0x405c7d
push eax
call fcn.00403002
pop ecx
test eax, eax
je 0x405c7d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405c7d
mov eax, dword [0x4a1b30]
cmp eax, ebx
je 0x405c7d
push eax
call fcn.00403002
pop ecx
test eax, eax
je 0x405c7d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a1b28]
call fcn.00403002
pop ecx
test eax, eax
je 0x405c9d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405c9f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x71143f1
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x65777466
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x100012e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
xorps xmm0, xmm0
mov esi, edx
mov edi, ecx
mov ecx, 0x20
lea eax, [esp + 0x20]
xor edx, edx
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
nop dword [eax + eax]
test dl, 1
jne 0x10001361
lea ebx, [eax + ecx]
push ecx
push eax
call sub.ADVAPI32.dll_SystemFunction036
xor ecx, ecx
test al, al
mov dl, 1
mov eax, ebx
jne 0x10001310
call sub.KERNEL32.dll_GetProcessHeap
push 4
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10001416
mov ebx, eax
mov dword [eax], reloc.XINPUT1_3.dll_Ordinal_4
call sub.KERNEL32.dll_GetProcessHeap
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
jmp 0x100013f0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x38], eax
mov dword [edi], edx
mov edx, dword [esp + 0x18]
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0x1c]
mov dword [edi + 0xc], edx
mov edx, dword [esp + 0x14]
mov dword [edi + 0x10], edx
mov edx, dword [esp + 0x10]
mov dword [edi + 0x14], edx
mov edx, dword [esp + 0xc]
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
add eax, 0xffffff00
mov dword [edi + 0x40], 0
mov edx, esi
adc ecx, 0xffffffff
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
mov ecx, edi
call fcn.10004600
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 4
mov edx, 4
call fcn.10006540
ud2
Function at 0x1000ca90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], edx
mov byte [esp + 0xc], 0x30
mov dword [esp + 8], 0x30303030
mov dword [esp + 4], 0x30303030
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
test edi, edi
mov esi, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], esi
je 0x1000cb28
mov ebx, dword [ebp + 0x10]
test esi, esi
mov ecx, 9
mov dword [esp + 0x34], edx
cmovne ecx, eax
xor esi, esi
nop dword [eax + eax]
cmp ecx, esi
je 0x1000cb2c
test ebx, ebx
je 0x1000cc98
cmp esi, 9
je 0x1000ccb1
mov eax, edi
xor edx, edx
div ebx
add al, 0x30
mov edi, edx
mov edx, 0xcccccccd
mov byte [esp + esi + 4], al
mov eax, ebx
inc esi
mul edx
mov ebx, edx
shr ebx, 3
test edi, edi
jne 0x1000caf0
jmp 0x1000cb95
xor esi, esi
jmp 0x1000cb95
lea eax, [ebx + ebx*4]
cmp edi, eax
jb 0x1000cb93
test ecx, ecx
je 0x1000cb7e
lea edx, [ecx - 1]
mov al, 1
xor esi, esi
mov edi, 0x30
nop word [eax + eax]
movzx ebx, byte [esp + edx + 4]
movzx eax, al
mov bh, bl
inc bh
cmp bl, 0x39
movzx ebx, bh
cmovb eax, esi
cmovae ebx, edi
mov byte [esp + edx + 4], bl
add edx, 0xffffffff
setb bl
test al, 1
je 0x1000cb7a
test bl, bl
jne 0x1000cb50
test al, 1
je 0x1000cb93
mov eax, dword [esp + 0x34]
mov edx, dword [ebp + 8]
add eax, 1
adc edx, 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov esi, ecx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, 9
cmp edx, 9
cmovb eax, edx
test ecx, ecx
cmove eax, esi
test eax, eax
je 0x1000cc3f
cmp eax, 0xa
jae 0x1000ccca
test ecx, ecx
lea ecx, [esp + 4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x18]
cmove edx, esi
mov dword [esp + 0x44], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x48], fcn.1000cce0
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x50], 0x10009120
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x10008290
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], 0x103e8808
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], 0x103e8818
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 3
jmp 0x1000cc81
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], fcn.1000cce0
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], 0x1044ac68
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 1
lea esi, [esp + 0x1c]
mov ecx, eax
push esi
call fcn.10009680
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x103e81a0
mov edx, 0x19
push 0x103e8858
call fcn.100082b0
add esp, 4
ud2
mov ecx, 9
mov edx, 9
push 0x103e8868
call fcn.10008300
add esp, 4
ud2
mov ecx, eax
mov edx, 9
push 0x103e87f8
call fcn.100088f0
add esp, 4
ud2
Function at 0x1000f210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x7c0
mov dword [esp + 8], edx
mov dword [esp + 0x11c], ecx
movsd qword [esp + 0x120], xmm0
mov eax, dword [esp + 0x124]
mov edi, dword [esp + 0x120]
mov esi, eax
mov edx, eax
lea ebx, [edi + edi]
and esi, 0xfffff
shr edx, 0x14
mov ecx, esi
shld ecx, edi, 1
and dx, 0x7ff
mov dword [esp + 0xc], edx
lea edx, [esi + 0x100000]
cmovne ebx, edi
cmove edx, ecx
mov ecx, eax
and ecx, 0x7fffffff
or ecx, edi
call fcn.1000f27b

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x178
mov dword [esp + 0x154], ecx
lea ebx, [ecx + 0x40]
mov dword [esp + 0x128], ecx
call fcn.10011225
Function at 0x1003f160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x84
mov eax, dword [0x10420598]
movsd xmm0, qword [0x10420588]
movsd xmm1, qword [0x10420590]
mov ebp, edx
mov edx, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x34]
movsd qword [esp + 0x34], xmm0
movsd qword [esp + 0x3c], xmm1
push eax
call fcn.1003f300
add esp, 4
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x10], 1
jne 0x1003f290
mov al, byte [esp + 0x32]
mov edi, dword [esp + 0x2c]
movzx ebx, word [esp + 0x30]
lea ecx, [esp + 0x48]
mov edx, ebp
mov byte [esp + 3], al
push dword [esp + 0x98]
call fcn.100361b0
add esp, 4
mov eax, dword [esi + 0x28]
movsd xmm0, qword [esp + 0x18]
movsd xmm1, qword [esp + 0x20]
mov ebp, esi
lea esi, [esp + 0x5c]
mov edx, ebx
mov ecx, ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
movsd qword [esp + 0x64], xmm1
movsd qword [esp + 0x5c], xmm0
movsd xmm0, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x50]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x58]
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0x70], xmm0
mov dword [esp + 0x80], eax
lea eax, [esp + 0x70]
push eax
push esi
call fcn.1003f580
add esp, 8
mov eax, dword [esp + 4]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0
mov esi, eax
nop word cs:[eax + eax]
nop dword [eax]
mov ebp, edi
cmp edi, edx
mov edi, 0
jae 0x1003f260
cmp word [ecx + ebp*4], 0xffff
je 0x1003f2a2
mov edi, dword [ecx + ebp*4]
inc dword [esp + 8]
movzx eax, si
shl ebx, 0x10
or eax, ebx
mov dword [ecx + ebp*4], eax
inc ebp
mov esi, edi
shr edi, 0x10
mov ebx, edi
mov edi, ebp
jmp 0x1003f260
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x28]
cmp edx, ecx
ja 0x1003f2df
push 0x1041a280
jmp 0x1003f2ef
mov word [ecx + ebp*4], si
mov word [ecx + ebp*4 + 2], bx
cmp byte [esp + 3], 0
mov ecx, dword [esp + 0xc]
jne 0x1003f2c0
cmp dword [esp + 8], 0x80
jb 0x1003f2d4
mov eax, dword [ecx]
or eax, dword [ecx + 4]
jne 0x1003f2d4
mov dword [ecx + 4], 0
mov dword [ecx], 1
mov edx, dword [ecx + 0x28]
mov ecx, dword [esp + 4]
cmp edx, ecx
jbe 0x1003f2ea
add esp, 0x84
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x10419818
call fcn.10008300
add esp, 4
ud2
Function at 0x10041f60
Capabilities:
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xdd8
call fcn.10041f74
Function at 0x1004b000
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
cmp dword [edx], 1
mov ebp, edx
mov edi, ecx
jne 0x1004b026
push dword [ebp + 4]
call sub.CRYPT32.dll_CertDuplicateCertificateContext
mov esi, 1
mov dword [esp], 0
jmp 0x1004b02d
mov al, 1
xor esi, esi
mov dword [esp], eax
mov dword [esp + 0x18], eax
push 0
push 0
push 0
push 0
push 2
call sub.CRYPT32.dll_CertOpenStore
test eax, eax
je 0x1004b0bd
mov dword [esp + 0x10], edi
mov edi, dword [ebp + 0x10]
mov ebx, eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], ebp
test edi, edi
je 0x1004b099
mov eax, dword [esp + 0x14]
shl edi, 2
lea ebp, [esp + 0x1c]
mov esi, dword [eax + 8]
nop
mov dword [esp + 0x1c], 0
push ebp
push 3
push dword [esi]
push ebx
call sub.CRYPT32.dll_CertAddCertificateContextToStore
cmp eax, 1
jne 0x1004b0c8
add esi, 4
push dword [esp + 0x1c]
call sub.CRYPT32.dll_CertFreeCertificateContext
add edi, 0xfffffffc
jne 0x1004b070
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov dword [esp], 0
mov ch, byte [esi + 0x14]
mov ah, byte [esi + 0x15]
mov dl, byte [esi + 0x18]
mov cl, byte [esi + 0x17]
mov al, byte [esi + 0x16]
jmp 0x1004b108
xor ebx, ebx
call sub.KERNEL32.dll_GetLastError
mov ebp, eax
jmp 0x1004b0db
call sub.KERNEL32.dll_GetLastError
mov ebp, eax
push 0
push ebx
call sub.CRYPT32.dll_CertCloseStore
mov edi, dword [esp + 0x10]
mov eax, dword [esp]
test al, al
je 0x1004b0f1
mov cl, 1
mov dword [esp + 0xc], 0
mov dword [esp], ecx
jmp 0x1004b108
mov dword [esp + 0xc], 0
push dword [esp + 0x18]
mov al, 1
mov dword [esp + 4], eax
call sub.CRYPT32.dll_CertFreeCertificateContext
mov dh, byte [esp + 0x23]
movzx esi, word [esp + 0x21]
cmp byte [esp], 0
mov byte [esp + 0xa], dh
mov word [esp + 8], si
je 0x1004b131
mov eax, dword [esp + 0xc]
mov dword [edi + 8], ebp
mov dword [edi + 4], eax
mov eax, 1
jmp 0x1004b171
movzx esi, word [esp + 8]
mov dword [edi + 8], ebp
mov ebp, dword [esp + 0xc]
mov dh, byte [esp + 0xa]
mov word [esp + 4], si
mov dword [edi + 4], ebp
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], ch
mov byte [edi + 0x11], ah
mov byte [edi + 0x12], dl
mov byte [edi + 0x13], cl
mov byte [edi + 0x14], al
mov byte [esp + 6], dh
movzx eax, word [esp + 4]
mov word [edi + 0x15], ax
mov al, byte [esp + 6]
mov byte [edi + 0x17], al
xor eax, eax
mov dword [edi], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1004b710
Capabilities:
Generate random numbers via rtlgenrandom
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xffffffe0
sub esp, 0xa0
mov eax, dword [0x104d5388]
test eax, eax
jne 0x1004b731
mov ecx, 0x104d5388
call fcn.100f2650
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 2
jb 0x1004b74c
mov esi, eax
mov eax, dword [eax]
xor eax, 1
or eax, dword [esi + 4]
je 0x1004b923
mov eax, dword [0x104d5388]
test eax, eax
jne 0x1004b75f
mov ecx, 0x104d5388
call fcn.100f2650
push eax
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x1004b791
mov esi, eax
cmp eax, 1
jne 0x1004b7de
mov eax, esp
mov ecx, 0x1044ace7
mov edx, 0x46
push 0x1044ad30
push 0x10418d40
push eax
call fcn.1000a790
add esp, 0xc
ud2
call sub.KERNEL32.dll_GetProcessHeap
push 0x160
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1004b93e
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0x158], 0x104d5388
mov esi, eax
mov eax, dword [0x104d5388]
test eax, eax
jne 0x1004b7d7
mov ecx, 0x104d5388
call fcn.100f2650
push esi
push eax
call sub.KERNEL32.dll_TlsSetValue
xorps xmm0, xmm0
mov ecx, 0x20
mov eax, esp
xor edx, edx
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp], xmm0
nop word cs:[eax + eax]
nop dword [eax]
test dl, 1
jne 0x1004b841
lea edi, [eax + ecx]
push ecx
push eax
call sub.ADVAPI32.dll_SystemFunction036
xor ecx, ecx
test al, al
mov dl, 1
mov eax, edi
jne 0x1004b800
call sub.KERNEL32.dll_GetProcessHeap
push 4
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
jne 0x1004b92f
mov ecx, 4
mov edx, 4
call fcn.10006540
ud2
movaps xmm0, xmmword [esp]
movaps xmm1, xmmword [esp + 0x10]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0x40
lea eax, [esi + 0x20]
movaps xmmword [esp + 0x10], xmm0
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm1
movaps xmm2, xmmword [esp + 0x10]
movaps xmmword [esp + 0x30], xmm0
movaps xmm1, xmmword [esp]
movaps xmm3, xmmword [esp + 0x20]
movaps xmmword [esp + 0x60], xmm2
movaps xmm2, xmmword [esp + 0x30]
movups xmmword [esi + 0x10], xmm0
movaps xmm0, xmmword [0x103e6620]
movaps xmmword [esp + 0x80], xmm1
movaps xmmword [esp + 0x70], xmm3
movaps xmmword [esp + 0x50], xmm2
movups xmmword [esi], xmm0
push 0xe0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
movaps xmm1, xmmword [esp + 0x80]
movaps xmm0, xmmword [esp + 0x60]
movaps xmm2, xmmword [esp + 0x50]
movups xmmword [esi + 0x100], xmm1
movaps xmm1, xmmword [esp + 0x70]
movups xmmword [esi + 0x110], xmm0
movups xmmword [esi + 0x130], xmm2
movups xmmword [esi + 0x120], xmm1
mov dword [esi + 0x144], 0
mov dword [esi + 0x140], 0x10000
mov dword [esi + 0x14c], 0
mov dword [esi + 0x148], 0x10000
mov dword [esi + 0x150], 0
add esi, 8
mov eax, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
mov ecx, eax
mov dword [eax], reloc.XINPUT1_3.dll_Ordinal_4
call fcn.1004b950
ud2
mov ecx, 0x160
mov edx, 8
call fcn.10006540
ud2