joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e3d6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x44507c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00422990
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00422990
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x42e44d
cmp word [ecx], dx
je 0x42e44d
mov eax, dword [0x43db14]
push edi
dec eax
push eax
push 0x43da00
call fcn.0042e375
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x42e4c0
cmp word [eax], dx
je 0x42e4c0
mov eax, dword [edi]
test eax, eax
je 0x42e471
cmp word [eax], dx
je 0x42e471
lea eax, [ebp - 0x10]
push eax
call fcn.0042dd58
jmp 0x42e47a
lea eax, [ebp - 0x10]
push eax
call fcn.0042ddf3
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x42e4ea
mov eax, dword [0x43d9fc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x43d6f0
call fcn.0042e375
add esp, 0xc
test al, al
je 0x42e4ea
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x42e4b5
cmp word [eax], di
je 0x42e4b5
lea eax, [ebp - 0x10]
push eax
call fcn.0042dd58
pop ecx
jmp 0x42e4ec
lea eax, [ebp - 0x10]
push eax
call fcn.0042ddf3
jmp 0x42e4b2
mov eax, dword [edi]
test eax, eax
je 0x42e4d7
cmp word [eax], dx
je 0x42e4d7
lea eax, [ebp - 0x10]
push eax
call fcn.0042dd0d
pop ecx
jmp 0x42e4ea
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x42e5b5
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0042e1fa
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42e5b5
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x42e5b5
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x42e5b5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42e542
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0042550a
test ebx, ebx
je 0x42e5b0
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0042550a
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42e5b5
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42e5b5
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004324da
add esp, 0x10
xor eax, eax
inc eax
jmp 0x42e5b7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004122e6
leave
ret
Function at 0x432c25
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00432ba1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x432d94
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x432d94
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x432d49
jg 0x432c81
test eax, eax
je 0x432d3f
push 1
push 0x1000
call fcn.0042382e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x432ca4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x432d36
push 0x8000
push ebx
call fcn.00420c83
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x432ccd
jg 0x432cc8
cmp ecx, 0x1000
jb 0x432ccd
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0042677f
add esp, 0x10
cmp eax, 0xffffffff
je 0x432d12
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x432cc8
jl 0x432cf9
test ecx, ecx
jne 0x432cba
push dword [ebp - 0xc]
push ebx
call fcn.00420c83
push esi
call fcn.0042388b
add esp, 0xc
xor ebx, ebx
jmp 0x432da2
cmp byte [edi + 0x24], 0
je 0x432d29
cmp dword [edi + 0x20], 5
jne 0x432d29
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x432d34
mov ebx, dword [edi + 0x18]
jmp 0x432d36
xor ebx, ebx
push esi
call fcn.0042388b
pop ecx
jmp 0x432da2
test ecx, ecx
jg 0x432d0b
jl 0x432d49
test eax, eax
jae 0x432d0b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00427f4b
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x432d69
cmp byte [edi + 0x1c], 0
je 0x432d0b
jmp 0x432d9a
push ebx
call fcn.0042c2d1
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x432d0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x432da2
cmp byte [edi + 0x1c], 0
je 0x432d9f
mov ebx, dword [edi + 0x18]
jmp 0x432da2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00427f4b
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x43b637
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
push 0x9dfefb1a
pop ebx
mov ecx, 0xa3d9f336
call fcn.0043b670
mov ecx, ecx
dec ebx
and ecx, ebx
xor dword [eax], edx
mov ebx, 0xeb7517b7
sub ecx, 1
add eax, 1
add ebx, ecx
sub ecx, ecx
cmp eax, esi
jne fcn.0043b637
dec ebx
ret
Function at 0x40b080
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [eax + edx - 0x75]
inc esi
mov ecx, dword gs:[esi + 0xa]
or esi, dword [ebx]
mov dword [ebp + 0x10], 0xbc0000
jne 0x40b10d
pop ds
inc esi
or byte [eax + eax*8 + 0x628b6a43], al
xor byte [ebp + 0xd2084d], cl
push ecx
push 0x32
push 0
push 0xffffffffffffffb2
push edx
call dword [fcn.0040390c]
test eax, eax
jne 0x40b0f2
mov esi, dword [0xa5408b98]
call esi
test eax, eax
stosb byte es:[edi], al
or dword [ebx + 0x5ee6144d], ecx
mov edx, esi
pop ebp
ret
mov eax, dword [ebp + 8]
add eax, eax
jne 0x40b107
mov edx, dword [ebp + 0x14]
pop edi
pop esi
mov dword [edi], ebx
mov eax, 0x192034f7
pop ebp
ret
cmp edi, eax
jbe 0x40b10d
pop ss
clc
mov ecx, dword [ebp + 0xc]
test eax, eax
je 0x40b137
mov dl, byte [ecx]
or byte [edx + eax + 0x4e120975], al
push eax
mov eax, edx
or byte [ebx + 0x568b5046], cl
add dh, bl
and byte [eax], al
add byte [eax], al
call 0x6cb810
mov edx, dword [esi - 0x7c]
mov dword [edx + 0xc], eax
mov esp, dword [esi + 0xc558b2e]
push ebx
lea ecx, [ebp + 0x10]
push eax
mov eax, dword [esi + 4]
push ecx
invalid
Function at 0x401840
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00407d40
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00407d40
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x4018a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x40c078]
test esi, esi
jle 0x4019c0
mov eax, dword [0x40c07c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x4018d4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401957
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x4018c0
mov dword [esp], ebx
call fcn.00402220
mov edi, eax
test eax, eax
je 0x4019e7
mov eax, dword [0x40c07c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00402360
mov edx, dword [0x40c07c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4019c7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401950
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x401960
add dword [0x40c078], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x40c07c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401950
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00401840
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x4018de
mov eax, dword [0x40c07c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00401840
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00401840
lea esi, [esi]
nop
Function at 0x401ea0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x40c094
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x40c08c]
sub esp, 4
test ebx, ebx
je 0x401ef5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x401eee
test esi, esi
je 0x401eee
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401ed0
mov dword [esp], 0x40c094
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x402220
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x402245
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x402250
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x402245
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test esi, esi
je 0x402298
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x40228e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40229a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x402280
xor eax, eax
pop ebx
pop esi
ret
Function at 0x408258
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x78]
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x1c]
cmp dword [ebp - 0xc], eax
jae 0x408332
mov eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp - 0x20]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call fcn.004081d0
cmp dword [ebp + 0xc], eax
sete al
test al, al
je 0x40832c
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], str.successfully_found___s____d_n
call fcn.0040821c
mov eax, dword [ebp - 0xc]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x24]
add eax, edx
movzx eax, word [eax]
movzx eax, ax
lea edx, [eax*4]
mov eax, dword [ebp - 0x1c]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp + 8]
add eax, edx
jmp 0x408337
add dword [ebp - 0xc], 1
jmp 0x4082b3
mov eax, 0
leave
ret
Function at 0x4013c5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4159d0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x415b7a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
sub byte [esi + ebx], 0x25
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x96
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0xb7
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x40
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x31
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
add esp, 0x44
push eax
call fcn.0040616d
add byte [esi + ebx], 0x21
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xe3
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x1a
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x63
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xf7
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xba
add esp, 0x40
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 2
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0xcd
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x5e
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x18
add esp, 0x30
inc esi
cmp esi, edi
jb 0x4159f0
pop ebx
pop edi
pop esi
ret

Function at 0x4035f3
Capabilities:
Terminate process

Disassembly:
jmp 0x453df9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x453e0a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405948
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40371f
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c842
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c853
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c729
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c87b
push ebx
push esi
push edi
call fcn.0040572c
add esp, 0xc
push 0
call fcn.004062b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x401100
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x405044], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x405228
push 0x405290
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40114b
xor eax, eax
jmp 0x401166
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40a403
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x413344], ebx
push esi
push edi
jne 0x40a483
push 0x40f608
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40a4be
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x40f5fc
push edi
call esi
test eax, eax
mov dword [0x413344], eax
je 0x40a4be
push 0x40f5ec
push edi
call esi
push 0x40f5d8
push edi
mov dword [0x413348], eax
call esi
cmp dword [0x4132ac], 2
mov dword [0x41334c], eax
jne 0x40a483
push 0x40f5bc
push edi
call esi
test eax, eax
mov dword [0x413354], eax
je 0x40a483
push 0x40f5a4
push edi
call esi
mov dword [0x413350], eax
mov eax, dword [0x413350]
test eax, eax
je 0x40a4c8
call eax
test eax, eax
je 0x40a4af
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x413354]
test eax, eax
je 0x40a4af
test byte [ebp - 8], 1
jne 0x40a4c8
cmp dword [0x4132b8], 4
jb 0x40a4c2
or byte [ebp + 0x12], 0x20
jmp 0x40a4e7
xor eax, eax
jmp 0x40a4f7
or byte [ebp + 0x12], 4
jmp 0x40a4e7
mov eax, dword [0x413348]
test eax, eax
je 0x40a4e7
call eax
mov ebx, eax
test ebx, ebx
je 0x40a4e7
mov eax, dword [0x41334c]
test eax, eax
je 0x40a4e7
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x413344]
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x1f180a59
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x73d35065
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1001f7d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
push ebx
push esi
push edi
push 0xe
pop ecx
xor esi, esi
xor eax, eax
mov dword [ebp - 0x40], esi
lea edi, [ebp - 0x3c]
push esi
rep stosd dword es:[edi], eax
call sub.IMM32.dll_ImmDisableIME
push dword [ebp + 8]
call fcn.01001ef0
mov ebx, dword [ebp + 0x10]
cmp word [ebx], si
mov dword [ebp - 4], eax
je 0x10020c8
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1001ce8
push ebx
call edi
test eax, eax
je 0x10020c8
push ebx
push 0x1001cd8
call edi
test eax, eax
jne 0x1001fe1
call fcn.01001f48
jmp 0x10020f1
cmp dword [ebp - 0x30], esi
jne 0x100208b
and dword [ebp + 8], 0
mov esi, 0x100185c
cmp dword [ebp + 8], 0x150
jae 0x1002031
push ebx
push dword [esi - 4]
call edi
test eax, eax
jne 0x1002024
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1002018
push eax
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x1002024
mov eax, dword [esi + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x2c], eax
add dword [ebp + 8], 0x10
add esi, 0x10
cmp dword [ebp - 0x30], 0
je 0x1001ff3
cmp dword [ebp - 0x30], 0
jne 0x1002089
push 0x1001104
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, 0x208
sub edi, eax
push edi
lea esi, [ebp + eax*2 - 0x46c]
push esi
lea ecx, [ebp - 0x46c]
push ebx
mov dword [ebp - 0x30], 0x10010e8
mov dword [ebp - 0x2c], ecx
call fcn.01001d10
test eax, eax
je 0x1002089
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor esi, esi
mov eax, dword [ebp + 0x14]
cmp eax, esi
jne 0x1002095
xor eax, eax
inc eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x2000100
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10020f1
push esi
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x10020e7
mov dword [ebp - 0x30], 0x10010cc
mov dword [ebp - 0x2c], 0x1001140
jmp 0x100208b
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x5c]
push eax
call esi
test eax, eax
jne 0x10020d8
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x5ca17465
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..rdata
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x9fe08f9
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x43b623
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
and ecx, eax
inc eax
call fcn.0043b66a
add eax, eax
add ecx, 0x2711a6d0
add eax, ecx
xor dword [edi], edx
inc ecx
mov ecx, 0xfb8fe689
sub ecx, ecx
inc edi
add ecx, 0x48a89614
mov ecx, 0xaa332c61
sub ecx, 0x6a370a7c
cmp edi, esi
jne fcn.0043b623
push 0xd2353208
mov eax, dword [esp]
add esp, 4
ret
Function at 0x408972
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop ecx
sub edx, eax
mov edx, edx
call fcn.004089a3
inc edx
inc edx
xor dword [ebx], ecx
sub edx, 1
mov edx, eax
add ebx, 1
cmp ebx, esi
jne fcn.00408972
sub eax, eax
mov edx, 0x73c28543
ret

Function at 0x4ca25f
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4c9fca
and edi, edi
dec ecx
add edi, ecx
call fcn.004ca297
or ecx, edi
sub ecx, 0x692abf05
and edi, ecx
xor dword [ebx], eax
mov edi, 0x686582e
and ecx, ecx
inc ebx
sub ecx, 0xd4fc8325
add ecx, 0x422e336c
cmp ebx, edx
jne fcn.004ca25f
and edi, ecx
ret