joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8b0676
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dh, byte [esp + 0x21]
mov ebx, edx
bswap eax
mov dh, 0xd9
cpuid
bswap edx
jmp 0x8b053d
std
sbb edi, esp
bts ecx, esi
pop ebx
setp bl
lea edi, [ebx*4]
jmp 0x8b0506
not dl
pop word [esp + 0x27]
lea edx, reloc.IPHLPAPI.DLL_GetInterfaceInfo
push word [esp + 0x2d]
bswap ecx
not dh
jmp 0x8b058c
mov di, si
shl edi, cl
cpuid
pop word [esp]
push word [esp + 5]
lea ebp, reloc.IPHLPAPI.DLL_GetInterfaceInfo
jmp 0x8b052a
lea esp, [esp]
lea ebp, [edx*4]
lea esp, [esp]
lea edi, [ecx + ebp]
jmp 0x8b059f
mov ah, al
push edi
pop word [esp + 9]
mov al, dl
add esp, 0x36
bsr si, bx
jmp 0x8b0575
xchg ebx, ecx
setne ah
push cx
bswap edx
bswap ebp
push word [esp + 1]
jmp 0x8b062a
mov esi, dword [esp + 0xd]
push word [esp]
push esp
xchg word [esp + 0x10], di
rdtsc
not bh
jmp 0x8b055d
mov bx, word [esp]
xchg ch, ah
bswap edx
lea eax, [edi*4]
jmp 0x8b0603
mov bp, 0xb323
mov eax, 0x44a05456
xchg cx, dx
lea edx, [ebx + esi]
mov byte [esp], al
xchg bl, dh
jmp 0x8b05d7
mov ecx, edx
lea esp, [esp]
rdtsc
mov dl, byte [esp]
mov ax, word [esp]
mov esi, 0x7b704d1
jmp 0x8b0659
mov ecx, 0x1413c037
xchg byte [esp + 2], bl
pop ebx
bswap edi
lea edx, [ebp*4]
mov si, word [esp]
jmp 0x8b05ed
lea esp, [esp]
mov bp, word [esp]
bsr eax, ebx
not di
bswap eax
jmp 0x8b07c2
neg ah
mov edx, 0x79838677
lea esp, [esp]
rdtsc
mov bh, cl
inc cx
jmp 0x8b0643
mov edx, ebp
pop edi
jmp 0x8b05c3
mov ax, si
mov eax, 0x33740dc7
lea ecx, reloc.IPHLPAPI.DLL_GetInterfaceInfo
clc
mov word [esp], di
jmp 0x8b06ae
xchg edx, ebx
cmc
bt cx, bp
mov word [esp], bp
lea ebp, reloc.IPHLPAPI.DLL_GetInterfaceInfo
rdtsc
jmp 0x8b067e
mov byte [esp], ah
rdtsc
mov edi, 0xf4936d9
lea esp, [esp + 1]
xchg ebx, esi
mov bl, byte [esp]
jmp 0x8b06f8
xchg dword [esp], edx
xchg word [esp + 1], bx
mov ax, 0x393
xchg dword [esp], ecx
pop di
cld
jmp 0x8b0699
mov bl, byte [esp]
mov ch, 0xd4
add cx, 0xf246
xchg cx, ax
add si, bx
jmp 0x8b0794
cpuid
cpuid
xchg bl, ah
mov bh, 0xe1
xchg dh, ch
bsf di, bp
jmp 0x8b06e2
add esp, 1
xchg cl, ch
mov dl, bh
mov eax, 0xbe47a597
xchg bx, di
xchg ch, bh
jmp 0x8b06ce
mov dx, 0x1388
call fcn.008b0742
xchg byte [esp], cl
mov ah, 0x93
btc bx, bx
lea esi, [ebx*4]
xchg edx, eax
pushfd
jmp 0x8b0719

Function at 0x8b0933
Capabilities:
Execute anti-debugging instructions
Packed with generic packer

Disassembly:
push esp
push dword [esp]
push dword [esp + 4]
mov word [esp + 3], bp
push ax
jmp 0x8b0975
lea esp, [esp + 3]
push ebx
mov byte [esp + 1], ch
lea esp, [esp + 1]
mov dword [esp + 0x14], ebx
jmp 0x8b091d
lea esp, [esp + 2]
mov dword [esp + 0x1c], esp
mov dword [esp + 0x18], ebp
call fcn.008b095f
mov byte [esp + 1], ah
mov dword [esp], esi
mov dword [esp + 0x1c], edi
lea esp, [esp + 0x1c]
jmp 0x8b09c4
mov eax, dword fs:[0x30]
jmp 0x8b09ae
Function at 0x8b095f
Capabilities:
Execute anti-debugging instructions
Packed with generic packer

Disassembly:
call fcn.008af030
lea esp, [esp + 1]
lea esp, [esp + 1]
push word [esp]
jmp 0x8b09a1
push dword [esp + 2]
mov dword [esp + 0x1c], esi
call 0x8b0986
mov eax, dword [eax + 0xc]
jmp 0x8b0a0b
push eax
jmp 0x8af02b
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x8b09f5

Function at 0x8b0986
Capabilities:
Execute anti-debugging instructions
Packed with generic packer

Disassembly:
push esp
push dword [esp]
push dword [esp + 4]
mov word [esp + 3], bp
push ax
jmp 0x8b0975
lea esp, [esp + 3]
push ebx
mov byte [esp + 1], ch
lea esp, [esp + 1]
mov dword [esp + 0x14], ebx
jmp 0x8b091d
lea esp, [esp + 2]
mov dword [esp + 0x1c], esp
mov dword [esp + 0x18], ebp
call fcn.008b095f
mov byte [esp + 1], ah
mov dword [esp], esi
mov dword [esp + 0x1c], edi
lea esp, [esp + 0x1c]
jmp 0x8b09c4
mov eax, dword fs:[0x30]
jmp 0x8b09ae

Function at 0x8b0a51
Capabilities:
Execute anti-debugging instructions
Packed with generic packer

Disassembly:
mov dword [esp + 0x14], edx
call fcn.008b0933
lea esp, [esp + 1]
mov dword [esp + 0x10], ecx
push bx
pushfd
push dword [esp + 4]
lea esp, [esp + 2]
jmp 0x8b0956
lea esp, [esp + 1]
push ebp
jmp 0x8b09dd

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0xce73486
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x4a5c5b44
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x423b47
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x423b75
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x423b93
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00423ab1
jmp 0x423b93
mov eax, dword [esi + 0x14]
test eax, eax
je 0x423b93
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00423ab1
test edi, edi
mov eax, edi
jne 0x423b7d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x438c24]
test ecx, ecx
je 0x423c46
jmp 0x423b46
ret 8

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x408f6c
mov ecx, 0x5aa975a9
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data_1
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x401b7df5
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x402560
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x402589
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40259f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402596
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x4025d2
nop
cmp esi, ecx
jae 0x402596
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x4025c0
cmp esi, ecx
jae 0x402596
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402960
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x5f3e24]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov ebx, ecx
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x402a96
mov eax, dword [esp + 0x10]
cmp al, 2
jne 0x402a90
shr eax, 8
cmp al, 2
jne 0x402a90
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x5fd5e4], eax
cmp eax, 0xffffffff
je 0x402a90
push ecx
mov esi, esp
mov dword [esp + 0x10], esi
mov eax, dword [0x5fd828]
add eax, 0xfffffff0
push eax
call fcn.004043d0
add esp, 4
lea ecx, [esp + 0x10]
add eax, 0x10
mov dword [esi], eax
call fcn.00402610
add esp, 4
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edx, dword [esp + 0xc]
mov dword [0x5fd5ec], eax
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402a1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 2
mov word [0x5fd5e8], ax
movzx eax, word [ebx]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [sym.imp.WS2_32.dll_connect]
push 0x10
push 0x5fd5e8
push dword [0x5fd5e4]
mov word [0x5fd5ea], ax
call esi
cmp eax, 0xffffffff
jne 0x402a70
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call edi
push 0x10
push 0x5fd5e8
push dword [0x5fd5e4]
call esi
cmp eax, 0xffffffff
je 0x402a55
mov ecx, ebx
call fcn.00403660
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.00562bba
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x1a4]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00562bba
mov esp, ebp
pop ebp
ret 4
Function at 0x403df0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], ecx
call fcn.004304df
mov ebx, eax
test ebx, ebx
jne 0x403e10
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, edi
shr eax, 4
push esi
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x403ef7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x403ef7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403ef7
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x403e78
cmp esi, ecx
jae 0x403ef7
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x403e62
cmp esi, ecx
jae 0x403ef7
cmp word [esi], 0
je 0x403ef7
movzx eax, word [esi]
lea ecx, [esi + 2]
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
js 0x403f02
mov ebx, dword [ebp - 4]
mov edx, 1
mov ecx, dword [ebx]
sub edx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
sub ecx, edi
or edx, ecx
jge 0x403ec0
push edi
mov ecx, ebx
call fcn.00404490
movzx eax, word [esi]
push 0
push 0
push edi
push dword [ebx]
push eax
lea eax, [esi + 2]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x403f02
mov dword [eax - 0xc], edi
mov eax, dword [ebx]
pop esi
mov byte [edi + eax], 0
mov eax, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00402540
int3
Function at 0x404090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
xor dl, dl
mov dword [ebp - 4], ecx
test eax, eax
je 0x40419f
test eax, 0xffff0000
jne 0x40419f
push ebx
push edi
movzx edi, ax
push edi
call fcn.004304df
mov ebx, eax
test ebx, ebx
je 0x40419b
mov eax, edi
shr eax, 4
push 6
inc eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x40419b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40419b
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40419a
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x404129
cmp esi, ecx
jae 0x40419a
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x404113
cmp esi, ecx
jae 0x40419a
cmp word [esi], 0
je 0x40419a
movzx eax, word [esi]
lea ecx, [esi + 2]
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
js 0x4041a7
mov ebx, dword [ebp - 4]
mov ecx, 1
mov eax, dword [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x404171
push edi
mov ecx, ebx
call fcn.00404490
movzx eax, word [esi]
push 0
push 0
push edi
push dword [ebx]
push eax
lea eax, [esi + 2]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x4041a7
mov dword [eax - 0xc], edi
mov eax, dword [ebx]
mov byte [edi + eax], 0
pop esi
pop edi
mov dl, 1
pop ebx
mov al, dl
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00402540
int3
Function at 0x4064e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58eae0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5f3e24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 8
mov dword [ebx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00430593
mov esi, eax
add esp, 4
test esi, esi
je 0x406539
push 1
mov dword [ebp - 4], 0
call fcn.0041760d
add esp, 4
mov dword [esi + 4], eax
jmp 0x40653b
xor esi, esi
mov ecx, ebx
mov dword [ebx + 0x34], esi
call fcn.004066e0
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea esi, [eax + 8]
lea ebx, [eax + 4]
mov dword [eax + 0x2c], edx
mov dword [eax + 0xc], ebx
lea edi, [eax + 0x14]
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], 0
mov eax, dword [0x5fd840]
mov ecx, dword [0x5fd844]
mov dword [edx + 0x40], eax
mov eax, edx
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409080
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ef27
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5f3e24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xdc], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xc8
call fcn.004301ed
mov ecx, eax
test ecx, ecx
je 0x409154
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0xdc]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xe0], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x40913a
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409120
sub ecx, edx
lea eax, [ebp - 0xd8]
push ecx
push eax
mov ecx, esi
call fcn.004044f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00562bba
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402540
int3
Function at 0x4169a0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004169b0

Function at 0x416c30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416c40

Function at 0x416f60
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x5a18e0]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x5a18e0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x5a18e0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x5a18e0]
mov eax, edx
pop ebp
ret

Function at 0x42e5c1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.0056f9be
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x42e600
sub eax, 1
je 0x42e5fb
sub eax, 1
je 0x42e5f7
xor eax, eax
leave
ret
push 3
jmp 0x42e602
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret
Function at 0x430be2
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x430c0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x430c12
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
leave
ret
lea ecx, [esi + 0xc]
call fcn.00404050
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.00434609
int3

Function at 0x430eed
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x430efe
xor eax, eax
jmp 0x430f1a
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x430f1f
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
lea ecx, [esi + 0xc]
call fcn.00404050
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.00434609
int3

Function at 0x430fbd
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
push 0
push dword [ebp + 0xc]
mov eax, dword [edi]
push dword [ebp + 8]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x5a0a04]
mov ecx, edi
call esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x430ff0
pop edi
pop esi
pop ebp
ret 8
lea ecx, [edi + 0xc]
call fcn.00404050
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.00434609
int3

Function at 0x4310c4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
je 0x4310ef
push 0
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4310f5
cmp dword [ebp - 4], esi
jne 0x43110c
pop edi
pop esi
leave
ret 8
lea ecx, [edi + 0xc]
call fcn.00404050
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.00434609
lea ecx, [edi + 0xc]
call fcn.00404050
push eax
push 0xffffffffffffffff
push 0xd
call fcn.0043425f
int3
Function at 0x431f31
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x590f79
call fcn.005633e5
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 0x1c]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 8]
test edi, edi
jle 0x432028
cmp edi, dword [ebx + 0xc]
jge 0x432028
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x431f88
cmp edi, dword [esi + 8]
jl 0x432016
cmp dword [ebp + 0xc], 0
je 0x432016
xor edi, edi
jmp 0x431fba
xor edi, edi
push 0x10
mov dword [ebp - 4], edi
call fcn.00431b69
mov esi, eax
test esi, esi
je 0x431fa2
mov dword [esi], vtable.CThreadData.0
jmp 0x431fa4
mov esi, edi
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
mov dword [esi + eax], ecx
mov dword [ebx + 0x14], esi
push 4
push dword [ebx + 0xc]
call fcn.00430044
cmp dword [esi + 0xc], 0
pop ecx
pop ecx
jne 0x431fd6
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x431fe2
push 2
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x43204f
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push edi
push eax
call fcn.00564e00
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov dword [esi + 8], eax
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x432028
cmp edi, dword [esi + 8]
jge 0x432028
mov eax, dword [ebp + 0xc]
mov dword [ecx + edi*4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0056334a
ret 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0042ecee
int3