joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40677b
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
nop
mov eax, dword [0x42fb20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0x100
jge 0x4067c1
mov eax, 0x42fb28
push eax
mov eax, dword [0x42fb20]
push eax
call fcn.00404b45
add esp, 8
push eax
mov eax, str.invalid_macro_name__s
push eax
call fcn.00404055
add esp, 8
mov eax, 0
mov dword [ebp - 8], eax
mov eax, 0
mov dword [ebp - 0x14], eax
call fcn.00408b02
mov eax, dword [0x42fb20]
cmp eax, 0x28
jne 0x4068f3
call fcn.00408d4c
lea eax, [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [0x42fb20]
cmp eax, 0x29
je 0x4068d7
mov eax, dword [0x42fb20]
mov dword [ebp - 0x18], eax
call fcn.00408d4c
mov eax, 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0xcc
jne 0x406839
mov eax, 0x14b
mov dword [ebp - 0x18], eax
mov eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x406866
mov eax, dword [0x42fb20]
cmp eax, 0xcc
jne 0x406866
mov eax, dword [section..data]
test eax, eax
je 0x406866
mov eax, 1
mov dword [ebp - 0x1c], eax
call fcn.00408d4c
mov eax, dword [ebp - 0x18]
cmp eax, 0x100
jge 0x406883
mov eax, str.badly_punctuated_parameter_list
push eax
call fcn.00404055
add esp, 4
mov eax, dword [ebp - 0x18]
or eax, 0x20000000
mov ecx, 0
push ecx
mov ecx, dword [ebp - 0x1c]
push ecx
push eax
mov eax, 0x437fec
push eax
call fcn.00404415
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
add eax, 0x14
mov dword [ebp - 0xc], eax
mov eax, dword [0x42fb20]
cmp eax, 0x2c
je 0x4068cd
jmp 0x4068d7
call fcn.00408d4c
jmp 0x4067f0
mov eax, dword [0x42fb20]
cmp eax, 0x29
jne 0x4068eb
call fcn.00408b02
mov eax, 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
call fcn.00429227
add esp, 4
mov eax, 2
mov dword [ebp - 0x20], eax
mov eax, dword [0x42fb20]
cmp eax, 0xa
je 0x4069c1
mov eax, dword [0x42fb20]
cmp eax, 0xffffffff
je 0x4069c1
mov eax, 0xb6
mov ecx, dword [0x42fb20]
cmp eax, ecx
jne 0x40695e
mov eax, 1
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jne 0x406951
mov eax, dword [ebp - 0x2c]
add eax, 0xffffffff
mov dword [ebp - 0x2c], eax
mov eax, 2
mov dword [ebp - 0x20], eax
jmp 0x40699e
mov eax, 0x23
mov ecx, dword [0x42fb20]
cmp eax, ecx
jne 0x40697e
mov eax, 2
mov dword [ebp - 0x20], eax
jmp 0x40699e
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x42fb20]
push eax
call fcn.00429395
add esp, 8
test eax, eax
je 0x40699e
jmp 0x4069b7
mov eax, 0x42fb28
push eax
mov eax, dword [0x42fb20]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00405fdb
add esp, 0xc
call fcn.00408b02
jmp 0x406907
mov eax, dword [ebp - 0x20]
cmp eax, 1
jne 0x4069d6
mov eax, dword [ebp - 0x2c]
add eax, 0xffffffff
mov dword [ebp - 0x2c], eax
mov eax, 0
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00405f77
add esp, 8
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.004291d5
add esp, 0x10
leave
ret
Function at 0x41de21
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
nop
mov eax, 0
mov dword [ebp - 0xc], eax
mov eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
add eax, 0x38
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
cmp ecx, edx
jge 0x41df0f
jmp 0x41de60
mov eax, dword [ebp - 8]
mov ecx, eax
add eax, 1
mov dword [ebp - 8], eax
jmp 0x41de3b
mov eax, dword [ebp + 8]
add eax, 0x34
mov ecx, dword [ebp - 8]
shl ecx, 2
mov edx, dword [ebp + 0x10]
add edx, ecx
mov ecx, dword [edx]
shl ecx, 2
mov edx, dword [eax]
add edx, ecx
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0x14
mov ecx, dword [eax]
cmp ecx, 8
je 0x41df0a
mov eax, dword [ebp - 4]
add eax, 0x18
mov ecx, dword [eax]
and ecx, 2
test ecx, ecx
je 0x41df0a
mov eax, dword [ebp - 4]
add eax, 0x30
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax]
cmp ecx, edx
jae 0x41ded5
mov eax, dword [ebp + 0xc]
push eax
mov eax, 0
push eax
call sub.msvcrt.dll_fputc
add esp, 8
mov eax, dword [ebp - 0xc]
mov ecx, eax
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x41dea3
mov eax, dword [ebp - 4]
add eax, 0x28
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 4]
add eax, 4
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, 1
push ecx
mov ecx, dword [eax]
push ecx
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
add eax, ecx
mov dword [ebp - 0xc], eax
jmp 0x41de53
leave
ret
Function at 0x41fd0f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
nop
mov eax, dword [ebp + 0x10]
push eax
call fcn.0040349b
add esp, 4
mov dword [ebp - 4], eax
mov eax, 0
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.msvcrt.dll__lseek
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.msvcrt.dll__read
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x41fd5a
leave
ret
Function at 0x4209bd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
nop
mov eax, dword [ebp + 0x10]
push eax
call fcn.0040349b
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0xc]
push eax
call sub.msvcrt.dll__read
add esp, 0xc
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
je 0x4209fa
jmp 0x420b0c
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0042097a
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
shl eax, 2
mov ecx, dword [ebp - 0x28]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, 0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, 0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
cmp eax, ecx
jge 0x420b1e
jmp 0x420a6d
mov eax, dword [ebp - 4]
mov ecx, eax
add eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
push eax
call sub.msvcrt.dll_strlen
add esp, 4
add eax, 1
mov ecx, dword [ebp - 0x24]
add ecx, eax
mov dword [ebp - 0x24], ecx
jmp 0x420a36
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [0x42fb90]
push eax
call fcn.0041c10a
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x420b19
mov eax, dword [0x42fb90]
add eax, 4
mov ecx, dword [ebp - 0x10]
shl ecx, 4
mov edx, dword [eax]
add edx, ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
add eax, 0xe
movzx ecx, word [eax]
cmp ecx, 0
jne 0x420b19
mov eax, dword [ebp - 4]
shl eax, 2
mov ecx, dword [ebp - 0x28]
add ecx, eax
push ecx
call fcn.0042097a
add esp, 4
add eax, 0x3c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, 0
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 0xc]
push eax
call sub.msvcrt.dll__lseek
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041fd5c
add esp, 0xc
cmp eax, 0
jge 0x420b19
mov eax, 0xffffffff
mov dword [ebp - 0x18], eax
jmp 0x420b31
jmp 0x420a49
mov eax, dword [ebp - 8]
test eax, eax
jne 0x420a20
mov eax, 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00403483
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x420b45
leave
ret
Function at 0x420b47
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
nop
mov eax, 8
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp + 0xc]
push eax
call sub.msvcrt.dll__read
add esp, 0xc
mov eax, 0x3c
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp + 0xc]
push eax
call sub.msvcrt.dll__read
add esp, 0xc
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
cmp eax, 0
jne 0x420b91
jmp 0x420d84
mov eax, dword [ebp - 0x68]
cmp eax, 0x3c
je 0x420bb5
mov eax, str.invalid_archive
push eax
call fcn.00404020
add esp, 4
mov eax, 0xffffffff
jmp 0x420d8e
mov eax, 0xa
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x47]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, 0
mov byte [ebp - 0x3d], al
mov eax, 0
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x47]
push eax
call sub.msvcrt.dll_strtol
add esp, 0xc
mov dword [ebp - 0x64], eax
mov eax, 0x10
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, 0xf
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
cmp eax, 0
jl 0x420c45
jmp 0x420c2a
mov eax, dword [ebp - 0x6c]
mov ecx, eax
add eax, 0xffffffff
mov dword [ebp - 0x6c], eax
jmp 0x420c0c
lea eax, [ebp - 0x58]
mov ecx, dword [ebp - 0x6c]
add eax, ecx
movsx ecx, byte [eax]
cmp ecx, 0x20
je 0x420c43
jmp 0x420c45
jmp 0x420c1d
mov eax, dword [ebp - 0x6c]
add eax, 1
lea ecx, [ebp - 0x58]
add ecx, eax
mov eax, 0
mov byte [ecx], al
mov eax, 1
push eax
mov eax, 0
push eax
mov eax, dword [ebp + 0xc]
push eax
call sub.msvcrt.dll__lseek
add esp, 0xc
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x64]
add eax, 1
and eax, 0xfffffffe
mov dword [ebp - 0x64], eax
mov eax, 0x42e564
push eax
lea eax, [ebp - 0x58]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x420c9d
jmp 0x420ccb
mov eax, dword [ebp + 8]
add eax, 0x78
mov ecx, dword [eax]
test ecx, ecx
je 0x420cc6
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004209bd
add esp, 0xc
jmp 0x420d8e
jmp 0x420d64
mov eax, 0x42e566
push eax
lea eax, [ebp - 0x58]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x420d38
mov eax, str.__.SYMDEF
push eax
lea eax, [ebp - 0x58]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x420d38
mov eax, str.__.SYMDEF_
push eax
lea eax, [ebp - 0x58]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x420d38
mov eax, str.ARFILENAMES_
push eax
lea eax, [ebp - 0x58]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x420d38
jmp 0x420d3d
jmp 0x420d64
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041fd5c
add esp, 0xc
cmp eax, 0
jge 0x420d64
mov eax, 0xffffffff
jmp 0x420d8e
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x64]
add eax, ecx
mov ecx, 0
push ecx
push eax
mov eax, dword [ebp + 0xc]
push eax
call sub.msvcrt.dll__lseek
add esp, 0xc
jmp 0x420b67
mov eax, 0
jmp 0x420d8e
leave
ret
Function at 0x423a70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0
nop
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.msvcrt.dll__read
add esp, 0xc
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
mov eax, 0
sete al
jmp 0x423aa0
leave
ret
Function at 0x100396b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100412f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100512d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1005128c]
cmp eax, 0xffffffff
jne 0x100396e6
xor ebx, ebx
jmp 0x100396ef
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1003972f
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003976e
test esi, esi
jne 0x10039772
push 0x10038230
push 0x10052ad8
call fcn.1000b9a0
mov eax, dword [0x1005128c]
add esp, 8
cmp eax, 0xffffffff
je 0x1003972f
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003975c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003975c
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100397b4
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1003979d
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x10039772
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10039700
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100397d9
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x100397d9
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.1000b9a0
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x100397c0
jmp 0x10039700

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x406793
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
test esi, esi
je 0x4067bd
movzx ecx, byte [edi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x441060]
inc edi
sub esi, 1
jne 0x4067a5
pop edi
mov eax, edx
pop esi
ret 0xc
Function at 0x40b20a
Capabilities:
Write file on windows

Disassembly:
push ecx
push ecx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ebp, ecx
test esi, esi
jne 0x40b21f
mov al, 1
jmp 0x40b33a
cmp dword [ebp + 0x10], 1
lea ecx, [ebp + 8]
mov dword [esp + 0xc], ecx
jne 0x40b23b
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea ecx, [ebp + 8]
mov dword [ecx], eax
jmp 0x40b23f
mov dword [esp + 0xc], ecx
push ebx
push edi
and dword [esp + 0x10], 0
xor bl, bl
cmp dword [ebp + 0x10], 0
je 0x40b293
xor edi, edi
test esi, esi
je 0x40b2b4
mov eax, esi
sub eax, edi
cmp eax, 0x4000
jb 0x40b264
mov eax, 0x4000
push 0
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x28]
add eax, edi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sete bl
jne 0x40b2b0
mov ecx, dword [esp + 0x14]
add edi, 0x4000
cmp edi, esi
jb 0x40b254
jmp 0x40b2b0
push 0
lea eax, [esp + 0x14]
push eax
push esi
push dword [esp + 0x28]
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
test bl, bl
jne 0x40b332
cmp byte [ebp + 0x1e], 0
je 0x40b332
cmp dword [ebp + 0x10], 0
jne 0x40b332
push 0
lea edi, [ebp + 0x32]
mov ecx, 0x4430c4
push edi
call fcn.0040765a
test al, al
je 0x40b325
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x10], esi
jae 0x40b241
cmp dword [esp + 0x10], 0
jbe 0x40b241
mov edi, dword [ebp]
push 0
mov esi, dword [edi + 0x14]
mov ecx, esi
call dword [0x434278]
mov ecx, ebp
call esi
sub eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x10]
sbb edx, 0
push edx
push eax
call dword [0x434278]
mov ecx, ebp
call dword [edi + 0x10]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
jmp 0x40b241
push edi
push 0
mov ecx, 0x4430c4
call fcn.00407951
pop edi
mov al, bl
mov byte [ebp + 0xc], 1
pop ebx
pop esi
pop ebp
pop ecx
pop ecx
ret 8

Function at 0x40b4d3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0041ffd0
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40b518
push 0x800
lea eax, [ebp - 0x1000]
push eax
push dword [ebp + 8]
call fcn.0040cf32
test al, al
je 0x40b518
lea eax, [ebp - 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov eax, esi
pop esi
leave
ret 4

Function at 0x40b92a
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
inc esp
or byte [eax], bl
jbe 0x40b965

Function at 0x40bc7a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
mov edi, 0xfffc63e8
call dword [eax + 0x56]
Function at 0x40bc96
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
mov edi, 0xfffc63e8
call dword [eax + 0x56]

Function at 0x40c1f7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0040b8fa
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040b8af
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.0040b8fa
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040b8af
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.0040b8ea
jne 0x40c386
sub esi, dword [ebp - 0x80]
movsd dword es:[edi], dword [esi]
int3
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.0040b8fa
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040b8af
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.0040b8ea
cld
stosb byte es:[edi], al
wait
iretd

Function at 0x40cd5c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc edx
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
Function at 0x41b6d2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ecx
push esi
push edi
push 0x4357fc
push dword [esp + 0x18]
push dword [0x443068]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41b7eb
push esi
push dword [0x443068]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x41b7eb
push esi
push dword [0x443068]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41b7eb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41b7eb
push ebx
push ebp
push edi
xor ebp, ebp
push 2
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x41b7e3
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41b7dc
push edi
push esi
push eax
call fcn.00422dc0
add esp, 0xc
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x10]
push eax
push ebp
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41b7d5
push ebp
push dword [esp + 0x14]
call fcn.0041b636
mov ecx, dword [esp + 0x10]
mov edi, eax
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x434278]
call esi
test edi, edi
je 0x41b7d5
mov eax, dword [edi + 8]
mov dword [edi + 8], ebp
test eax, eax
jne 0x41b7c3
push 0xffffff
lea eax, [esp + 0x18]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x41b7c3
mov dword [edi + 8], eax
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x434278]
mov ecx, edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
pop ebp
pop ebx
jmp 0x41b7ed
xor eax, eax
pop edi
pop esi
pop ecx
pop ecx
ret 4

Function at 0x41c093
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x44073c], 0
push ebx
push esi
push edi
mov ebx, 0x400
jne 0x41c0de
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x461ce8], ax
xor eax, eax
mov word [0x461cea], ax
mov dword [0x44073c], 0x461ce8
push 0x32
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004117ea
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, dword [ebp + 0x14]
push esi
push edi
push 0x44072c
mov word [edi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov word [edi + esi*2 - 2], ax
pop edi
pop esi
pop ebx
leave
ret 0x10