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

Disassembly:
push esi
sub esp, 8
mov eax, dword [0x100bb084]
test eax, eax
je 0x1003be6b
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x1003bdba
cmp dword [eax + 4], 0
mov esi, eax
jne 0x1003be61
mov eax, dword [0x100bb084]
test eax, eax
je 0x1003be94
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x1003beb1
mov esi, eax
test eax, eax
jne 0x1003be1e
movzx eax, byte [sym.kso.dll___rust_no_alloc_shim_is_unstable]
push 4
push 0xc
call sym.kso.dll___rust_alloc
add esp, 8
test eax, eax
je 0x1003becc
mov dword [eax], 0x100bb084
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x100bb084]
test eax, eax
je 0x1003beba
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1003be8d
mov eax, dword [ecx + 4]
cmp dword [ecx], 0
mov dword [ecx], 0
je 0x1003be8d
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
test edx, edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esi + 4], 1
mov dword [esi + 8], eax
je 0x1003be61
test ecx, ecx
je 0x1003be61
lock dec dword [ecx]
jne 0x1003be61
lea ecx, [esp + 4]
call fcn.10009960
add esi, 8
mov eax, esi
add esp, 8
pop esi
ret
push 0x100bb084
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jae 0x1003bdae
jmp 0x1003bdba
call sym.kso.dll_std::sync::mpmc::context::Context::new::h44efc00a43f5397c
jmp 0x1003be34
push 0x100bb084
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x1003bdd8
xor esi, esi
mov eax, esi
add esp, 8
pop esi
ret
push 0x100bb084
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
jmp 0x1003be16
push 0xc
push 4
call sym.kso.dll_alloc::alloc::handle_alloc_error::h0f7631ec9b341a7f
int3
Function at 0x1003bee0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
sub esp, 8
mov eax, dword [0x100bb094]
mov esi, ecx
test eax, eax
je 0x1003bfba
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x1003bf0d
cmp dword [eax + 4], 0
mov edi, eax
jne 0x1003bfb5
mov eax, dword [0x100bb094]
test eax, eax
je 0x1003bfdc
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x1003bff9
mov edi, eax
test eax, eax
jne 0x1003bf71
movzx eax, byte [sym.kso.dll___rust_no_alloc_shim_is_unstable]
push 4
push 0xc
call sym.kso.dll___rust_alloc
add esp, 8
test eax, eax
je 0x1003c015
mov dword [eax], 0x100bb094
mov dword [eax + 4], 0
mov edi, eax
mov eax, dword [0x100bb094]
test eax, eax
je 0x1003c003
dec eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
je 0x1003bf86
mov eax, dword [esi]
mov dword [esi], 0
test eax, eax
je 0x1003bf88
mov eax, dword [esi + 4]
jmp 0x1003bf88
xor eax, eax
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
test edx, edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [edi + 4], 1
mov dword [edi + 8], eax
je 0x1003bfb5
test ecx, ecx
je 0x1003bfb5
lock dec dword [ecx]
jne 0x1003bfb5
lea ecx, [esp + 4]
call fcn.100098e0
add edi, 8
jmp 0x1003bffb
push 0x100bb094
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jae 0x1003bf01
jmp 0x1003bf0d
push 0x100bb094
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x1003bf2b
xor edi, edi
mov eax, edi
add esp, 8
pop esi
pop edi
ret
push 0x100bb094
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
jmp 0x1003bf69
push 0xc
push 4
call sym.kso.dll_alloc::alloc::handle_alloc_error::h0f7631ec9b341a7f
int3
Function at 0x1003c020
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov eax, dword [0x100bb0a4]
test eax, eax
je 0x1003c11f
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x1003c051
mov esi, eax
mov eax, dword [eax]
or eax, dword [esi + 4]
jne 0x1003c11a
mov eax, dword [0x100bb0a4]
test eax, eax
je 0x1003c141
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x1003c15e
mov esi, eax
test eax, eax
jne 0x1003c0bc
movzx eax, byte [sym.kso.dll___rust_no_alloc_shim_is_unstable]
push 8
push 0x20
call sym.kso.dll___rust_alloc
add esp, 8
test eax, eax
je 0x1003c17a
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0x18], 0x100bb0a4
mov esi, eax
mov eax, dword [0x100bb0a4]
test eax, eax
je 0x1003c168
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp + 8]
test eax, eax
je 0x1003c0db
mov ecx, dword [eax]
movups xmm0, xmmword [eax + 8]
mov dword [eax + 4], 0
mov dword [eax], 0
cmp ecx, 1
je 0x1003c109
xorps xmm0, xmm0
mov eax, esp
movaps xmmword [esp], xmm0
push 2
push 0x10
push eax
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x1003c0fb
movaps xmm0, xmmword [esp]
jmp 0x1003c109
lea ecx, [esp + 0x10]
call fcn.10036430
movups xmm0, xmmword [esp + 0x10]
mov dword [esi + 4], 0
mov dword [esi], 1
movups xmmword [esi + 8], xmm0
add esi, 8
jmp 0x1003c160
push 0x100bb0a4
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jae 0x1003c044
jmp 0x1003c051
push 0x100bb0a4
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jne 0x1003c06f
xor esi, esi
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push 0x100bb0a4
call sym.kso.dll_std::sys::pal::windows::thread_local_key::StaticKey::init::ha446e86f87fe37fa
add esp, 4
jmp 0x1003c0b4
push 0x20
push 8
call sym.kso.dll_alloc::alloc::handle_alloc_error::h0f7631ec9b341a7f
int3
Function at 0x100598e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10059938
mov esi, dword [esp + 0x18]
lea edi, [edx + eax*2]
xor ebx, ebx
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea ebp, [ebx + eax]
jne 0x10059930
cmp ebx, ebp
ja 0x100599a6
cmp ebp, dword [esp + 0x1c]
ja 0x100599b2
add ebx, esi
nop word [eax + eax]
test eax, eax
je 0x10059932
dec eax
cmp byte [ebx], cl
lea ebx, [ebx + 1]
jne 0x10059920
jmp 0x1005998f
ja 0x10059938
cmp edx, edi
mov ebx, ebp
jne 0x100598f5
mov edx, dword [esp + 0x24]
test edx, edx
je 0x10059993
mov esi, dword [esp + 0x20]
movzx ecx, cx
mov al, 1
add edx, esi
nop dword [eax + eax]
movzx ebx, byte [esi]
lea edi, [esi + 1]
test bl, bl
js 0x10059970
mov esi, edi
sub ecx, ebx
jns 0x10059987
jmp 0x10059995
cmp edi, edx
je 0x1005999c
movzx edi, byte [esi + 1]
and ebx, 0x7f
add esi, 2
shl ebx, 8
or ebx, edi
sub ecx, ebx
js 0x10059995
xor al, 1
cmp esi, edx
jne 0x10059950
jmp 0x10059995
xor eax, eax
jmp 0x10059995
mov al, 1
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x10085f98
call sym.kso.dll_core::option::unwrap_failed::hdcacef950c458f65
push 0x10085fa8
push ebp
push ebx
call sym.kso.dll_core::slice::index::slice_index_order_fail::hcccd9689ed1eb632
push 0x10085fa8
push dword [esp + 0x20]
push ebp
call sym.kso.dll_core::slice::index::slice_end_index_len_fail::h3099cda8f6e1d372
int3
Function at 0x1007b740
Capabilities:
Resolve dns

Disassembly:
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
lea eax, [esp + 4]
push dword [esp + 0x44]
push edx
push eax
call sym.kso.dll___str_as_alloc::ffi::c_str::CString::new::SpecNewImpl_::spec_new_impl::hee89c512a72a2265
add esp, 0xc
mov eax, dword [esp + 4]
cmp eax, 0x80000000
jne 0x1007b7be
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
xorps xmm0, xmm0
mov eax, esp
mov dword [esp], 0
lea ecx, [esp + 0x14]
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
mov dword [esp + 0x1c], 1
push eax
push ecx
push 0
push edi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x1007b7ed
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, 1
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
jne 0x1007b80a
jmp 0x1007b816
mov ecx, dword [0x1007faf0]
mov edx, dword [0x1007faf4]
test eax, eax
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], 1
je 0x1007b816
push 1
push eax
push dword [esp + 0x10]
call sym.kso.dll___rust_dealloc
add esp, 0x40
pop esi
pop edi
pop ebx
ret
mov ecx, dword [esp]
movzx eax, word [esp + 0x48]
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov word [esi + 0xc], ax
xor eax, eax
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
je 0x1007b816
push 1
push ebx
push edi
call sym.kso.dll___rust_dealloc
add esp, 0xc
add esp, 0x34
pop esi
pop edi
pop ebx
ret
Function at 0x1007b910
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
mov edi, dword [esp + 0x30]
cmp dword [edi + 4], 0
je 0x1007b991
lea ebx, [edi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x1007b9cc
cmp dword [esp + 4], 0
je 0x1007b9b3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1007b9ea
mov esi, eax
inc eax
mov dword [edi], eax
mov eax, dword [0x100bba4c]
nop word [eax + eax]
mov dword [edi + 8], eax
lock cmpxchg dword [0x100bba4c], edi
jne 0x1007b970
mov byte [0x100bba48], 1
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
jmp 0x1007b9c3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x1007ba2c
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [edi], ecx
jne 0x1007b9b7
mov esi, dword [esp]
jmp 0x1007b9c3
mov esi, dword [edi]
jmp 0x1007b9c2
mov esi, eax
push dword [esp]
call dword [sym.imp.KERNEL32.dll_TlsFree]
dec esi
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov dword [esp + 8], 0
lea eax, [esp + 8]
mov ecx, esp
mov edx, 0x10080dec
push 0x10081410
push eax
call fcn.1007afe0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
mov dword [esp + 8], 0x100813c4
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x1007d778
mov dword [esp + 0x14], 0
lea eax, [esp + 8]
push 0x10081400
push eax
call sym.kso.dll_core::panicking::panic_fmt::h502dc0a95427940e
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x100813c4
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x1007d778
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.1007b040
int3
Function at 0x1007cb40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
sub esp, 0x68
movzx eax, byte [esp + 0x78]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x80]
test eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edx
je 0x1007cb91
cmp eax, 1
jne 0x1007cc0e
mov dword [esp], 0x10085446
jmp 0x1007cb98
mov dword [esp], str._matchesassertion__left__right__failed_n__left:__n_right:
mov edx, 2
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
jne 0x1007cc2a
mov ecx, esp
lea edx, [esp + 8]
lea esi, [esp + 0x10]
mov dword [esp + 0x38], 0x10085480
mov dword [esp + 0x3c], 3
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0x10064670
mov dword [esp + 0x20], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x24], 0x100645f0
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x100645f0
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 3
lea ecx, [esp + 0x38]
push eax
push ecx
call sym.kso.dll_core::panicking::panic_fmt::h502dc0a95427940e
mov edx, 7
mov dword [esp], 0x10085448
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
je 0x1007cbad
movsd xmm0, qword [ecx + 0x10]
movsd xmm2, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov edx, esp
lea esi, [esp + 0x50]
mov dword [esp + 0x38], 0x100854b4
mov dword [esp + 0x3c], 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], edx
lea edx, [esp + 8]
mov dword [esp + 0x1c], 0x10064670
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], sym.kso.dll___core::fmt::Arguments_as_core::fmt::Debug_::fmt::h2f2266b4a917313c
lea esi, [esp + 0x10]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x2c], 0x100645f0
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0x100645f0
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 4
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0x50], xmm2
lea ecx, [esp + 0x38]
push eax
push ecx
call sym.kso.dll_core::panicking::panic_fmt::h502dc0a95427940e
int3
Function at 0x40d450
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x46466b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x47f33c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], 0x4714bc
call fcn.004428cb
push 4
mov dword [esp + 0x20], 0
call fcn.00443882
mov edi, eax
add esp, 4
test edi, edi
je 0x40d4ce
call fcn.004426cc
mov dword [edi], eax
call fcn.004424fa
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0044281c
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40d4c3
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00442844
jmp 0x40d4d0
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x410040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x467670
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x47f33c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], 1
mov dword [esi + 4], eax
lea edx, [esp + 0x28]
lea eax, [esi + 0x10]
push edx
mov dword [esi], 0x4716bc
mov dword [esi + 8], ecx
push eax
mov dword [esi + 0xc], 0x471690
call fcn.0040ed80
lea ecx, [esp + 0x24]
mov dword [esi + 0x30], 0x40e450
mov dword [esp + 0x14], 0xffffffff
call fcn.0040e040
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x2c
Function at 0x41b7c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4660a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x47f33c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 6
mov dword [esi + 0x24], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esp + 0x14], eax
lea eax, [esi + 0x40]
push eax
mov dword [esi], 0x47273c
call fcn.00439a50
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x41e390
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x465fd0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x47f33c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], edi
mov eax, dword [0x482180]
mov edx, dword [eax + 0xc]
mov ecx, 0x482180
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x14]
cmp eax, edi
mov edi, dword [0x46a00c]
je 0x41e3f4
push eax
call edi
lea eax, [esp + 0x14]
push eax
push 0x472b60
push 0x80000002
mov dword [esp + 0x20], 0
call dword [section..rdata]
test eax, eax
je 0x41e456
lea eax, [ebx - 0x10]
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e436
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41e441
push eax
call edi
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x14]
push ecx
lea eax, [esp + 0x1c]
call fcn.0041e210
test eax, eax
jne 0x41e482
mov byte [esp + 0x30], al
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41e42a
mov ebx, dword [esp + 0x18]
mov eax, ebx
lea edx, [eax + 2]
jmp 0x41e490
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e490
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
call fcn.00407310
lea ecx, [esp + 0x1c]
push ecx
mov edi, esi
call fcn.0041fb10
call fcn.0041fb70
cmp word [eax], 0x5c
je 0x41e4cc
push 1
push 0x4712f8
mov eax, esi
call fcn.004071f0
cmp dword [esi + 0x14], 0
lea eax, [ebx - 0x10]
setne byte [esp + 0x13]
mov byte [esp + 0x30], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e4f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41e505
push eax
call dword [0x46a00c]
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ed90
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x3c]
movzx ecx, word [eax + ebx + 6]
movzx edx, word [eax + ebx + 0x14]
add eax, ebx
push ebp
mov ebp, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
add edx, eax
push esi
lea esi, [edx + ecx*8 - 0x10]
mov ecx, 0x472bf8
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41edd8
test dl, dl
je 0x41edd4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41edd8
add eax, 2
add ecx, 2
test dl, dl
jne 0x41edb8
xor eax, eax
jmp 0x41eddd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41ee26
mov eax, dword [esi + 0xc]
push edi
mov edi, dword [esi + 0x10]
push edi
add eax, ebx
push eax
mov ecx, ebp
call fcn.00406eb0
xor esi, esi
test edi, edi
jle 0x41ee1c
lea esp, [esp]
mov ecx, ebp
call fcn.00406270
mov bl, byte [eax + esi]
mov ecx, ebp
xor bl, 0x43
call fcn.00406270
mov byte [eax + esi], bl
inc esi
cmp esi, edi
jl 0x41ee00
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x424d80
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x46724b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f33c]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov dword [0], eax
mov ebp, dword [esp + 0xb8]
xor ebx, ebx
lea eax, [esp + 0x14]
push eax
mov byte [ebp + 0x68], bl
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp], 0x67452301
mov dword [ebp + 4], 0xefcdab89
mov dword [ebp + 8], 0x98badcfe
mov dword [ebp + 0xc], 0x10325476
call fcn.00425c50
mov ecx, dword [esp + 0xbc]
push ecx
lea esi, [esp + 0x20]
mov dword [esp + 0xb4], ebx
call fcn.00426bd0
test eax, eax
jne 0x424e22
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x1c]
lea ecx, [esp + ecx + 0x14]
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x424e1b
or eax, 4
push ebx
push eax
call fcn.004017f0
lea edi, [esp + 0x14]
mov ecx, ebp
call fcn.00424e80
lea ecx, [esp + 0x6c]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00425d30
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x70], 0x4714ac
call fcn.00442990
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret 8
Function at 0x425c50
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x467217
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x47f33c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x47353c
mov dword [edi + 0x58], 0x4734b0
lea esi, [edi + 8]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.004269b0
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], 0x473538
call fcn.00427240
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], 0x4734fc
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x483890]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x427240
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x46466b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x47f33c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], 0x4734b8
call fcn.004428cb
push 4
mov dword [esp + 0x20], 0
call fcn.00443882
mov edi, eax
add esp, 4
test edi, edi
je 0x4272be
call fcn.004426cc
mov dword [edi], eax
call fcn.004424fa
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0044281c
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4272b3
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00442844
jmp 0x4272c0
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4