joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418720
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 1], 0
push 0x41b6ec
push 4
push 0
push 0x4174d4
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x41b6e8], eax
xor eax, eax
push ebp
push 0x4187db
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x41b706], 0
jne 0x418769
mov eax, 0x4187f4
call fcn.00418454
jmp 0x418774
mov eax, dword [0x41b6e8]
push eax
call sub.kernel32.dll_ResumeThread
call fcn.00412ae4
lea eax, [ebp - 8]
push eax
mov eax, dword [0x41b6e8]
push eax
call sub.kernel32.dll_GetExitCodeThread
cmp dword [ebp - 8], 0x103
je 0x418774
cmp dword [ebp - 8], 0
je 0x41879e
call fcn.00403050
jmp 0x4187e2
mov dl, 1
mov eax, dword [0x41b6f8]
call fcn.0040f910
mov eax, dword [0x41b6cc]
call fcn.0041129c
mov eax, dword [0x41b700]
call fcn.0041129c
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4187e2
mov eax, dword [0x41b6e8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov al, byte [ebp - 1]
pop ecx
pop ecx
pop ebp
ret

Function at 0x418804
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
xor eax, eax
push ebp
push 0x41886b
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push 0
lea eax, [ebp - 4]
mov ecx, dword [0x41b6f4]
mov edx, 0x418880
call fcn.0040373c
mov eax, dword [ebp - 4]
call fcn.004038b4
push eax
mov eax, dword [0x41b6fc]
call fcn.004038b4
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
push 0x3e8
call sub.kernel32.dll_Sleep
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418872
lea eax, [ebp - 4]
call fcn.00403498
ret
Function at 0x409cc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
sub esp, 0x94
mov edi, dword [esp + 0xa4]
mov esi, edx
push ecx
call fcn.00408da0
add esp, 4
lea ecx, [esp + 0x20]
push edx
push eax
push ecx
call fcn.00463130
add esp, 0xc
lea eax, [esp + 0x40]
push edi
push esi
push eax
call fcn.00463130
add esp, 0xc
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x44]
cmp edi, esi
jne 0x409d71
mov al, byte [esp + 0x3d]
cmp al, byte [esp + 0x5d]
jne 0x409d71
cmp byte [esp + 0x3e], 2
jne 0x409d71
cmp byte [esp + 0x5e], 2
jne 0x409d71
mov al, byte [esp + 0x28]
xor edx, edx
mov ecx, 2
mov ah, byte [esp + 0x48]
cmp al, 3
setb dl
cmp al, 6
cmove edx, ecx
cmp dl, 2
setne al
and al, dl
xor edx, edx
cmp ah, 3
setb dl
cmp ah, 6
cmove edx, ecx
cmp dl, 2
setne cl
and cl, dl
cmp al, cl
jne 0x409d71
push edi
push dword [esp + 0x44]
push dword [esp + 0x28]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x409e68
mov al, byte [esp + 0x28]
mov ecx, dword [esp + 0x20]
cmp al, 6
je 0x409d9c
mov edx, dword [esp + 0x38]
movsd xmm0, qword [esp + 0x29]
movsd xmm1, qword [esp + 0x31]
mov dword [esp + 0xf], edx
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm0
movsd xmm0, qword [esp]
movsd xmm1, qword [esp + 8]
mov ebx, dword [esp + 0xf]
movzx edx, word [esp + 0x3c]
mov ah, byte [esp + 0x3e]
movsd qword [esp + 0x85], xmm1
movsd qword [esp + 0x7d], xmm0
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edi
mov byte [esp + 0x7c], al
mov al, byte [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov word [esp + 0x90], dx
mov byte [esp + 0x92], ah
cmp al, 6
je 0x409e11
mov edx, dword [esp + 0x58]
movsd xmm0, qword [esp + 0x49]
movsd xmm1, qword [esp + 0x51]
mov dword [esp + 0x6f], edx
movsd qword [esp + 0x68], xmm1
movsd qword [esp + 0x60], xmm0
movsd xmm0, qword [esp + 0x60]
movsd xmm1, qword [esp + 0x68]
movzx edx, word [esp + 0x5c]
mov ah, byte [esp + 0x5e]
mov edi, dword [esp + 0x6f]
movsd qword [esp + 0x11], xmm1
movsd qword [esp + 9], xmm0
mov dword [esp + 0x18], edi
mov dword [esp], ecx
mov dword [esp + 4], esi
mov byte [esp + 8], al
mov word [esp + 0x1c], dx
mov byte [esp + 0x1e], ah
mov eax, esp
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.00411f20
add esp, 8
add esp, 0x94
pop esi
pop edi
pop ebx
ret
mov al, 1
jmp 0x409e5e
Function at 0x41ba80
Capabilities:
Get system information on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
test esi, esi
je 0x41ba9b
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, esp
push 0x11
push str.RAYON_NUM_THREADSRAYON_RS_NUM_CPUSThreadPoolBuildErrorkind
push edi
call fcn.0045b720
add esp, 0xc
cmp dword [esp], 0
mov ebx, dword [esp + 4]
je 0x41bad1
test ebx, ebx
je 0x41bb06
mov eax, dword [esp + 8]
test eax, eax
je 0x41bb06
push 1
push eax
push ebx
call fcn.00406c80
add esp, 0xc
jmp 0x41bb06
test ebx, ebx
je 0x41bb06
mov ebp, dword [esp + 8]
push dword [esp + 0xc]
push ebx
push edi
call fcn.0047a560
add esp, 0xc
mov al, byte [esp]
mov esi, dword [esp + 4]
test ebp, ebp
je 0x41bb02
push 1
push ebp
push ebx
mov ebx, eax
call fcn.00406c80
mov eax, ebx
add esp, 0xc
test al, al
je 0x41bb6f
push 0x11
push 0x4a8d59
push edi
call fcn.0045b720
add esp, 0xc
cmp dword [esp], 0
mov ebx, dword [esp + 4]
je 0x41bb3a
test ebx, ebx
je 0x41bb77
mov eax, dword [esp + 8]
test eax, eax
je 0x41bb77
push 1
push eax
push ebx
call fcn.00406c80
add esp, 0xc
jmp 0x41bb77
test ebx, ebx
je 0x41bb77
mov ebp, dword [esp + 8]
push dword [esp + 0xc]
push ebx
push edi
call fcn.0047a560
add esp, 0xc
mov al, byte [esp]
mov esi, dword [esp + 4]
test ebp, ebp
je 0x41bb6b
push 1
push ebp
push ebx
mov ebx, eax
call fcn.00406c80
mov eax, ebx
add esp, 0xc
test al, al
jne 0x41bb77
test esi, esi
jne 0x41ba91
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.0041f7a0
Function at 0x41cfd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x41cfea
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
ja 0x41cfff
jmp 0x41d00a
push edi
call fcn.004649b0
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jbe 0x41d00a
cmp dword [eax], 0
je 0x41d00a
add eax, 4
pop esi
pop edi
ret
mov eax, dword [edi]
test eax, eax
je 0x41d070
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x41d085
mov esi, eax
test eax, eax
jne 0x41d054
push 4
push 0xc
call fcn.00406c70
add esp, 8
test eax, eax
je 0x41d09b
mov dword [eax], 0
mov dword [eax + 8], edi
mov esi, eax
mov eax, dword [edi]
test eax, eax
jne 0x41d04c
push edi
call fcn.004649b0
add esp, 4
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41d08a
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], 0
cmp edx, 1
jne 0x41d08c
mov ecx, dword [eax + 4]
jmp 0x41d08c
push edi
call fcn.004649b0
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jne 0x41d01c
xor eax, eax
pop esi
pop edi
ret
xor ecx, ecx
mov dword [esi], 1
lea eax, [esi + 4]
mov dword [esi + 4], ecx
pop esi
pop edi
ret
push 4
push 0xc
call fcn.004804a0
add esp, 8
ud2

Function at 0x41d0b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
test eax, eax
je 0x41d0cc
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
ja 0x41d0e1
jmp 0x41d0ee
push edi
call fcn.004649b0
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jbe 0x41d0ee
cmp dword [eax], 0
je 0x41d0ee
add eax, 4
jmp 0x41d1a9
mov eax, dword [edi]
test eax, eax
je 0x41d116
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x41d12a
mov esi, eax
xor eax, eax
cmp esi, 1
je 0x41d1a9
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x41d164
jmp 0x41d183
push edi
call fcn.004649b0
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
jne 0x41d0ff
push 4
push 0x14
call fcn.00406c70
add esp, 8
test eax, eax
je 0x41d1ae
mov dword [eax], 0
mov dword [eax + 0x10], edi
mov esi, eax
mov eax, dword [edi]
test eax, eax
jne 0x41d154
push edi
call fcn.004649b0
add esp, 4
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41d183
mov ecx, dword [eax]
mov dword [eax], 0
cmp ecx, 1
jne 0x41d183
mov ebp, dword [eax + 4]
mov dl, byte [eax + 8]
mov bl, byte [eax + 9]
movzx edi, word [eax + 0xa]
mov ecx, dword [eax + 0xc]
jmp 0x41d190
call fcn.00403df0
xor ecx, ecx
xor ebx, ebx
xor edx, edx
xor ebp, ebp
mov dword [esi], 1
mov dword [esi + 4], ebp
mov byte [esi + 8], dl
mov byte [esi + 9], bl
mov word [esi + 0xa], di
lea eax, [esi + 4]
mov dword [esi + 0xc], ecx
pop esi
pop edi
pop ebx
pop ebp
ret
push 4
push 0x14
call fcn.004804a0
add esp, 8
ud2
Function at 0x420c70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x420c8a
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
ja 0x420c9f
jmp 0x420caa
push edi
call fcn.004649b0
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jbe 0x420caa
cmp dword [eax], 0
je 0x420caa
add eax, 4
pop esi
pop edi
ret
mov eax, dword [edi]
test eax, eax
je 0x420d04
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x420d19
mov esi, eax
test eax, eax
jne 0x420cf4
push 4
push 0xc
call fcn.00406c70
add esp, 8
test eax, eax
je 0x420d1e
mov dword [eax], 0
mov dword [eax + 8], edi
mov esi, eax
mov eax, dword [edi]
test eax, eax
jne 0x420cec
push edi
call fcn.004649b0
add esp, 4
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
push dword [esp + 0x10]
push esi
call fcn.00420e00
add esp, 8
pop esi
pop edi
ret
push edi
call fcn.004649b0
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jne 0x420cbc
xor eax, eax
pop esi
pop edi
ret
push 4
push 0xc
call fcn.004804a0
add esp, 8
ud2
Function at 0x43daa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov edi, dword [esp + 0xa8]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xac]
mov ebp, dword [esp + 0xb0]
mov eax, dword [esp + 0xb8]
test edi, edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], eax
je 0x43db00
js 0x43dcf3
push 1
push edi
call fcn.00406c70
add esp, 8
mov esi, eax
test eax, eax
jne 0x43db05
push 1
push edi
jmp 0x43dcfe
mov esi, 1
mov bl, byte [esp + 0xbc]
push edi
push dword [esp + 0xa8]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, bl
push eax
push 1
call fcn.00435900
add esp, 8
mov ebx, eax
xor eax, eax
mov dword [esp + 0x60], str.error:
mov dword [esp + 0x6c], esi
mov dword [esp + 0x64], 6
mov dword [esp + 0x70], edi
cmp bl, 2
setae al
test ebp, ebp
lea ecx, [eax + eax*2]
lea eax, [eax + eax + 1]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x68], eax
je 0x43dbaa
lea eax, [esp + 0x34]
mov dword [esp + 0xc], 0x4ad2d4
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 0
mov ecx, esp
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x48], 0x403db0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x20], 1
push eax
push ecx
call fcn.00474030
add esp, 8
jmp 0x43dbd4
push 1
push 1
call fcn.00406c70
add esp, 8
test eax, eax
je 0x43dcfa
mov dword [esp], eax
mov dword [esp + 4], 1
mov byte [eax], 0xa
mov dword [esp + 8], 1
cmp bl, 2
mov eax, 3
mov dword [esp + 0x78], 0x4ad394
mov dword [esp + 0x7c], 6
mov dword [esp + 0x44], 0x4ad8b0
mov dword [esp + 0x48], 5
mov dword [esp + 0x4c], 0
lea ecx, [esp + 0x80]
sbb eax, 0
mov dword [esp + 0x74], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x10], 0x435b10
mov dword [esp + 0x14], eax
mov eax, esp
mov dword [esp + 0x18], 0x435b10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x20], 0x409010
mov dword [esp + 0x24], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x28], 0x403db0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x30], 0x435b10
mov dword [esp + 0x54], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x58], 5
push eax
push ecx
call fcn.00474030
add esp, 8
mov eax, dword [esp + 4]
test eax, eax
je 0x43dc95
push 1
push eax
push dword [esp + 8]
call fcn.00406c80
add esp, 0xc
push 4
push 0xc
call fcn.00406c70
add esp, 8
test eax, eax
je 0x43dced
mov ecx, dword [esp + 0xa0]
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
movsd xmm0, qword [esp + 0x80]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x14], 1
movsd qword [ecx], xmm0
mov dword [ecx + 8], eax
mov byte [ecx + 0x18], 1
mov eax, ecx
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret
push 4
push 0xc
jmp 0x43dcfe
call fcn.00473a80
ud2
push 1
push 1
call fcn.004804a0
add esp, 8
ud2
Function at 0x440c10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
movsd xmm2, qword [ecx + 0x18]
movsd xmm1, qword [ecx + 0x10]
mov eax, dword [ecx + 0x28]
movsd xmm0, qword [ecx + 0x20]
movsd qword [esp + 0x24], xmm2
movsd qword [esp + 0x1c], xmm1
movsd xmm2, qword [ecx]
movsd xmm1, qword [ecx + 8]
test eax, eax
mov dword [esp + 0x34], eax
movsd qword [esp + 0x2c], xmm0
movsd qword [esp + 0x14], xmm1
movsd qword [esp + 0xc], xmm2
je 0x440c96
cmp eax, 1
jne 0x440caf
mov dword [esp + 0x34], 0
cmp byte [esp + 0x31], 0
jne 0x440c96
cmp byte [esp + 0x30], 0
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
jne 0x440c87
cmp ebp, ebx
je 0x440c96
mov byte [esp + 0x31], 1
sub ebp, ebx
add ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x440cc5
mov dword [esi], 4
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x440de3
dec eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], eax
call fcn.0043ec70
mov ebx, eax
mov ebp, edx
test ebx, ebx
je 0x440c96
push 4
push 0x20
call fcn.00406c70
add esp, 8
test eax, eax
je 0x440ded
movsd xmm2, qword [esp + 0x24]
movsd xmm1, qword [esp + 0x1c]
mov dword [eax], ebx
mov dword [esp], eax
movsd xmm0, qword [esp + 0x2c]
mov edi, eax
mov dword [eax + 4], ebp
mov eax, dword [esp + 0x34]
mov esi, 1
mov dword [esp + 4], 4
mov dword [esp + 8], 1
movsd qword [esp + 0x50], xmm2
movsd qword [esp + 0x48], xmm1
movsd xmm2, qword [esp + 0xc]
movsd xmm1, qword [esp + 0x14]
mov dword [esp + 0x60], eax
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x38], xmm2
jmp 0x440d4c
mov dword [edi + esi*8], ebp
mov dword [edi + esi*8 + 4], ebx
inc esi
mov dword [esp + 8], esi
mov eax, dword [esp + 0x60]
cmp eax, 1
je 0x440d80
test eax, eax
je 0x440dcf
dec eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x60], eax
call fcn.0043ec70
mov ebp, eax
mov ebx, edx
test ebp, ebp
jne 0x440db1
jmp 0x440dcf
mov dword [esp + 0x60], 0
cmp byte [esp + 0x5d], 0
jne 0x440dcf
cmp byte [esp + 0x5c], 0
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
jne 0x440da2
cmp ebx, ebp
je 0x440dcf
mov byte [esp + 0x5d], 1
sub ebx, ebp
add ebp, dword [esp + 0x40]
test ebp, ebp
je 0x440dcf
cmp esi, dword [esp + 4]
jne 0x440d40
push 1
push esi
lea eax, [esp + 8]
push eax
call fcn.0047da40
add esp, 0xc
mov edi, dword [esp]
jmp 0x440d40
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 8]
movsd xmm0, qword [esp]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
mov eax, esi
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
push 4
push 0x20
call fcn.004804a0
add esp, 8
ud2
Function at 0x45b520
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x434
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x46c980
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
lea eax, [ebp - 0x440]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ebx, 0x200
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 2
cmp ebx, 0x201
jae 0x45b5b0
jmp 0x45b5f0
mov ebx, edi
jbe 0x45b644
cmp ebx, 0x201
jb 0x45b5f0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
mov eax, ebx
sub eax, edx
sub ecx, edx
cmp ecx, eax
jae 0x45b5df
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x34]
push eax
call fcn.0047f980
add esp, 4
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov edi, dword [ebp - 0x24]
mov esi, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
jmp 0x45b5fb
lea edi, [ebp - 0x440]
mov esi, 0x200
mov dword [ebp - 0x20], edi
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push edi
push ebx
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
jne 0x45b61e
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x45b683
cmp edi, ebx
jne 0x45b5a0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x45b6cc
add ebx, ebx
cmp ebx, 0x201
jb 0x45b5f0
jmp 0x45b5b0
cmp edi, esi
mov dword [ebp - 0x10], 0
ja 0x45b6e9
lea eax, [ebp - 0x40]
push edi
push dword [ebp - 0x20]
push eax
call fcn.004603d0
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp + 8]
movsd xmm0, qword [ebp - 0x40]
mov dword [esi + 0xc], eax
movsd qword [esi + 4], xmm0
xor eax, eax
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x45b6a4
jmp 0x45b6b6
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, 1
mov dword [esi + 4], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x45b6b6
add eax, eax
je 0x45b6b6
push 2
push eax
push dword [ebp - 0x24]
call fcn.00406c80
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x434
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 0x4b2aa0
push 0x28
push str.internal_error:_entered_unreachable_code_rustc_4b91a6ea7258a947e59c6522cd5898e7c0a6a88flibrary_alloc_src_vecmod.rs
call fcn.00480530
add esp, 0xc
jmp 0x45b6f8
push 0x4b2ab0
push esi
push edi
call fcn.00480750
add esp, 0xc
ud2
Function at 0x45caa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov esi, esp
mov dword [esi + 0x80], ebp
mov dword [esi + 0x84], esp
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x8c], 0x46c9f0
movaps xmm0, xmmword [0x4b0b10]
mov ebx, ecx
lea edi, [esi + 0xc]
lea ecx, [esi + 0x30]
mov eax, dword fs:[0]
mov dword [esi + 0x88], eax
lea eax, [esi + 0x88]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov word [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x1c], 7
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
movups xmmword [esi + 0xc], xmm0
push edi
push eax
call fcn.00467ac0
add esp, 8
cmp dword [esi + 0x30], 0
je 0x45cb46
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], 1
jmp 0x45cb73
mov edx, dword [esi + 0x34]
lea ecx, [esi + 0x30]
mov dword [esi + 8], ebx
mov dword [esi + 0x90], 0
mov dword [esi + 4], edx
call fcn.00467d20
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [esi + 0x30], 0
mov ebx, dword [esi + 8]
je 0x45cb99
movsd xmm0, qword [esi + 0x34]
mov eax, 1
movsd qword [ebx + 4], xmm0
mov ecx, dword [esi + 0x88]
mov dword [ebx], eax
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esi + 0x38]
lea ecx, [ebx + 8]
push 0x48
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
jmp 0x45cb82
Function at 0x4636d0
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov esi, esp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], esp
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x44], 0x46cbf0
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x40]
mov edx, dword fs:[0]
mov dword [esi + 0x40], edx
mov dword fs:[0], ecx
mov eax, dword [eax]
mov ebx, dword [eax]
mov dword [eax], 0
test ebx, ebx
je 0x463770
xorps xmm0, xmm0
lea eax, [esi + 0x10]
movaps xmmword [esi + 0x10], xmm0
push 2
push 0x10
push eax
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov edi, eax
test eax, eax
je 0x46375a
call dword [sym.imp.kernel32.dll_GetLastError]
xorps xmm0, xmm0
mov dword [esi + 4], eax
mov dword [esi], 0
movaps xmmword [esi + 0x10], xmm0
push 0x10
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x463786
test edi, edi
setne byte [ebx]
mov eax, dword [esi + 0x40]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4b1ccc
push 0x2b
push 0x4b0edf
call fcn.00480530
add esp, 0xc
ud2
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi + 0xc], eax
mov eax, esi
mov dword [esi + 0x10], 0x4b2970
mov dword [esi + 0x14], 3
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x28], eax
lea eax, [esi + 8]
mov dword [esi + 0x2c], fcn.0045d510
mov dword [esi + 0x30], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x34], fcn.0045d510
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 2
push 0x4b2988
lea eax, [esi + 0x10]
push eax
call fcn.00480680
add esp, 8
ud2
Function at 0x4649b0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x46cc80
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 0x4c1174
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov dword [ebp - 0x20], 0x4c1174
mov esi, dword [edi]
test esi, esi
jne 0x464a55
mov ebx, dword [edi + 4]
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x464a71
mov esi, eax
test ebx, ebx
je 0x464a4d
push 4
push 0xc
call fcn.00406c70
add esp, 8
test eax, eax
je 0x464b1a
mov dword [eax], ebx
mov dword [eax + 4], esi
mov dword [eax + 8], 0
mov ecx, eax
mov eax, dword [0x4c11a8]
nop word cs:[eax + eax]
nop dword [eax]
mov dword [ecx + 8], eax
lock cmpxchg dword [0x4c11a8], ecx
jne 0x464a40
mov eax, esi
test esi, esi
xchg dword [edi], eax
je 0x464a91
push dword [ebp - 0x20]
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 0x4b29f8
push 0x2e
push 0x4b2998
call fcn.00480530
add esp, 0xc
jmp 0x464b2d
lea eax, [ebp - 0x68]
mov dword [ebp - 0x50], 0x4b10a0
mov dword [ebp - 0x4c], 2
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x68], 0x4b1f58
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x58], 0x4b0c58
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x38]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], 0x477630
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x3c], 1
push eax
push ecx
push edx
call fcn.0045fc00
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.00458c20
mov ecx, 7
int 0x29
ud2
mov dword [ebp - 0x10], 0
push 4
push 0xc
call fcn.004804a0
add esp, 8
ud2