joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f49
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x42d040]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [0x48f550]
xor ebx, ebx
push edi
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x401fb9
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.004028d3
lea ecx, [esp + 0x1c]
call fcn.00401d79
cmp eax, dword [esp + 0x10]
je 0x401fd0
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00403198
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x401f89
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406ca2
mov esp, ebp
pop ebp
ret
mov edx, str.QwruxAA
call fcn.00403b38
push eax
call fcn.00403b06
mov edx, dword [esp + 0x1c]
pop ecx
mov eax, dword [edx + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00403198
jmp 0x401fbb

Function at 0x402003
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x48f550], eax
pop edi
pop esi
ret

Function at 0x407a6d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407aac
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407aac
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407aac
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407aac
cmp dword [ecx + 0x74], 0xe
jbe 0x407aac
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41612c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427050
push 0x427048
push str.FlsAlloc
push 0x1e
call fcn.00416015
mov esi, eax
add esp, 0x10
test esi, esi
je 0x416160
push dword [ebp + 8]
mov ecx, esi
call dword [0x42312c]
call esi
jmp 0x416166
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4161aa
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427060
push 0x427058
push str.FlsGetValue
push 0x20
call fcn.00416015
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4161e1
push dword [ebp + 8]
mov ecx, esi
call dword [0x42312c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x416f76
Capabilities:
Read file on windows

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

Function at 0x416f81
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416da7
Function at 0x4185ec
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407be0
mov eax, dword [0x42d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004149e5
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41862e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41878a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00421a10
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x48f148]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418a12
mov ecx, dword [esi*4 + 0x48f148]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x418783
cmp eax, dword [edi + ecx + 0x24]
jne 0x418783
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418783
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418a12
add esp, 0x14
test edx, edx
jl 0x418783
jg 0x4186f9
test eax, eax
jb 0x418783
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x418783
jl 0x418713
cmp dword [ebp - 0x1008], eax
ja 0x418783
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x418731
test ebx, ebx
je 0x41876a
cmp ecx, edi
jae 0x41876a
mov al, byte [ecx]
cmp al, 0xd
jne 0x41874b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x418757
cmp byte [ecx + 1], 0xa
jne 0x418757
inc ecx
jmp 0x418757
movzx eax, al
movsx eax, byte [eax + 0x42d9b0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x418731
cmp edx, ebx
jne 0x418731
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x418788
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00406ca2
leave
ret
Function at 0x41ed7c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x48f148]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41edbc
cmp byte [ebx], 0xa
jne 0x41edbc
or byte [eax + edi + 0x28], 4
jmp 0x41edc1
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41eebf
mov al, byte [edx]
cmp al, 0x1a
je 0x41eea1
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41edf0
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41ee15
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41ee1f
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41edd2
jmp 0x41eebf
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ee9c
cmp dword [ebp - 0xc], 0
je 0x41ee9c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x48f148]
test byte [eax + edi + 0x28], 0x48
je 0x41ee76
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41ee61
mov byte [esi], dl
jmp 0x41ee72
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x48f148]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41eebf
cmp byte [ebp - 1], 0xa
jne 0x41ee85
cmp esi, ebx
jne 0x41ee85
mov byte [esi], 0xa
jmp 0x41eebe
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00418a30
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41eebf
mov byte [esi], 0xd
jmp 0x41eebe
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x48f148]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41eebb
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41eebf
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41eec8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x48f148]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41ef0b
cmp word [esi], dx
jne 0x41ef0b
or byte [edi + eax + 0x28], 4
jmp 0x41ef10
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41f063
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41f043
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41ef52
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41ef88
cmp eax, edx
jae 0x41ef94
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41ef2a
jmp 0x41f063
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f03f
cmp dword [ebp - 0x14], 0
je 0x41f03f
mov eax, dword [ebx*4 + 0x48f148]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41f017
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41efe0
mov word [esi], cx
jmp 0x41f013
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x48f148]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x48f148]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x48f148]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41f063
pop ebx
cmp word [ebp - 4], bx
jne 0x41f028
cmp esi, dword [ebp + 0xc]
jne 0x41f028
mov word [esi], bx
jmp 0x41f060
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00418a30
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41f063
push 0xd
jmp 0x41f05c
mov ecx, dword [ebx*4 + 0x48f148]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41f05a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41f063
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x53fe70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.Security
lea edi, [esi - 0xe5000]
push edi
or ebp, 0xffffffff
jmp 0x53fe92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x53fe99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53fe88
mov eax, 1
add ebx, ebx
jne 0x53feab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x53febc
jne 0x53fedb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53fedb
dec eax
add ebx, ebx
jne 0x53fec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x53fea0
add ebx, ebx
jne 0x53fed7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x53ff2d
xor ecx, ecx
sub eax, 3
jb 0x53fef3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53ff62
sar eax, 1
mov ebp, eax
jmp 0x53fefe
add ebx, ebx
jne 0x53fefe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53fecc
inc ecx
add ebx, ebx
jne 0x53ff0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53fecc
add ebx, ebx
jne 0x53ff19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x53ff0e
jne 0x53ff2a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x53ff0e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x53ff4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x53ff3e
jmp 0x53fe8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x53ff4c
add edi, ecx
jmp 0x53fe8e
pop esi
mov edi, esi
mov ecx, 0x3eef
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x53ff6a
cmp byte [edi], 0x11
jne 0x53ff6a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x53ff6f
lea edi, [esi + 0x138000]
mov eax, dword [edi]
or eax, eax
je 0x53ffe7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a7854]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a79f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x53ff9c
mov ecx, edi
jns 0x53ffcb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a7a00]
or eax, eax
je 0x53ffe1
mov dword [ebx], eax
add ebx, 4
jmp 0x53ffb9
call dword [esi + 0x1a79fc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x540018
cmp al, 0xef
ja 0x54000b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x53ffed
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x53fffa
mov ebp, dword [esi + 0x1a7a04]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x54004c
sub esp, 0xffffff80
jmp 0x426bf7
Function at 0x40102b
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 0
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [0x403080], eax
push 0
push 0x40102b
push 0
push section..data
push dword [0x403080]
call sub.USER32.dll_DialogBoxParamA
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x110
jne 0x401129
push str.Ordkors_v1.0.5___Keygen
push 0
push 0xc
push dword [ebp + 8]
call sub.USER32.dll_SendMessageA
push str.sonkite_ABSOLUTOKTAN
push 0x67
push dword [ebp + 8]
call sub.USER32.dll_SetDlgItemTextA
push 0
push 0x80
push 1
push 0
push 3
push 0xc0000000
push str.absokt.dll
call sub.KERNEL32.dll_CreateFileA
cmp eax, 0xffffffff
je 0x4010ca
mov dword [0x4031d7], eax
push 0xa
push 0x7d0
push 0
call sub.KERNEL32.dll_FindResourceA
mov ebx, eax
push eax
push 0
call sub.KERNEL32.dll_LoadResource
mov dword [0x4031cf], eax
push ebx
push 0
call sub.KERNEL32.dll_SizeofResource
push 0
push 0x4031db
push eax
push dword [0x4031cf]
push dword [0x4031d7]
call sub.KERNEL32.dll_WriteFile
push dword [0x4031d7]
call sub.KERNEL32.dll_CloseHandle
push str.absokt.dll
call sub.KERNEL32.dll_LoadLibraryA
or eax, eax
jne 0x4010f2
push 0
push str.Ordkors_v1.0.5___Keygen
push str.Kunde_inte_hitta_absokt.dll
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x40113a
mov dword [0x4031cf], eax
push 0x40303b
push dword [0x4031cf]
call sub.KERNEL32.dll_GetProcAddress
or eax, eax
jne 0x401122
push 0
push str.Ordkors_v1.0.5___Keygen
push str.Kunde_inte_hitta_funktionen.
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x40113a
mov dword [0x4031d3], eax
jmp 0x40119e
cmp dword [ebp + 0xc], 0x10
jne 0x401150
push dword [0x4031cf]
call sub.KERNEL32.dll_FreeLibrary
push str.absokt.dll
call sub.KERNEL32.dll_DeleteFileA
push 0
push dword [ebp + 8]
call sub.USER32.dll_EndDialog
jmp 0x40119e
cmp dword [ebp + 0xc], 0x111
jne 0x40119e
cmp word [ebp + 0x10], 0x66
jne 0x40119e
push 0x12d
push 0x403084
push 0x64
push dword [ebp + 8]
call main
cmp eax, 1
jae 0x40118a
push str.sonkite_ABSOLUTOKTAN
push 0x4031b1
call sub.KERNEL32.dll_lstrcpyA
jmp 0x40118f
call fcn.004011a4
push 0x4031b1
push 0x65
push dword [ebp + 8]
call sub.USER32.dll_SetDlgItemTextA
xor eax, eax
leave
ret 0x10
Function at 0x405f2e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42bdb4], 0
push esi
jne 0x405f65
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f3f
mov dword [ecx*4 + 0x42bdb0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f3a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f96
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42bdb0]
xor eax, esi
inc ecx
dec edx
jne 0x405f78
pop edi
not eax
pop esi
ret 0xc

Function at 0x1002f95
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1003278
call fcn.01003124
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1005378
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1002daa
cmp eax, esi
jne 0x1002d9d
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1002dad
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1002d84
xor esi, esi
inc esi
mov eax, dword [0x1005374]
cmp eax, esi
jne 0x1002dc0
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1002dfb
mov eax, dword [0x1005374]
test eax, eax
jne 0x1002df5
mov dword [0x1005374], esi
push 0x10011a0
push 0x1001194
call fcn.01002d01
pop ecx
pop ecx
test eax, eax
je 0x1002dfb
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1002ec5
mov dword [0x1005358], esi
mov eax, dword [0x1005374]
cmp eax, esi
jne 0x1002e1f
push 0x1001190
push 0x1001188
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1005374], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1002e2c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100537c], ebx
je 0x1002e4d
push 0x100537c
call fcn.01003099
pop ecx
test eax, eax
je 0x1002e4d
push ebx
push 2
push ebx
call dword [0x100537c]
push dword [0x1005340]
push dword [0x1005344]
push dword [0x100533c]
call fcn.01002a44
add esp, 0xc
mov dword [0x1005354], eax
cmp dword [0x1005348], ebx
jne 0x1002eab
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1005358], ebx
jne 0x1002eb9
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1005354]
call fcn.01003169
ret
call fcn.01002c0b
jmp 0x1002d62
Function at 0x404160
Capabilities:
Hash data with md5

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov eax, 0x43915a8f
mov dword [esp + 4], ecx
mov edx, ecx
mov esi, dword [0x499cd4]
mov edi, dword [0x498e20]
add edi, esi
mov dword [0x498e20], edi
mov dword [ecx], 0
mov esi, dword [0x4965b0]
inc esi
mov dword [0x4965b0], esi
mov bx, si
mov word [0x49302a], bx
mov dword [ecx + 4], 0
mov ecx, dword [0x4961a0]
mov esi, dword [0x49762c]
imul esi, esi, 0x6d1c40f6
sub ecx, esi
cmp eax, ecx
mov dword [esp], edx
jge 0x4041e6
mov ax, word [0x49377a]
mov cx, ax
mov ax, word [0x48ff80]
mov dx, ax
imul edx, ecx
mov ax, dx
mov word [0x48ff80], ax
mov eax, 0x5c97b79a
mov ecx, dword [esp]
mov dword [ecx + 8], 0x67452301
mov edx, dword [0x497620]
add edx, edx
xor edx, 0x9f6da488
mov esi, dword [0x496498]
and esi, edx
mov dword [0x496498], esi
mov dword [ecx + 0xc], 0xefcdab89
mov edx, dword [0x496984]
or edx, 0xdff3fcbd
mov dword [0x496984], edx
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [0x4967e4]
xor edx, 0x4289fa82
cmp eax, edx
jg 0x40429e
mov eax, 0xe69e0134
mov ecx, dword [0x499384]
mov edx, ecx
inc edx
mov dword [0x499384], edx
mov edx, dword [0x49a050]
mov esi, edx
inc esi
mov dword [0x49a050], esi
imul ecx, edx
cmp eax, ecx
jg 0x404299
mov eax, 0x6b2e7f3f
mov ecx, dword [0x49868c]
mov edx, ecx
dec edx
mov dword [0x49868c], edx
cmp eax, ecx
jl 0x404294
jmp 0x404294
jmp 0x404299
jmp 0x4042f0
mov eax, 0x794e59ec
mov cx, word [0x491e50]
mov dx, cx
dec edx
mov cx, dx
mov word [0x491e50], cx
movsx edx, cx
imul edx, edx, 0xa6d77cdc
cmp eax, edx
je 0x4042eb
mov eax, 0x51658bd8
mov ecx, dword [0x498b30]
cmp eax, ecx
jne 0x4042e1
jmp 0x4042e6
jmp 0x4042e6
jmp 0x4042eb
jmp 0x4042f0
mov eax, dword [esp]
mov dword [eax + 0x14], 0x10325476
mov ecx, dword [0x49c5cc]
mov edx, ecx
inc edx
mov dword [0x49c5cc], edx
mov edx, dword [0x498180]
or edx, ecx
mov dword [0x498180], edx
add esp, 8
pop esi
pop edi
pop ebx
ret
Function at 0x43d8c0
Capabilities:
Terminate process

Disassembly:
push esi
sub esp, 0x10
mov eax, dword [esp + 0x18]
mov ecx, 1
mov dword [esp + 0xc], eax
mov eax, dword [0x497644]
imul eax, eax, 0xb1da0d8d
mov dword [0x497644], eax
mov eax, dword [0x49c9f8]
mov edx, esp
mov dword [edx], eax
mov dword [esp + 8], ecx
call fcn.00443680
mov ecx, dword [0x495e14]
mov si, word [0x48f87a]
mov dx, si
add edx, ecx
mov si, dx
mov word [0x48f87a], si
mov dword [esp], 1
mov byte [esp + 7], al
call fcn.0045ca91
int3
Function at 0x46de77
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48e2cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00469eea
mov dword [ebp - 0x14], eax
cmp dword [0x49dcac], esi
jne 0x46df6a
push 0x800
push esi
push 0x483af0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x46def7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x46e04a
push esi
push esi
push 0x483af0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x46e04a
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46e04a
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x49dcac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x49dcb0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x49dcb4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x49dcbc], eax
test eax, eax
je 0x46df67
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x49dcb8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x46df8f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46df82
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x46dfa4
push 4
pop eax
jmp 0x46e04c
cmp dword [ebp - 0x14], esi
je 0x46dfa4
push dword [0x49dcac]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x46df89
mov eax, dword [0x49dcb8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x46e002
cmp dword [0x49dcbc], edi
je 0x46e002
push eax
call ebx
push dword [0x49dcbc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x46e002
test eax, eax
je 0x46e002
call ecx
test eax, eax
je 0x46dff7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x46dff7
test byte [ebp - 8], 1
jne 0x46e002
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x46e032
mov eax, dword [0x49dcb0]
cmp eax, edi
je 0x46e02f
push eax
call ebx
test eax, eax
je 0x46e02f
call eax
mov esi, eax
test esi, esi
je 0x46e02f
mov eax, dword [0x49dcb4]
cmp eax, edi
je 0x46e02f
push eax
call ebx
test eax, eax
je 0x46e02f
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x49dcac]
call ebx
test eax, eax
je 0x46e04a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x46e04c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045f308
mov esp, ebp
pop ebp
ret