joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4250e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d60e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x490274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x493a3c]
test eax, eax
je 0x425118
cmp eax, 1
jne 0x425327
mov edx, 1
mov esi, 0x493a3c
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x42531a
mov eax, 0x493b00
xchg dword [eax], edx
test edx, edx
je 0x425157
xor esi, esi
mov dword [0x493a3c], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x493a40
mov dword [ebp - 0x14], 0x493a40
call fcn.0041bf90
push 0
mov ecx, 0x493a5c
mov dword [ebp - 4], 0
mov byte [0x493a58], 0
call fcn.00416c60
mov dword [0x493a64], 0
mov dword [0x493a68], 0
mov dword [0x493a6c], 0
mov dword [0x493a70], 0
mov dword [0x493a74], 0
mov dword [0x493a78], 0
mov dword [0x493a7c], 0
mov dword [0x493a80], 0
mov dword [0x493a84], 0
mov ecx, 0x493a8c
mov byte [ebp - 4], 4
mov byte [0x493a88], 0
call fcn.00421ac0
xorps xmm0, xmm0
mov dword [0x493aa0], 0
movups xmmword [0x493a90], xmm0
mov al, byte [ebp - 0xd]
mov ecx, 0x493aac
push 0
push 0
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0x493aa4
mov byte [0x493aa4], al
mov dword [0x493aa8], 0
mov dword [0x493aac], 0
mov dword [0x493ab0], 0
call fcn.0041bba0
mov dword [0x493aac], eax
mov dword [0x493ab4], 0
mov dword [0x493ab8], 0
mov dword [0x493abc], 0
push 8
mov ecx, 0x493aa4
mov byte [ebp - 4], 7
mov dword [0x493aa8], 0x3f800000
call fcn.0041bbd0
xorps xmm0, xmm0
mov dword [0x493ae0], 0
movlpd qword [0x493ad8], xmm0
mov dword [0x493af4], 0
mov dword [0x493af8], 0xf
mov byte [0x493ae4], 0
mov byte [ebp - 4], 9
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [0x493ad0], eax
push 0x100
cdq
push 0x1b3
xor edx, 0xcbf29ce4
xor eax, 0x84222325
push edx
push eax
call fcn.00436460
push 0
mov dword [0x493ac8], eax
mov esi, 0x493a40
mov dword [0x493acc], edx
push 0x424d40
mov dword [ebp - 4], 0xffffffff
mov dword [0x493a3c], esi
call fcn.0041fbf0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x493a3c
call fcn.0042fd80
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x429100
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dcea
mov eax, dword fs:[0]
push eax
sub esp, 0x148
push esi
mov eax, dword [0x490274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, dword [ebp + 8]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x4291fb
push 1
push 2
lea ecx, [ebp - 0xa4]
call fcn.00409140
push 0x481cc0
push 0xffffffffffffffff
push str._vs.
push dword [esi]
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0
push 0x481ccc
push str.slot_____DWORD_0xFFFFFFFF_
push eax
call fcn.00402230
add esp, 8
push eax
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00409be0
push eax
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00409be0
push eax
call fcn.00402230
push 0x18
call fcn.00435bec
add esp, 0xc
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4291c5
push eax
lea ecx, [ebp - 0xa4]
call fcn.00409080
mov esi, eax
jmp 0x4291c7
xor esi, esi
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call fcn.00406ee0
test esi, esi
je 0x4291fb
push esi
push 0x12
push str.f:360work_vpn_turbowin_master_base_threading_thread_local_win.cc
lea ecx, [ebp - 0x154]
call fcn.0040f5c0
lea ecx, [ebp - 0x154]
call fcn.0040f6f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x429230
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b28c
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
mov eax, dword [0x490274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x4292ba
call fcn.004106d0
cmp eax, 4
jg 0x4292aa
push 4
push 0x24
push str.f:360work_vpn_turbowin_master_base_threading_thread_local_win.cc
lea ecx, [ebp - 0xc0]
call fcn.0040f530
mov dword [ebp - 4], ebx
add eax, 8
push str.Failed_to_TlsSetValue__.
mov ebx, 1
push eax
mov dword [ebp - 0x10], ebx
call fcn.00402230
add esp, 8
test bl, 1
je 0x4292ba
lea ecx, [ebp - 0xc0]
call fcn.0040f6f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42daf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e247
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x490274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ebp + 8], 0
mov esi, dword [ebp + 0xc]
je 0x42dba4
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push eax
push 0
push 0xffffffffffffffff
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x42db4e
xor al, al
jmp 0x42dc8c
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00403600
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x230]
call fcn.0041a700
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0041a740
lea ecx, [ebp - 0x230]
call fcn.00402e70
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.00402e70
jmp 0x42dbb3
push esi
push 0x6c
call fcn.0041b860
add esp, 8
test al, al
je 0x42db47
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], str.Microsoft
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x264], 9
push eax
mov ecx, esi
call fcn.0041a8b0
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0041a740
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.00402e70
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], str.Internet_Explorer
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x264], 0x11
push eax
mov ecx, esi
call fcn.0041a8b0
push eax
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.0041a740
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.00402e70
lea eax, [ebp - 0x270]
mov dword [ebp - 0x270], str.Quick_Launch
push eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x26c], 0xc
push eax
mov ecx, esi
call fcn.0041a8b0
push eax
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.0041a740
lea ecx, [ebp - 0x260]
call fcn.00402e70
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret

Function at 0x42e500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e471
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x490274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x42e5c3
cmp eax, 0x104
ja 0x42e5c3
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403600
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x260]
call fcn.0041a700
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0041abe0
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0041a740
lea ecx, [ebp - 0x248]
call fcn.00402e70
lea ecx, [ebp - 0x260]
call fcn.00402e70
lea ecx, [ebp - 0x230]
call fcn.00402e70
mov al, 1
jmp 0x42e5c5
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret
Function at 0x42e5e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e4c1
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x490274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x42e6d1
xor eax, eax
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e653
sub eax, edx
lea ecx, [ebp - 0x234]
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00403650
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x264]
call fcn.0041a700
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0041abe0
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0041a740
lea ecx, [ebp - 0x24c]
call fcn.00402e70
lea ecx, [ebp - 0x264]
call fcn.00402e70
lea ecx, [ebp - 0x234]
call fcn.00402e70
mov al, 1
jmp 0x42e6d3
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret

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

Disassembly:
mov eax, dword [ecx + 4]
push esi
mov esi, dword [ecx]
sub eax, esi
sar eax, 2
test eax, eax
je 0x430271
push ebx
push edi
mov edi, eax
mov ebx, dword [esi]
lea esi, [esi + 4]
movzx edx, al
movzx ecx, bl
xor edx, ecx
shr eax, 8
mov ecx, ebx
shr ecx, 8
xor eax, dword [edx*4 + 0x472ac0]
movzx edx, cl
movzx ecx, al
xor edx, ecx
shr eax, 8
mov ecx, ebx
shr ebx, 0x18
shr ecx, 0x10
xor eax, dword [edx*4 + 0x472ac0]
movzx edx, cl
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x472ac0]
movzx ecx, al
xor ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x472ac0]
sub edi, 1
jne 0x430213
pop edi
pop ebx
pop esi
ret
Function at 0x432250
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x490274]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x432273
test eax, eax
jne 0x432319
mov eax, dword [0x4901cc]
cmp eax, 0xffffffff
je 0x432319
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x432318
push esi
push edi
lea eax, [ebp - 0x104]
mov ecx, 0x40
push eax
push dword [0x4901cc]
mov esi, ebx
lea edi, [ebp - 0x104]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.00436160
add esp, 4
mov edi, 0x40
mov esi, dword [0x493bb0]
xor dl, dl
test esi, esi
jle 0x4322ff
mov ecx, dword [ebp + esi*4 - 0x104]
test ecx, ecx
je 0x4322fa
mov eax, dword [esi*4 + 0x493bb8]
test eax, eax
je 0x4322fa
push ecx
mov dword [ebp + esi*4 - 0x104], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x4322d1
dec edi
test edi, edi
jle 0x432308
test dl, dl
jne 0x4322c5
push 0
push dword [0x4901cc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret 0xc

Function at 0x432330
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x490274]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4901cc], 0xffffffff
push ebx
push esi
push edi
jne 0x432371
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edx, eax
mov esi, 0x4901cc
mov ecx, edx
or eax, 0xffffffff
lock cmpxchg dword [esi], ecx
cmp eax, 0xffffffff
je 0x432371
push edx
call dword [sym.imp.KERNEL32.dll_TlsFree]
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.0044e130
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push dword [0x4901cc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x100
call fcn.00436157
add esp, 4
lea esi, [ebp - 0x104]
mov ebx, eax
mov ecx, 0x40
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [0x4901cc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435bdb
mov esp, ebp
pop ebp
ret
Function at 0x432990
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x490274]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x432a31
cmp byte [esi + 0x3d], 0
je 0x432a31
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x4329e7
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4329f9
sub eax, 1
je 0x4329fd
sub eax, 2
je 0x432a31
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x432a1a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00454800
add esp, 0x10
cmp edi, eax
jne 0x4329e7
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00435bdb
mov esp, ebp
pop ebp
ret
Function at 0x432ce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x490274]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x432d10
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x432d4c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x432d4c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x432e31
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x432d74
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x432da7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.00456919
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x432e31
cmp eax, 1
jle 0x432e04
cmp eax, 3
jne 0x432e31
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.00432730
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x432e21
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00454800
add esp, 0x10
cmp edi, eax
jne 0x432e31
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x432d37
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435bdb
mov esp, ebp
pop ebp
ret 4
Function at 0x433390
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x4333b4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406ad0
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x4333d5
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x4333d7
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test ebx, ebx
jl 0x43345f
jg 0x4333ea
test esi, esi
je 0x43345f
test ecx, ecx
jl 0x43342c
jg 0x4333f4
test eax, eax
je 0x43342c
cmp ebx, ecx
jg 0x433406
jl 0x4333fe
cmp esi, eax
jae 0x433406
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0044d630
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [edi + 0x2c]
add dword [ebp + 8], ecx
sub esi, ecx
sbb ebx, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x433432
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test ebx, ebx
jl 0x43345f
jg 0x43343c
test esi, esi
je 0x43345f
cmp dword [edi + 0x4c], 0
je 0x43345f
mov ecx, edi
call fcn.00432b40
push dword [edi + 0x4c]
push esi
push 1
push dword [ebp + 8]
call fcn.00456c09
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
pop esi
sbb edx, ebx
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x433480
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4334a4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004069f0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x4334c5
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x4334c7
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x433544
jg 0x4334da
test esi, esi
je 0x433544
test ecx, ecx
jl 0x43351e
jg 0x4334e4
test eax, eax
je 0x43351e
cmp edi, ecx
jg 0x4334f6
jl 0x4334ee
cmp esi, eax
jae 0x4334f6
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.0044d630
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x433521
mov edx, dword [ebp + 8]
test edi, edi
jl 0x433544
jg 0x43352b
test esi, esi
je 0x433544
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x433544
push eax
push esi
push 1
push edx
call fcn.00454800
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x438e8b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x45e177
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045dfed
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x4018c0
Capabilities:
Create thread
Hide graphical window
Resume thread

Disassembly:
push ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0xffffffffffffffec
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffbffff
or eax, 0x80
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0xffffffffffffffec
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0x51
push 0
push 0
push 0xfffff830
push 0xfffff830
push 1
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 1
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x9a0], 0
jne 0x401976
lea eax, [esp]
push eax
push 0
push esi
push 0x4018a0
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
sub esp, 0xffffffe8
mov dword [esi + 0x9a0], eax
test eax, eax
je 0x401976
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop ecx
ret

Function at 0x402080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
mov edi, eax
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
or eax, eax
jne 0x402097
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4020c8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4020c4
cmp esi, eax
jae 0x4020c8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x4020b4
cmp esi, eax
jb 0x4020ce
xor eax, eax
pop esi
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret