joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46bfa5
Capabilities:
Hide graphical window

Disassembly:
push ebp
lea ebp, [esp - 0x424]
sub esp, 0x424
push 0xffffffffffffffff
push 0x49e879
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, dword [0x4e3014]
xor eax, ebp
mov dword [ebp + 0x420], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x400
xor edi, edi
lea eax, [ebp + 0x20]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14]
mov edx, 0x4ad8a0
call fcn.004142f5
push 0x200
lea ecx, [ebp + 0x20]
mov dword [ebp - 4], edi
push ecx
push dword [eax]
mov ecx, 0x4f5044
call fcn.0049d023
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ebx, [esi + 0x340]
mov eax, dword [ebx]
lea ecx, [ebp + 0x20]
push ecx
mov ecx, ebx
call dword [eax + 0x17c]
push edi
mov edi, dword [sym.imp.mfc140u.dll_CWnd::ShowWindow]
lea ecx, [esi + 0xcf8]
call edi
push 0
lea ecx, [esi + 0x958]
call edi
push 0
lea ecx, [esi + 0xb20]
call edi
push 0
push dword [esi + 0x16c]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
mov eax, dword [ebp - 0x10]
push 0
push dword [eax + 0x208]
call esi
mov eax, dword [ebp - 0x10]
push 0
push dword [eax + 0x2a4]
call esi
mov esi, dword [ebp - 0x10]
push 0
lea ecx, [esi + 0x478]
call edi
push 0
lea ecx, [esi + 0x5b0]
call edi
push 0
lea ecx, [esi + 0x820]
call edi
push 0
lea ecx, [esi + 0x6e8]
call edi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp + 0x10]
push eax
push dword [esi + 0x360]
call edi
lea eax, [ebp + 0x10]
mov ecx, esi
mov esi, dword [sym.imp.mfc140u.dll_CWnd::ScreenToClient]
push eax
call esi
mov eax, 0x96
add dword [ebp + 0x14], eax
add dword [ebp + 0x1c], eax
add dword [ebp + 0x10], eax
add dword [ebp + 0x18], eax
lea eax, [ebp + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.0041d3f7
mov ebx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
push dword [ebx + 0xd0]
call edi
lea eax, [ebp]
mov ecx, ebx
push eax
call esi
mov ecx, dword [ebp + 0xc]
mov edi, 0x96
mov esi, dword [ebp + 4]
add ecx, edi
mov eax, dword [ebp + 8]
add esi, edi
mov edx, dword [ebp]
add eax, edi
push 1
add edx, edi
mov dword [ebp + 0xc], ecx
sub ecx, esi
mov dword [ebp + 8], eax
push ecx
sub eax, edx
mov dword [ebp + 4], esi
push eax
push esi
push edx
push dword [ebx + 0xd0]
mov dword [ebp], edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x420]
xor ecx, ebp
call fcn.0042d374
add ebp, 0x424
leave
ret
Function at 0x4729ca
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4e3014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x4729fa
call fcn.0049d7f9
cmp eax, 0xffffffff
jne 0x4729fa
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [edi]
test ax, ax
je 0x472ab7
push esi
mov esi, edi
mov ecx, edi
mov edx, eax
cmp dx, 0x2f
je 0x472a19
cmp dx, 0x5c
jne 0x472a1b
mov esi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x472a0d
cmp esi, edi
je 0x472a61
sub esi, edi
lea eax, [ebp - 0x414]
and esi, 0xfffffffe
push esi
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp esi, 0x208
jae 0x472ac5
xor eax, eax
lea edx, [ebp - 0x414]
mov ecx, ebx
mov word [ebp + esi - 0x414], ax
call fcn.004729ca
xor eax, eax
mov esi, 0x104
mov word [ebp - 0x20c], ax
test ebx, ebx
je 0x472a85
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.0049d7f9
pop esi
cmp eax, 0xffffffff
jne 0x472ab7
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0042d374
leave
ret
call fcn.0042d754
int3
Function at 0x49448c
Capabilities:
Check http status code

Disassembly:
push 0x30
mov eax, 0x4a5b3a
call fcn.0042db9a
mov edi, ecx
xor esi, esi
xor ebx, ebx
inc esi
push esi
mov ecx, esi
call fcn.0043d889
push eax
mov edx, 0x4c46e0
lea ecx, [ebp - 0x24]
call fcn.004142f5
sub esp, 0x18
mov dword [ebp - 4], ebx
mov ecx, esp
push dword [eax]
call fcn.0041d3b9
mov ecx, edi
call fcn.00440855
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp byte [edi + 0x18], bl
je 0x494598
xor edx, edx
lea ecx, [ebp - 0x3c]
call fcn.00464046
mov dword [ebp - 4], esi
cmp dword [eax + 0x14], 8
jb 0x4944f6
mov eax, dword [eax]
push ecx
mov ecx, dword [edi + 0x20]
mov edx, eax
push 0x4883000
sub esp, 0xc
push 0x4b7704
call fcn.00488651
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
add esp, 0x18
mov esi, eax
call fcn.0041d1e9
test esi, esi
je 0x494591
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 4
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.004404a0
or dword [ebp - 0x14], 0x180
lea eax, [ebp - 0x14]
add esp, 4
mov ecx, esi
push eax
push 0x1f
pop edx
call fcn.00465f31
push ebx
push ebx
push ebx
xor edx, edx
mov ecx, esi
call fcn.0044ab53
add esp, 0x10
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
mov edx, 0x20000013
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0048feb2
add esp, 0xc
movzx ebx, bl
cmp dword [ebp - 0x18], 0xc8
push 1
pop ecx
cmove ebx, ecx
mov ecx, esi
call fcn.0041c9e9
mov ecx, edi
call fcn.0049461f
mov al, bl
call fcn.0042db44
ret
Function at 0x49bbbb
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x49f66f
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4e3014]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x218]
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
lea ecx, [ebp]
push 0x4ad458
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov edi, 0x104
mov byte [ebp - 4], 1
lea edx, [ebp + 4]
mov ecx, edi
call fcn.0040c837
cmp eax, edi
ja 0x49bc8b
test eax, eax
je 0x49bc8b
mov edx, dword [ebp + 0x21c]
lea ecx, [ebp + 4]
call fcn.00471eea
test eax, eax
je 0x49bc8b
mov edx, 0x4adf60
lea ecx, [ebp - 0x10]
call fcn.004142f5
lea ecx, [ebp + 4]
mov byte [ebp - 4], 2
push ecx
push dword [eax]
lea eax, [ebp]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__24]
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push ecx
lea eax, [ebp]
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__15]
call fcn.0041a418
test al, al
jne 0x49bc8b
push 0
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp]
mov ecx, esi
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__15]
lea ecx, [ebp]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 0x21c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.0042d374
add ebp, 0x210
leave
ret 8
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x55772b40
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2e2975e0
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x405440
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x40544d
xor eax, eax
pop ebp
ret 4
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x405517
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x41dab0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x41dab0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x41dab0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x41dab0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x41dab0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x41dab0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x41dab0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x41dab0]
dec edi
jne 0x405462
pop edi
test esi, esi
je 0x40553a
jmp 0x405520
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x41dab0]
dec esi
jne 0x405520
not ecx
mov eax, ecx
pop esi
pop ebp
ret 4
Function at 0x4012bc
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
cmp esi, 1
jl 0x4012cd
cmp esi, 9
jle 0x4012d8
push str.Invalid_compression_level
call fcn.004052b4
pop ecx
mov edi, 0x10000
xor ebx, ebx
push edi
push ebx
push 0x44db60
mov dword [0x431198], esi
call fcn.004274e0
mov eax, esi
add esp, 0xc
shl eax, 3
cmp esi, 1
movzx ecx, word [eax + 0x42e07a]
mov dword [0x431184], ecx
movzx ecx, word [eax + 0x42e078]
mov dword [0x43119c], ecx
movzx ecx, word [eax + 0x42e07c]
movzx eax, word [eax + 0x42e07e]
mov dword [0x431190], ecx
mov dword [0x431194], eax
jne 0x40133a
mov eax, dword [esp + 0x14]
or byte [eax], 4
jmp 0x401346
cmp esi, 9
jne 0x401346
mov eax, dword [esp + 0x14]
or byte [eax], 2
push edi
push 0x45db60
mov dword [0x431180], ebx
mov dword [0x4311a4], ebx
call dword [0x431178]
pop ecx
cmp eax, ebx
pop ecx
mov dword [0x4311a8], eax
je 0x4013ba
cmp eax, 0xffffffff
je 0x4013ba
mov esi, 0x106
mov dword [0x43118c], ebx
cmp eax, esi
jae 0x401392
cmp dword [0x43118c], ebx
jne 0x401392
call fcn.0040150b
cmp dword [0x4311a8], esi
jb 0x40137d
xor eax, eax
xor ecx, ecx
movzx edx, byte [ecx + 0x45db60]
and eax, 0x3ff
and edx, 0x7fff
shl eax, 5
xor eax, edx
inc ecx
cmp ecx, 2
jb 0x401396
mov dword [0x431188], eax
jmp 0x4013ca
mov dword [0x43118c], 1
mov dword [0x4311a8], ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4015e9
Capabilities:
Encode data using xor

Disassembly:
push ecx
and dword [esp], 0
cmp dword [0x431198], 3
push edi
push 2
pop edi
jg 0x401606
call fcn.0040186b
jmp 0x401868
cmp dword [0x4311a8], 0
je 0x401840
mov ecx, dword [0x431180]
push ebx
push ebp
push esi
mov esi, 0x7fff
mov ebp, 0x3ff
movzx eax, byte [ecx + 0x45db62]
mov edx, dword [0x431188]
and eax, esi
and edx, ebp
mov ebx, ecx
shl edx, 5
xor eax, edx
and ebx, esi
movzx edx, word [eax*2 + 0x44db60]
mov dword [0x431188], eax
lea eax, [eax*2 + 0x44db60]
mov word [ebx*2 + 0x43db60], dx
mov ebx, dword [0x4311a0]
mov word [eax], cx
mov eax, edi
push 2
mov dword [0x43117c], eax
test edx, edx
pop edi
je 0x4016b7
cmp eax, dword [0x431184]
jae 0x4016b7
mov eax, ecx
sub eax, edx
cmp eax, 0x7efa
ja 0x4016b7
push edx
call fcn.004013ce
mov edi, eax
mov eax, dword [0x4311a8]
cmp edi, eax
pop ecx
jbe 0x40169a
mov edi, eax
mov ecx, dword [0x431180]
cmp edi, 3
jne 0x4016b7
mov eax, ecx
sub eax, dword [0x4311a0]
cmp eax, 0x1000
jbe 0x4016b7
push 2
pop edi
mov eax, dword [0x43117c]
cmp eax, 3
jb 0x401781
cmp edi, eax
ja 0x401781
sub ecx, ebx
add eax, 0xfffffffd
dec ecx
push eax
push ecx
call fcn.00403af8
pop ecx
pop ecx
push 1
pop ecx
sub ecx, dword [0x43117c]
add dword [0x4311a8], ecx
sub dword [0x43117c], 2
mov ecx, dword [0x431180]
movzx edx, byte [ecx + 0x45db63]
mov edi, dword [0x431188]
inc ecx
and edi, ebp
and edx, esi
shl edi, 5
xor edx, edi
mov edi, ecx
mov dword [0x431188], edx
and edi, esi
mov bx, word [edx*2 + 0x44db60]
dec dword [0x43117c]
lea edx, [edx*2 + 0x44db60]
mov word [edi*2 + 0x43db60], bx
mov word [edx], cx
jne 0x4016f8
and dword [esp + 0x10], 0
push 2
inc ecx
pop edi
test eax, eax
mov dword [0x431180], ecx
je 0x4017ef
mov eax, dword [0x4311a4]
test eax, eax
jl 0x401763
lea edx, [eax + 0x45db60]
jmp 0x401765
xor edx, edx
sub ecx, eax
push 0
push ecx
push edx
call fcn.004032ff
mov ecx, dword [0x431180]
add esp, 0xc
mov dword [0x4311a4], ecx
jmp 0x4017ef
cmp dword [esp + 0x10], 0
je 0x4017da
movzx eax, byte [ecx + 0x45db5f]
push eax
push 0
call fcn.00403af8
pop ecx
test eax, eax
pop ecx
je 0x4017d2
mov eax, dword [0x4311a4]
test eax, eax
jl 0x4017ae
lea ecx, [eax + 0x45db60]
jmp 0x4017b0
xor ecx, ecx
mov edx, dword [0x431180]
push 0
sub edx, eax
push edx
push ecx
call fcn.004032ff
mov ecx, dword [0x431180]
add esp, 0xc
mov dword [0x4311a4], ecx
jmp 0x4017e2
mov ecx, dword [0x431180]
jmp 0x4017e2
mov dword [esp + 0x10], 1
inc ecx
dec dword [0x4311a8]
mov dword [0x431180], ecx
mov ebx, 0x106
cmp dword [0x4311a8], ebx
jae 0x401818
cmp dword [0x43118c], 0
jne 0x401818
call fcn.0040150b
cmp dword [0x4311a8], ebx
mov ecx, dword [0x431180]
jb 0x4017fc
cmp dword [0x4311a8], 0
jne 0x401626
cmp dword [esp + 0x10], 0
pop esi
pop ebp
pop ebx
je 0x401846
movzx eax, byte [ecx + 0x45db5f]
push eax
push 0
call fcn.00403af8
pop ecx
pop ecx
mov ecx, dword [0x431180]
mov edx, dword [0x4311a4]
test edx, edx
jl 0x401858
lea eax, [edx + 0x45db60]
jmp 0x40185a
xor eax, eax
sub ecx, edx
push 1
push ecx
push eax
call fcn.004032ff
add esp, 0xc
pop edi
pop ecx
ret
Function at 0x40186b
Capabilities:
Encode data using xor

Disassembly:
push ecx
push edi
xor edi, edi
cmp dword [0x4311a8], edi
mov dword [0x43117c], 2
je 0x401a32
mov ecx, dword [0x431180]
push ebx
push ebp
push esi
mov esi, 0x7fff
mov ebx, 0x3ff
movzx eax, byte [ecx + 0x45db62]
mov edx, dword [0x431188]
and eax, esi
and edx, ebx
mov ebp, ecx
shl edx, 5
xor eax, edx
and ebp, esi
movzx edx, word [eax*2 + 0x44db60]
mov dword [0x431188], eax
lea eax, [eax*2 + 0x44db60]
mov word [ebp*2 + 0x43db60], dx
test edx, edx
mov word [eax], cx
je 0x4018fa
mov eax, ecx
sub eax, edx
cmp eax, 0x7efa
ja 0x4018fa
push edx
call fcn.004013ce
mov edi, eax
mov eax, dword [0x4311a8]
cmp edi, eax
pop ecx
jbe 0x4018f4
mov edi, eax
mov ecx, dword [0x431180]
cmp edi, 3
jb 0x40199b
sub ecx, dword [0x4311a0]
lea eax, [edi - 3]
push eax
push ecx
call fcn.00403af8
sub dword [0x4311a8], edi
cmp edi, dword [0x431184]
pop ecx
mov dword [esp + 0x14], eax
pop ecx
ja 0x40196d
mov ecx, dword [0x431180]
dec edi
movzx eax, byte [ecx + 0x45db63]
mov edx, dword [0x431188]
inc ecx
and edx, ebx
and eax, esi
shl edx, 5
xor eax, edx
mov dword [0x431188], eax
mov bp, word [eax*2 + 0x44db60]
lea edx, [eax*2 + 0x44db60]
mov eax, ecx
and eax, esi
dec edi
mov word [eax*2 + 0x43db60], bp
mov word [edx], cx
jne 0x40192e
jmp 0x4019bc
mov ecx, dword [0x431180]
add ecx, edi
xor edi, edi
mov dword [0x431180], ecx
movzx eax, byte [ecx + 0x45db60]
movzx edx, byte [ecx + 0x45db61]
and eax, ebx
and edx, esi
shl eax, 5
xor eax, edx
mov dword [0x431188], eax
jmp 0x4019c3
movzx eax, byte [ecx + 0x45db60]
push eax
push 0
call fcn.00403af8
dec dword [0x4311a8]
pop ecx
pop ecx
mov dword [esp + 0x10], eax
mov ecx, dword [0x431180]
inc ecx
mov dword [0x431180], ecx
cmp dword [esp + 0x10], 0
je 0x4019f7
mov eax, dword [0x4311a4]
test eax, eax
jl 0x4019db
lea edx, [eax + 0x45db60]
jmp 0x4019dd
xor edx, edx
sub ecx, eax
push 0
push ecx
push edx
call fcn.004032ff
mov ecx, dword [0x431180]
add esp, 0xc
mov dword [0x4311a4], ecx
mov ebp, 0x106
cmp dword [0x4311a8], ebp
jae 0x401a20
cmp dword [0x43118c], 0
jne 0x401a20
call fcn.0040150b
cmp dword [0x4311a8], ebp
mov ecx, dword [0x431180]
jb 0x401a04
cmp dword [0x4311a8], 0
jne 0x401898
pop esi
pop ebp
pop ebx
jmp 0x401a38
mov ecx, dword [0x431180]
mov edx, dword [0x4311a4]
pop edi
test edx, edx
jl 0x401a4b
lea eax, [edx + 0x45db60]
jmp 0x401a4d
xor eax, eax
sub ecx, edx
push 1
push ecx
push eax
call fcn.004032ff
add esp, 0x10
ret

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

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x405100
or eax, 0xffffffff
jmp 0x40512e
cmp dword [esp + 8], 0
mov eax, dword [0x42e4a4]
je 0x40512e
push esi
movzx esi, byte [ecx]
mov edx, eax
and edx, 0xff
xor edx, esi
shr eax, 8
mov edx, dword [edx*4 + 0x42e4a8]
xor eax, edx
inc ecx
dec dword [esp + 0xc]
jne 0x40510d
pop esi
mov dword [0x42e4a4], eax
not eax
ret
Function at 0x40521c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0x10]
push 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40523d
call fcn.00405411
mov eax, dword [0x481864]
mov ecx, dword [0x48237c]
add eax, dword [ebp + 0x10]
mov dword [0x481864], eax
lea edx, [eax - 0x8400]
cmp edx, ecx
jle 0x405276
cmp byte [0x482406], 0
je 0x405276
sub eax, ecx
push eax
call fcn.00416ea5
mov eax, dword [0x481864]
pop ecx
mov dword [0x48237c], eax
pop ebp
ret

Function at 0x405acb
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, 0x481408
push edi
push 0x9c
mov ecx, esi
call fcn.0041f167
push 0xa0
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.0041f167
push 0xa4
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.0041f167
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and byte [ebp - 1], 0
mov edi, eax
mov ebx, 0x3ff
lea ecx, [ebp - 0x2c]
shr ax, 0xa
and edi, ebx
mov dword [ebp - 0x20], eax
call fcn.0041e62f
and dword [ebp - 8], 0
cmp dword [ebp - 0x10], 0
jbe 0x405c06
push 8
push esi
mov ecx, 0x481858
call fcn.0041f593
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f32f
test eax, eax
jl 0x405c06
push 0
lea ecx, [ebp - 0x2c]
call fcn.0041f167
push 8
push 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xc], eax
call fcn.0041f167
lea eax, [eax + esi + 8]
mov ecx, 0x481858
push eax
call fcn.0041f593
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f32f
push 0
lea ecx, [ebp - 0x2c]
call fcn.0041f167
push 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
call fcn.0041f167
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
and dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], eax
cmp di, word [ebp - 0xc]
lea esi, [esi + ecx + 4]
je 0x405bbf
cmp byte [ebp - 1], 0
jne 0x405bf7
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x14]
jne 0x405bf7
cmp dword [0x481734], 0
mov byte [ebp - 1], 1
je 0x405bde
push dword [ebp - 8]
mov ecx, 0x4810c0
call fcn.004176a9
mov eax, dword [ebp - 0x18]
jmp 0x405be7
mov ecx, dword [ebp - 0x1c]
mov dword [0x48175c], ecx
cmp di, word [ebp - 0xc]
jne 0x405bf7
shr ax, 0xa
cmp word [ebp - 0x20], ax
je 0x405c06
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x405b35
lea ecx, [ebp - 0x2c]
call fcn.0041e765
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406c94
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
push 0x10
lea eax, [ebp - 0x2c]
push 0
push eax
or esi, 0xffffffff
call fcn.004274e0
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x406d4a
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push ebx
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x14]
push eax
call edi
mov eax, 0x80000000
mov bx, 0xfa0
bsf ecx, eax
dec bx
jne 0x406cde
lea eax, [ebp - 0xc]
push eax
call edi
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
cmp eax, esi
jae 0x406cf7
mov esi, eax
dec dword [ebp - 4]
jne 0x406ccf
mov ecx, dword [ebp - 0x1c]
push 0xa
mov eax, ecx
xor edx, edx
pop edi
imul esi, esi, 0x186a0
div edi
xor edx, edx
pop ebx
mov edi, eax
mov eax, esi
div edi
xor edx, edx
mov esi, eax
div ecx
shr ecx, 1
cmp edx, ecx
jbe 0x406d24
inc esi
mov edi, dword [ebp + 0xc]
xor edx, edx
mov eax, edi
div esi
xor edx, edx
mov ecx, eax
mov eax, edi
div esi
mov eax, esi
mov dword [ebp - 0x24], ecx
shr eax, 1
cmp edx, eax
jbe 0x406d41
inc ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x2c]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret

Function at 0x406d5a
Capabilities:
Check for time delay via gettickcount
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b620
push 0x427ec0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ebx, eax
mov dword [ebp - 0x30], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [ebp - 0x24], eax
push 0xf
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebp - 0x20], eax
call esi
sub eax, dword [ebp - 0x20]
je 0x406dab
call esi
mov dword [ebp - 0x20], eax
and dword [ebp - 4], 0
rdtsc
mov dword [ebp - 0x1c], eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x24]
push ebx
call edi
push 0x3c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xf
push ebx
call edi
call esi
mov dword [ebp - 0x2c], eax
call esi
sub eax, dword [ebp - 0x2c]
je 0x406ddc
call esi
mov esi, eax
rdtsc
mov dword [ebp - 0x34], eax
push dword [ebp - 0x24]
push ebx
call edi
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x1c]
sub esi, dword [ebp - 0x20]
xor edx, edx
div esi
mov esi, eax
xor edx, edx
mov ecx, 0x3e8
div ecx
mov ecx, eax
mov eax, esi
xor edx, edx
push 0x64
pop esi
div esi
lea edx, [ecx + ecx*4]
shl edx, 1
sub eax, edx
cmp eax, 5
jb 0x406e22
inc ecx
mov eax, ecx
jmp 0x406e3f
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret