joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f590
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x46f762
xor ecx, ecx
xor edx, edx
mov ch, byte [eax]
mov dl, byte [eax + 2]
mov cl, byte [eax + 1]
push ebx
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 3]
push ebp
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 6]
mov dword [eax], ecx
xor ecx, ecx
push esi
mov ch, byte [eax + 4]
push edi
mov cl, byte [eax + 5]
xor ebp, ebp
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 7]
shl ecx, 8
or ecx, edx
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
xor ecx, ecx
mov ch, byte [eax + 8]
lea edi, [edx + 0xc]
mov cl, byte [eax + 9]
mov word [eax + 8], cx
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov cx, word [eax + 8]
mov word [edx + 8], cx
xor ecx, ecx
movzx si, byte [eax + 0xb]
mov ch, byte [eax + 0xa]
or ecx, esi
mov word [eax + 0xa], cx
mov word [edx + 0xa], cx
movzx si, byte [eax + 0xb]
xor ecx, ecx
mov ch, byte [eax + 0xa]
or ecx, esi
mov esi, dword [eax + 0xc]
mov word [eax + 0xa], cx
and ecx, 0xffff
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx si, byte [eax + 0x11]
mov bp, word [eax + 0xa]
xor ecx, ecx
mov ch, byte [eax + 0x10]
add ebp, 0xc
or ecx, esi
mov word [eax + 0x10], cx
mov word [edx + ebp], cx
movzx si, byte [eax + 0x11]
xor ecx, ecx
lea edi, [edx + ebp + 2]
mov ch, byte [eax + 0x10]
or ecx, esi
mov esi, dword [eax + 0x14]
mov word [eax + 0x10], cx
and ecx, 0xffff
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx si, byte [eax + 0x19]
xor ecx, ecx
mov cx, word [eax + 0x10]
lea ebp, [ecx + ebp + 2]
xor ecx, ecx
mov ch, byte [eax + 0x18]
or ecx, esi
lea edi, [edx + ebp + 2]
mov word [eax + 0x18], cx
mov word [edx + ebp], cx
movzx si, byte [eax + 0x19]
xor ecx, ecx
mov ch, byte [eax + 0x18]
or ecx, esi
mov esi, dword [eax + 0x1c]
mov word [eax + 0x18], cx
and ecx, 0xffff
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx si, byte [eax + 0x21]
xor ecx, ecx
mov cx, word [eax + 0x18]
lea ebp, [ecx + ebp + 2]
xor ecx, ecx
mov ch, byte [eax + 0x20]
or ecx, esi
lea edi, [edx + ebp + 2]
mov word [eax + 0x20], cx
mov word [edx + ebp], cx
movzx si, byte [eax + 0x21]
xor ecx, ecx
mov ch, byte [eax + 0x20]
or ecx, esi
mov esi, dword [eax + 0x24]
mov word [eax + 0x20], cx
and ecx, 0xffff
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dl, byte [eax + 6]
xor ecx, ecx
mov ch, byte [eax + 4]
pop edi
mov cl, byte [eax + 5]
pop esi
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 7]
pop ebp
shl ecx, 8
or ecx, edx
xor edx, edx
mov dh, byte [eax]
mov dword [eax + 4], ecx
mov dl, byte [eax + 1]
xor ecx, ecx
mov ch, byte [eax + 8]
pop ebx
mov cl, byte [eax + 9]
mov word [eax + 8], cx
xor ecx, ecx
mov cl, byte [eax + 2]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 3]
shl edx, 8
or edx, ecx
mov dword [eax], edx
ret
Function at 0x472330
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x94
mov eax, dword [esp + 0x9c]
push esi
push 0x40
lea ecx, [esp + 0x1c]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.00472140
lea edx, [esp + 0x24]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.00472270
mov esi, dword [esp + 0xb0]
add esp, 0x14
xor edx, edx
mov cl, byte [esp + edx + 4]
mov al, cl
and cl, 0xf
sar al, 4
and al, 0xf
cmp al, 0xa
movsx eax, al
jge 0x4723aa
add eax, 0x30
jmp 0x4723ad
add eax, 0x57
mov byte [esi], al
cmp cl, 0xa
movsx eax, cl
jge 0x4723bc
add eax, 0x30
jmp 0x4723bf
add eax, 0x57
mov byte [esi + 1], al
inc edx
add esi, 2
cmp edx, 0x10
jl 0x472390
pop esi
add esp, 0x94
ret

Function at 0x4723e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov ebp, dword [esp + 0x90]
push esi
push edi
mov ecx, 0x10
xor eax, eax
mov edi, ebp
mov esi, dword [esp + 0xa0]
rep stosd dword es:[edi], eax
mov ecx, 8
mov edi, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
test esi, esi
mov dword [esp + 0x14], 0x9d14e9a1
mov dword [esp + 0x18], 0x593b6b0e
je 0x47246b
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x28
jne 0x47244f
mov byte [esi + 0x20], al
mov ecx, 0x20
jmp 0x472459
cmp ecx, 0x38
jle 0x472459
mov ecx, 0x38
mov eax, ecx
lea edi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x4a508c
test ecx, ecx
je 0x47249f
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x38
jle 0x47248a
mov ecx, 0x38
xor eax, eax
test ecx, ecx
jle 0x47249f
mov dl, byte [eax + 0x4a508c]
xor byte [esp + eax + 0x1c], dl
inc eax
cmp eax, ecx
jl 0x472490
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.00472330
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.01d0a8e3
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + ebp]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
cdq
and edx, 3
and ecx, 3
add eax, edx
rep movsb byte es:[edi], byte [esi]
sar eax, 2
xor ecx, ecx
test eax, eax
jle 0x472504
mov esi, ebp
mov dl, byte [esi]
add esi, 4
mov byte [ecx + ebx], dl
inc ecx
cmp ecx, eax
jl 0x4724f7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
Function at 0x4730d0
Capabilities:
Encode data using base64
Terminate process

Disassembly:
sub esp, 0x118
mov ecx, 0x3f
mov eax, 0x80808080
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, 0x41
mov cl, al
sub cl, 0x41
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x5a
jle 0x4730f2
mov eax, 0x61
mov dl, al
sub dl, 0x47
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, 0x7a
jle 0x473106
mov eax, 0x30
mov cl, al
add cl, 4
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x39
jle 0x47311a
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x53], 0x3e
mov byte [esp + 0x57], 0x3f
mov byte [esp + 0x65], 0
mov dword [esp + 0x18], ebp
je 0x4732ad
mov ebx, dword [esp + 0x130]
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x12c]
xor eax, eax
lea esi, [edx + ecx]
movsx ecx, byte [esi + eax]
mov dl, byte [esp + ecx + 0x28]
test dl, 0x80
jne 0x47327e
mov byte [esp + eax + 0x20], cl
mov byte [esp + eax + 0x1c], dl
inc eax
cmp eax, 4
jl 0x47317c
mov esi, dword [esp + 0x138]
mov edx, dword [esp + 0x10]
cmp edx, dword [esi]
jle 0x4731e6
mov eax, dword [esp + 0x14]
push eax
call fcn.0047d587
mov ecx, dword [esi]
mov esi, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
mov dword [esp + 0x2c], eax
rep movsb byte es:[edi], byte [esi]
call fcn.0047d49e
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
add esp, 8
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov dl, ch
mov al, cl
sar dl, 4
shl al, 2
or dl, al
mov eax, dword [esp + 0x14]
mov byte [ebx + ebp], dl
inc ebp
inc eax
mov cl, ch
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x1e]
mov dl, al
inc edi
sar dl, 2
shl cl, 4
or dl, cl
mov ecx, dword [esp + 0x14]
shl al, 6
or al, byte [esp + 0x1f]
mov byte [ebx + ebp], dl
inc ebp
mov edx, edi
inc ecx
inc edx
mov byte [ebx + ebp], al
mov al, byte [esp + 0x22]
inc ebp
inc ecx
inc edx
mov dword [esp + 0x10], edi
cmp al, 0x3d
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
je 0x473293
mov cl, byte [esp + 0x23]
xor eax, eax
cmp cl, 0x3d
setne al
add eax, 2
cmp eax, 3
jl 0x473293
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
add edx, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], edx
cmp edx, ecx
jae 0x4732b4
jmp 0x47316c
push ecx
push str.Illegal_character__c_in_input._n
call fcn.0047f125
add esp, 8
push 1
call fcn.0047e9c8
mov eax, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [eax], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
mov ebx, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [ecx], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
Function at 0x474350
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4743f3
test eax, eax
jbe 0x4743f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4743f3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x47439e
xor esi, esi
jmp 0x4743a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4743cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004763b0
add esi, eax
push esi
mov ebx, esi
call fcn.004763b0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4743b0
pop ebp
test edi, edi
pop edi
jne 0x4743f3
test ebx, ebx
je 0x4743f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0047d3a0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x474515
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47462d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47462d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0048ebc2
mov esi, eax
test esi, esi
je 0x47462d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x47462d
mov ecx, esi
call fcn.004744a0
cmp edi, eax
jge 0x47462d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4745b3
mov dword [esp + 0x34], 1
jmp 0x47460e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x47462d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00473aa0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x477b40
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x477b8a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x477bb9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x477bfb
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x48f566
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48f59e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048d61a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048d5f2
jmp 0x48f5aa
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x490c54
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x490c96
call fcn.00496708
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x490c96
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x490c8d
xor eax, eax
jmp 0x490c9e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00490ca4
pop edi
pop esi
pop ebx
ret 4

Function at 0x496c38
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 0x496c66
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x496c84
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00496b9e
jmp 0x496c84
mov eax, dword [esi + 0x14]
test eax, eax
je 0x496c84
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00496b9e
test edi, edi
mov eax, edi
jne 0x496c6e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4047b6
Capabilities:
Parse pe header

Disassembly:
push 0x70
push 0x405408
call fcn.004049c4
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x4047f1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4047f1
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x404809
cmp eax, 0x20b
je 0x4047f6
mov dword [ebp - 0x1c], edi
jmp 0x40481d
cmp dword [ecx + 0x84], 0xe
jbe 0x4047f1
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x404817
cmp dword [ecx + 0x74], 0xe
jbe 0x4047f1
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
pop ebx
push ebx
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x40615c], 0xffffffff
or dword [0x406160], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x40602c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x406028]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x406164], eax
call fcn.004049be
cmp dword [section..data], edi
jne 0x40487a
push fcn.004049be
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.004049ac
push 0x405170
push 0x40516c
call sub.msvcrt.dll__initterm
mov eax, dword [0x406024]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x406020]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x30], eax
push 0x405168
push 0x405164
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x4048e0
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x40499a
mov dword [ebp - 0x34], esi
cmp word [esi], 0x22
jne 0x40492e
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x4048fc
cmp ax, 0x22
jne 0x4048e9
cmp word [esi], 0x22
jne 0x404907
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x404915
cmp ax, 0x20
jbe 0x404902
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x4c], 1
je 0x40493b
movzx eax, word [ebp - 0x48]
jmp 0x40493e
cmp word [esi], 0x20
jbe 0x404907
add esi, ebx
mov dword [ebp - 0x34], esi
jmp 0x40492e
push 0xa
pop eax
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], edi
jne 0x40495f
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x404994
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004049fd
ret
Function at 0x401720
Capabilities:
Hash data with md5

Disassembly:
mov eax, 0x222b
mov edx, 0xb4fda02a
mov word [0x456bdc], ax
mov dword [ecx], 0
dec dword [0x447edc]
mov eax, dword [0x447edc]
sub edx, eax
add edx, dword [0x44c51c]
mov dword [0x44c51c], edx
mov dword [ecx + 4], 0
and dword [0x43a2f4], 0xd1b1c61
mov dword [ecx + 8], 0x67452301
mov ax, word [0x452162]
cwde
and dword [0x4438a8], eax
mov dword [ecx + 0xc], 0xefcdab89
mov eax, dword [0x4394f8]
imul eax, dword [0x43816c]
mov dword [0x4394f8], eax
mov dword [ecx + 0x10], 0x98badcfe
dec dword [0x43b520]
mov eax, dword [0x43b520]
xor dword [0x44a9fc], eax
mov dword [ecx + 0x14], 0x10325476
mov eax, dword [0x44981c]
dec dword [0x44981c]
add eax, 0x70b41917
cmp eax, 0x46550112
jne 0x4017cc
add dword [0x4355c8], 0xbd4f7019
ret
Function at 0x407060
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x448aa0]
add eax, 0x2a82672e
mov word [0x44e3a6], ax
imul eax, dword [0x446468], 0xde3a18d
push esi
push edi
mov edi, ecx
add eax, 0x64b968d3
xor dword [0x448b90], eax
call fcn.0040bbd0
movzx ecx, word [0x457804]
mov esi, eax
or ecx, 0x1181140a
mov word [0x457804], cx
mov ecx, edi
call fcn.004170e0
cmp esi, eax
je 0x407102
nop
inc dword [0x442240]
mov ecx, 0x68a8b693
mov eax, dword [0x442240]
xor dword [0x437770], eax
mov byte [esi], 0
inc esi
movsx eax, word [0x456dec]
sub ecx, eax
or ecx, 0xb97b7d6
sub dword [0x44a934], ecx
mov ecx, dword [0x443614]
mov eax, dword [0x43e498]
add ecx, 0x6dae4bb0
add eax, ecx
mov ecx, edi
mov dword [0x443614], eax
call fcn.004170e0
cmp esi, eax
jne 0x4070b0
cmp dword [0x441e48], 0xab97eb59
pop edi
pop esi
jle 0x40713b
mov eax, dword [0x43b410]
imul ecx, eax, 0x805d13f7
mov eax, dword [0x448960]
dec dword [0x448960]
cmp ecx, eax
jle 0x40713b
movsx eax, word [0x459368]
and eax, 0xae053044
mov dword [0x44087c], eax
ret

Function at 0x412d50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add dword [0x448084], 0xc1aa18ab
cmp dword [0x44b204], 0x36d0219c
jle 0x412d85
mov eax, dword [0x44b7d8]
movzx ecx, word [0x455be8]
not eax
add eax, 0x86e64ef5
xor ecx, eax
mov word [0x455be8], cx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0040bbd0
movzx ecx, word [0x453964]
mov esi, eax
add ecx, 0x138e217a
mov word [0x453964], cx
mov ecx, edi
call fcn.004170e0
cmp esi, eax
je 0x412df7
mov eax, dword [0x448ec8]
mov ecx, edi
add eax, dword [0x440e44]
mov dword [0x448ec8], eax
mov byte [esi], 0
inc esi
movzx eax, word [0x4522aa]
imul eax, eax, 0xa3585516
mov word [0x4522aa], ax
mov eax, dword [0x43fc18]
sar eax, 2
add eax, 0xcaa57a33
xor dword [0x43f928], eax
call fcn.004170e0
cmp esi, eax
jne 0x412db2
cmp dword [0x442568], 0x5e7a58ff
jg 0x412e0f
add dword [0x44bee4], 0x71b1b6ab
jmp 0x412e30
inc word [0x4525e8]
mov ax, word [0x4525e8]
movsx edx, ax
mov eax, dword [0x439e58]
add eax, 0xe7c7034b
add eax, edx
mov dword [0x439e58], eax
mov ecx, edi
call fcn.0040b770
add dword [0x44d0c8], 0x21a81d0c
pop edi
pop esi
pop ebp
ret
Function at 0x414600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, word [0x453b08]
shl eax, 8
add eax, 0x75ca4fb2
cmp eax, dword [0x436dec]
je 0x414625
and dword [0x44cf28], 0xf4c4e3fa
inc dword [0x436288]
mov eax, dword [0x436288]
mov ecx, dword [0x4372fc]
mov edx, dword [ebp + 8]
imul ecx, eax
mov eax, dword [ebp + 0xc]
push esi
or ecx, 0x29db239
lea esi, [edx + eax*4]
mov eax, dword [ebp + 0x10]
mov dword [0x43d8d4], ecx
mov dword [0x436220], 0x58efab3d
add dword [0x4490ac], 0x2ca6fc90
add dword [0x44231c], 0x10343e16
mov dword [ebp - 4], eax
or dword [0x435a3c], 0x1082a03
cmp edx, esi
je 0x4146f9
xor dword [0x43c284], 0x83e09ee2
mov eax, dword [ebp - 4]
xor dword [edx], eax
mov eax, 0x91ab56fe
mov ecx, dword [0x43bf34]
add edx, 4
sar ecx, 6
sub eax, ecx
add dword [0x448aac], eax
mov ax, word [0x453ecc]
ror dword [ebp - 4], 1
cwde
add dword [0x43f33c], eax
inc word [0x453ecc]
mov eax, dword [ebp - 4]
shr eax, 8
add al, byte [ebp - 4]
mov byte [ebp - 3], al
mov dword [0x448088], 0xa00d0776
imul eax, dword [0x449438], 0xa46d0b1c
mov dword [0x449438], eax
mov al, byte [ebp - 3]
add byte [ebp - 4], al
xor dword [0x438c20], 0x97b2e399
cmp edx, esi
jne 0x414681
movzx eax, word [0x455a3c]
and eax, 0xa13b39fd
mov word [0x455a3c], ax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426f60
Capabilities:
Encode data using xor

Disassembly:
xor dword [0x44cab4], 0x1dd9b56f
push esi
mov esi, ecx
call fcn.00427730
movzx eax, word [0x458ea4]
sub eax, 0x4955ec4f
mov word [0x458ea4], ax
cmp dword [esi + 0x18], 0
jne 0x426fc7
lea ebx, [ebx]
mov ecx, dword [0x439acc]
mov eax, dword [0x437708]
xor ecx, eax
mov eax, dword [0x445dd8]
xor eax, ecx
mov dword [0x439acc], eax
inc dword [0x445dd8]
call fcn.00425af0
mov dword [esi + 0x18], eax
mov dword [0x44c868], 0xf8bed05b
cmp dword [esi + 0x18], 0
je 0x426f90
mov eax, dword [0x43797c]
sub eax, dword [0x441744]
mov dword [0x43797c], eax
pop esi
ret