joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa3b790
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa3b7cf
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret

Function at 0xa53d42
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a539bf

Function at 0xa5a3f5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a5a26b
Function at 0x4104dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x4104eb
pop dword [ebp - 0x30]
mov eax, 0xa6e6f7f4
add eax, 0x595a0cf7
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x3fdca
push 0
mov eax, 0x7aee71f7
sub eax, 0x7aac1fdf
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0xb6b4e696
add ecx, 0x494b69d0
xor edx, edx
add edx, eax
mov esi, 0x6edae94c
sub esi, 0x6e97954c
add esi, dword [ebp - 0x30]
mov ebx, 0x2adb7c4b
add ebx, 0x6b907542
sub dword [ebp - 0x20], esi
mov edi, dword [esi]
sub dword [ebp - 0x10], 0x6471b3ca
add edi, ebx
mov dword [ebp - 0x1c], 0x745b4d0e
mov dword [edx], edi
xor dword [ebp - 4], 0xbcd5fc09
add edx, 0x6591dfe7
add edx, 0x9a6e201d
add esi, 0xf232e845
add esi, 0xdcd17bf
loop 0x41054c
add eax, 0x256bdac4
sub eax, 0x256aa659
xor ebx, ebx
add ebx, eax
add eax, 0x1c6a8e80
sub eax, 0x1c6a8e7b
mov ecx, 0xa28bdea8
add ecx, 0x5db42158
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x41d2d5
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.0040e95e
and dword [ebp - 4], 0
cmp dword [0x4310f8], 0
mov ebx, eax
jne 0x41d386
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41d437
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x42d324
push edi
call esi
test eax, eax
je 0x41d437
push eax
call fcn.004104dc
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4310f8], eax
call esi
push eax
call fcn.004104dc
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4310fc], eax
call esi
push eax
call fcn.004104dc
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x431100], eax
call esi
push eax
call fcn.004104dc
pop ecx
mov dword [0x431108], eax
test eax, eax
je 0x41d386
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004104dc
pop ecx
mov dword [0x431104], eax
mov eax, dword [0x431104]
cmp eax, ebx
je 0x41d3de
cmp dword [0x431108], ebx
je 0x41d3de
push eax
call fcn.004104dc
push dword [0x431108]
mov esi, eax
call fcn.004104dc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41d3de
test edi, edi
je 0x41d3de
call esi
test eax, eax
je 0x41d3d5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41d3d5
test byte [ebp - 0xc], 1
jne 0x41d3de
or dword [ebp + 0x10], 0x200000
jmp 0x41d417
mov eax, dword [0x4310fc]
cmp eax, ebx
je 0x41d417
push eax
call fcn.004104dc
pop ecx
test eax, eax
je 0x41d417
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41d417
mov eax, dword [0x431100]
cmp eax, ebx
je 0x41d417
push eax
call fcn.004104dc
pop ecx
test eax, eax
je 0x41d417
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4310f8]
call fcn.004104dc
pop ecx
test eax, eax
je 0x41d437
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41d439
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
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
nop
nop
pop eax
nop
nop
mov esi, 0x37ca24fc
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..text
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6c86614
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x403a8d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6034f0
cmp edx, dword [eax]
je 0x403aaf
add eax, 8
inc ecx
cmp eax, 0x603580
jl 0x403aa0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6034f0]
jne 0x403bdd
mov eax, dword [0x6038ac]
cmp eax, 1
je 0x403bb7
test eax, eax
jne 0x403ae0
cmp dword [0x603440], 1
je 0x403bb7
cmp edx, 0xfc
je 0x403bdd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403b17
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00404140
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004042b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x403b5a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004042b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406428
push edi
call fcn.00405650
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00404140
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00404150
lea eax, [ebp - 0xa0]
push 0x406408
push eax
call fcn.00404150
push dword [esi + 0x6034f4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00404150
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004055c1
add esp, 0x2c
pop edi
jmp 0x403bdd
lea eax, [ebp + 8]
lea esi, [esi + 0x6034f4]
push 0
push eax
push dword [esi]
call fcn.004042b0
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 0xdda4c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdda4ca
pushal
call 0xdda4d0
pop ebp
sub ebp, 0x10
sub ebp, 0x9da4c0
jmp 0xdda4e6
mov eax, 0x9da4c0
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b9
mov edx, 0x8c5f2dcd
xor byte [eax], dl
inc eax
dec ecx
jne 0xdda4fd
jmp 0xdda510
inc esi
add byte [esi + 0x44], al
int1
int 0xcd
int 0x4c
or al, 0x35
int 0xcd
int 0xce
add byte [ebp - 0x39], dh
int 0xcd
int 0x77
in eax, 0xcd
int 0xcd
cmp ch, byte [edi]
into
add eax, 0xcdc14c46
int 0xcd
into
or byte [ebp - 0x607a5a63], bl
in eax, dx
int 0xa5
mov ch, 0x9f
mov al, 0xcd
int3
Function at 0x403b41
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [edx]
mov ebp, dword [edx + 8]
mov ebx, dword [edx + 4]
mov esi, ecx
mov ecx, esp
mov edx, eax
call fcn.00401157
push 0xfffffffffffffff0
pop eax
test eax, eax
je 0x403b6d
mov cl, byte [ebp + eax + 0x10]
xor byte [esp + eax + 0x10], cl
inc eax
jmp 0x403b5e
mov edi, esp
movdqu xmm0, xmmword [edi]
mov edx, edi
pxor xmm0, xmmword [esi]
aesenc xmm0, xmmword [esi + 0x10]
aesenc xmm0, xmmword [esi + 0x20]
aesenc xmm0, xmmword [esi + 0x30]
aesenc xmm0, xmmword [esi + 0x40]
aesenc xmm0, xmmword [esi + 0x50]
aesenc xmm0, xmmword [esi + 0x60]
aesenc xmm0, xmmword [esi + 0x70]
aesenc xmm0, xmmword [esi + 0x80]
aesenc xmm0, xmmword [esi + 0x90]
aesenc xmm0, xmmword [esi + 0xa0]
aesenc xmm0, xmmword [esi + 0xb0]
aesenc xmm0, xmmword [esi + 0xc0]
aesenc xmm0, xmmword [esi + 0xd0]
aesenclast xmm0, xmmword [esi + 0xe0]
lea esi, [esp + 0x10]
mov ecx, esi
movdqu xmmword [edi], xmm0
call fcn.00401157
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
movsd qword [ebp + 8], xmm1
movsd qword [ebp], xmm0
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [ebx + 8], xmm1
movsd qword [ebx], xmm0
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x404021
Capabilities:
Create process on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
mov dword [esp + 8], ecx
lea ecx, [esp + 0xc]
mov edi, edx
mov dword [esp + 4], edx
and dword [ecx + 4], 0
xor ebx, ebx
inc ebx
mov dword [ecx], ebx
call fcn.004ec3cc
lea ecx, [esp + 0x14]
mov dword [esp], eax
mov dword [ecx], ebx
mov dword [ecx + 4], esi
call fcn.004ec3cc
lea ecx, [esp + 0x1c]
mov ebp, eax
mov dword [ecx], ebx
mov dword [ecx + 4], edi
call fcn.004ec3cc
mov esi, eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x24]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
call fcn.004ec3cc
lea ecx, [esp + 0x2c]
mov edi, eax
mov dword [ecx], ebx
and dword [ecx + 4], 0
call fcn.004ec3cc
push ebx
push eax
push edi
push esi
push ebp
push dword [esp + 0x14]
call dword [sym.imp.shell32.dll_ShellExecuteW]
mov ecx, ebx
xor edx, edx
mov esi, eax
call fcn.004ecd07
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.004ecd07
mov edx, dword [esp + 4]
mov ecx, ebx
call fcn.004ecd07
mov edx, dword [esp + 8]
mov ecx, ebx
call fcn.004ecd07
mov eax, esi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4040d1
Capabilities:
Check if file exists

Disassembly:
push edi
push esi
sub esp, 8
mov esi, ecx
mov ecx, esp
mov dword [ecx], 1
mov dword [ecx + 4], esi
call fcn.004ec3cc
push eax
call dword [sym.imp.shlwapi.dll_PathFileExistsW]
xor ecx, ecx
mov edx, esi
mov edi, eax
inc ecx
call fcn.004ecd07
mov eax, edi
add esp, 8
pop esi
pop edi
ret
Function at 0x404103
Capabilities:
Get common file path

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, edx
mov esi, ecx
push 3
pop ebp
mov ecx, esp
mov dword [ecx], ebp
call fcn.004ec3cc
lea ecx, [esp + 8]
mov ebx, eax
mov dword [ecx], ebp
call fcn.004ec3cc
push dword [esp + 0x24]
push 0
push eax
push edi
push ebx
call dword [sym.imp.shell32.dll_SHGetFolderPathW]
mov ecx, esi
mov edx, eax
call fcn.00403e7a
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x410ba3
Capabilities:
Parse pe header

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov esi, edx
mov edi, ecx
push 0x514760
push 0
call fcn.004c29e7
pop ecx
pop edx
xor ebp, ebp
cmp byte [eax], 0x4d
jne 0x410c95
mov ecx, edi
mov edx, esi
push 0x514770
push 1
call fcn.004c29e7
pop ecx
pop edx
cmp byte [eax], 0x5a
jne 0x410c95
mov ecx, edi
mov edx, esi
push 0x514780
push 0x3c
call fcn.004c29e7
pop ecx
pop edx
movzx eax, byte [eax]
mov ecx, edi
mov edx, esi
mov dword [esp], eax
push 0x514790
push 0x3d
call fcn.004c29e7
pop ecx
pop edx
movzx ebx, byte [eax]
mov ecx, edi
mov edx, esi
push 0x5147a0
push 0x3e
call fcn.004c29e7
pop ecx
pop edx
movzx ebp, byte [eax]
mov ecx, edi
mov edx, esi
push 0x5147b0
push 0x3f
call fcn.004c29e7
pop ecx
pop edx
shl ebx, 8
movzx eax, byte [eax]
shl ebp, 0x10
mov ecx, edi
mov edx, esi
add ebx, dword [esp]
or ebp, ebx
mov ebx, eax
shl ebx, 0x18
or ebx, ebp
push 0x5147c0
push ebx
call fcn.004c29e7
pop ecx
pop edx
cmp byte [eax], 0x50
jne 0x410c93
lea eax, [ebx + 1]
mov ecx, edi
mov edx, esi
push 0x5147d0
push eax
call fcn.004c29e7
pop ecx
pop edx
cmp byte [eax], 0x45
jne 0x410c93
lea eax, [ebx + 2]
mov ecx, edi
mov edx, esi
push 0x5147e0
push eax
call fcn.004c29e7
pop ecx
pop edx
cmp byte [eax], 0
je 0x410c9f
xor ebp, ebp
mov eax, ebp
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebx + 3]
mov ecx, edi
mov edx, esi
push 0x5147f0
push eax
call fcn.004c29e7
pop ecx
pop edx
cmp byte [eax], 0
mov ebp, 0
jne 0x410c95
lea eax, [ebx + 0x28]
mov ecx, edi
mov edx, esi
push 0x514800
push eax
call fcn.004c29e7
pop ecx
pop edx
movzx eax, byte [eax]
mov ecx, edi
mov edx, esi
mov dword [esp], eax
lea eax, [ebx + 0x29]
push 0x514810
push eax
call fcn.004c29e7
pop ecx
pop edx
movzx eax, byte [eax]
mov ecx, edi
mov edx, esi
mov dword [esp + 4], eax
lea eax, [ebx + 0x2a]
push 0x514820
push eax
call fcn.004c29e7
pop ecx
pop edx
mov ebp, ebx
movzx ebx, byte [eax]
mov ecx, edi
mov edx, esi
add ebp, 0x2b
push 0x514830
push ebp
call fcn.004c29e7
pop ecx
pop edx
mov ecx, dword [esp + 4]
movzx ebp, byte [eax]
shl ebx, 0x10
shl ecx, 8
shl ebp, 0x18
add ecx, dword [esp]
or ebx, ecx
or ebp, ebx
jmp 0x410c95
Function at 0x416945
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [edx], 2
movdqa xmmword [ecx], xmm0
ret

Function at 0x41db10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, edx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
xor esi, esi
lea edx, [eax + edx*2]
movzx ebx, byte [eax + 1]
cmp byte [eax], ch
lea eax, [eax + 2]
lea edi, [esi + ebx]
jne 0x41db60
cmp edi, esi
jb 0x41dbc8
cmp edi, dword [esp + 0x1c]
ja 0x41dbdb
add esi, dword [esp + 0x18]
nop word [eax + eax]
test ebx, ebx
je 0x41db62
dec ebx
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x41db50
jmp 0x41dbbf
ja 0x41db68
cmp eax, edx
mov esi, edi
jne 0x41db23
mov edi, dword [esp + 0x24]
movzx ecx, cx
mov al, 1
add edi, ebp
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebp]
lea esi, [ebp + 1]
test dl, dl
js 0x41dba0
mov ebp, esi
sub ecx, edx
jns 0x41dbb7
jmp 0x41dbc1
cmp esi, edi
je 0x41dbf0
movzx esi, byte [ebp + 1]
and edx, 0x7f
add ebp, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x41dbc1
xor al, 1
cmp ebp, edi
jne 0x41db80
jmp 0x41dbc1
xor eax, eax
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x516f04
call fcn.0050d730
add esp, 4
ud2
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 0x516f04
call fcn.0050d580
add esp, 4
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x516f14
call fcn.0050d590
add esp, 4
ud2
Function at 0x420d5e
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov ecx, 0x58b03c
call fcn.004db8e5
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jbe 0x420d86
cmp dword [eax], 0
mov edi, eax
je 0x420d86
add edi, 4
jmp 0x420df6
mov ecx, 0x58b03c
call fcn.004db8e5
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x420df4
mov esi, eax
test eax, eax
jne 0x420dcb
push 0xc
pop ecx
push 4
pop edx
call fcn.00420c6a
and dword [eax], 0
mov ecx, 0x58b03c
mov esi, eax
mov dword [eax + 8], 0x58b03c
call fcn.004db8e5
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
call fcn.00420747
call fcn.004207a3
mov edx, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, esp
lea edi, [esi + 4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov dword [esi], 1
mov dword [esi + 4], eax
call fcn.00420831
jmp 0x420df6
xor edi, edi
mov eax, edi
add esp, 8
pop esi
pop edi
pop ebx
ret

Function at 0x42158e
Capabilities:
Get common file path

Disassembly:
push edi
push esi
push eax
mov edi, esp
mov esi, ecx
and dword [edi], 0
push edi
push 0
push 0
push edx
call dword [sym.imp.shell32.dll_SHGetKnownFolderPath]
test eax, eax
mov eax, dword [edi]
je 0x4215b7
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov byte [esi + 0xc], 2
jmp 0x4215d3
push eax
call dword [sym.imp.kernel32.dll_lstrlenW]
mov edx, dword [esp]
mov ecx, esi
push eax
call fcn.004c7f70
pop eax
push dword [esp]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
add esp, 4
pop esi
pop edi
ret

Function at 0x421912
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebp, edx
mov dword [esp], ecx
mov esi, dword [esp]
test ebp, ebp
je 0x421956
lea eax, [esi + ebp]
mov ebx, ebp
mov dword [esp], eax
push 2
push ebp
push esi
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
xor ebp, ebp
cmp eax, 0xc0000000
jb 0x42191c
mov edi, eax
push ebx
push esi
call dword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
jne 0x42191c
add edi, 0x80000000
jmp 0x421958
xor edi, edi
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4349f3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [esp + 0x18], ecx
mov ecx, edx
mov edi, edx
mov esi, dword [esp + 0x34]
call fcn.00423eae
lea ecx, [edi + 8]
mov edx, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 8], esi
call fcn.00423d63
movzx ecx, word [edi + 0x38]
mov ebp, dword [edi + 4]
mov word [esp + 0xe], ax
movzx eax, ax
xor ebx, ebx
mov dword [esp + 0x14], eax
and eax, ecx
mov dword [esp], ecx
mov dword [esp + 4], edi
mov edi, eax
xor eax, eax
cmp edi, ebp
jae 0x434a3b
mov eax, dword [esp + 4]
mov eax, dword [eax]
movzx ecx, word [eax + edi*4]
cmp ecx, 0xffff
je 0x434aaa
mov dword [esp + 0x1c], ecx
mov esi, ebx
movzx eax, word [eax + edi*4 + 2]
mov edx, edi
mov ebx, dword [esp]
mov ecx, ebx
and ecx, eax
sub edx, ecx
and edx, ebx
mov ebx, esi
mov esi, dword [esp + 0x1c]
cmp edx, ebx
jb 0x434aaa
cmp ax, word [esp + 0xe]
jne 0x434aa4
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x28]
push 0x53bac8
push esi
call fcn.004245b3
pop ecx
pop edx
mov edx, dword [esp + 8]
mov ecx, eax
call fcn.00424712
test al, al
jne 0x434add
inc edi
inc ebx
mov eax, edi
jmp 0x434a3b
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 8]
cmp ebx, 0x200
mov dword [esp], 0
setae cl
mov eax, dword [edx]
mov esi, dword [ebp + 4]
mov ebx, dword [ebp + 8]
xor eax, 2
or eax, dword [edx + 4]
mov edx, dword [ebp]
mov ebp, dword [ebp + 0xc]
setne al
and al, cl
jmp 0x434aea
mov al, 1
mov edx, edi
mov dword [esp], eax
mov al, 2
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 0x18]
cmp byte [esp], 0
mov dword [ecx], edx
mov edx, dword [esp + 4]
mov dword [ecx + 4], esi
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebp
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edx
mov edx, dword [esp + 0x14]
mov word [ecx + 0x18], dx
mov byte [ecx + 0x1a], al
je 0x434b24
mov ecx, dword [esp + 8]
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00433d3c
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43979c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x120
mov ebx, dword [esp + 0x138]
mov edi, dword [esp + 0x134]
call fcn.004397b9
Function at 0x440180
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov esi, ecx
mov ecx, 0x58b04c
call fcn.004db8e5
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jbe 0x4401b2
cmp dword [eax], 0
mov edi, eax
jne 0x4402f8
mov ecx, 0x58b04c
call fcn.004db8e5
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x4402f6
mov edi, eax
test eax, eax
jne 0x4401fb
push 8
pop ecx
push 4
pop edx
call fcn.00420c6a
and dword [eax], 0
mov ecx, 0x58b04c
mov edi, eax
mov dword [eax + 4], 0x58b04c
call fcn.004db8e5
push edi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
test esi, esi
je 0x440213
mov ebx, dword [esi]
and dword [esi], 0
test ebx, ebx
jne 0x4402eb
xor ecx, ecx
call fcn.0043e741
lea esi, [esp + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0xc], edi
mov ecx, esi
movaps xmmword [esi + 0x10], xmm0
movaps xmmword [esi], xmm0
call fcn.00440388
test eax, eax
jne 0x440302
lea ebx, [esp + 0x10]
lea esi, [esp + 0x88]
lea edx, [esp + 0x40]
movaps xmm0, xmmword [ebx]
movaps xmm1, xmmword [ebx + 0x10]
mov ecx, esi
movaps xmmword [edx + 0x10], xmm1
movaps xmmword [edx], xmm0
call fcn.0043e75d
push 0xc
pop eax
mov ecx, eax
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x84]
mov ecx, eax
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
push 0xd
pop ecx
lea edi, [esp + 0x40]
lea esi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
push 8
pop edx
mov ecx, 0x158
call fcn.00420c6a
mov ebx, eax
xor eax, eax
inc eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
lea eax, [ebx + 8]
push 0x100
push 0
push eax
call fcn.004ff8d0
add esp, 0xc
lea edi, [ebx + 0x10c]
mov dword [ebx + 0x108], 0x40
push 0xd
pop ecx
lea esi, [esp + 0x40]
mov eax, 0x10000
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x140], eax
mov edi, dword [esp + 0xc]
and dword [ebx + 0x144], 0
mov dword [ebx + 0x148], eax
and dword [ebx + 0x14c], 0
and dword [ebx + 0x150], 0
mov ecx, dword [edi]
mov dword [edi], ebx
call fcn.0043e741
jmp 0x4402f8
xor edi, edi
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor edx, edx
lea ecx, [esp + 0x80]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x14], 0x5395cc
inc edx
mov dword [ecx + 8], 0x539550
mov dword [eax], esi
mov dword [eax + 4], 0x440347
mov dword [ecx + 0xc], edx
and dword [ecx], 0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov edx, 0x5395ac
call fcn.0050d4d0
ud2
Function at 0x4411a8
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov esi, ecx
mov ecx, 0x58b0fc
call fcn.004db8e5
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jbe 0x4411cc
cmp dword [eax], 0
je 0x4411cc
add eax, 4
jmp 0x441235
mov ecx, 0x58b0fc
call fcn.004db8e5
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x441223
mov edi, eax
test eax, eax
jne 0x441211
push 0xc
pop ecx
push 4
pop edx
call fcn.00423cc6
and dword [eax], 0
mov ecx, 0x58b0fc
mov edi, eax
mov dword [eax + 8], 0x58b0fc
call fcn.004db8e5
push edi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
test esi, esi
je 0x441227
mov ecx, dword [esi]
and dword [esi], 0
test ecx, ecx
je 0x441229
mov ecx, dword [esi + 4]
jmp 0x441229
xor eax, eax
jmp 0x441235
xor ecx, ecx
mov dword [edi], 1
lea eax, [edi + 4]
mov dword [edi + 4], ecx
pop esi
pop edi
ret
Function at 0x4429de
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, ecx
mov ecx, 0x58b05c
call fcn.004db8e5
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
jbe 0x442a07
cmp dword [eax], 0
je 0x442a07
add eax, 4
jmp 0x442a92
mov ecx, 0x58b05c
call fcn.004db8e5
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x442a90
mov edi, eax
test eax, eax
jne 0x442a4c
push 0x14
pop ecx
push 4
pop edx
call fcn.00423cc6
and dword [eax], 0
mov ecx, 0x58b05c
mov edi, eax
mov dword [eax + 0x10], 0x58b05c
call fcn.004db8e5
push edi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
test esi, esi
je 0x442a6d
mov eax, dword [esi]
and dword [esi], 0
test eax, eax
je 0x442a6d
movzx eax, word [esi + 0xa]
mov ebp, dword [esi + 4]
mov dl, byte [esi + 8]
mov bl, byte [esi + 9]
mov ecx, dword [esi + 0xc]
mov esi, eax
jmp 0x442a75
xor ecx, ecx
xor ebx, ebx
xor edx, edx
xor ebp, ebp
mov dword [edi], 1
mov dword [edi + 4], ebp
mov byte [edi + 8], dl
mov byte [edi + 9], bl
mov word [edi + 0xa], si
lea eax, [edi + 4]
mov dword [edi + 0xc], ecx
jmp 0x442a92
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret