joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xfe270db
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..text
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x3fc27af3
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, reloc.wininet.dll_FindFirstUrlCacheEntryA
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x407bae
Capabilities:
Encode data using xor

Disassembly:
nop
and byte [ecx + edx*2 - 0x5cabc20], dl
and dword [edi], edx
leave
test al, 0xba
out 0x89, al
xor ebx, dword [edx]
pop ecx
rcr byte gs:[esi - 0xb], 0x95
daa
cmpsd dword [esi], dword es:[edi]
adc edx, dword [esi - 0x5bbf4061]
je 0x407bcb
retf
lcall 0xeb47, 0xf5aef49
sbb al, 0xff
and eax, section.sect_0
push section.sect_0
call 0x407bae
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [ebx + 0x20e908c4], al
js 0x407c12
add byte [esi - 0x1e], ah
xchg ebx, eax
loop 0x407b6a
add edi, dword [ebx - 0x62]
sahf
sahf
add dh, byte [ecx + esi*4 - 0x576373ce]
adc eax, 0x965236e4
xchg byte [esi], dh
add bh, bh
in eax, dx
cmpsb byte [esi], byte es:[edi]
pop edx
jno 0x407c1e
add eax, 0x9e3474b0
and esp, ebp
dec esp
mov edx, 0x6a5745be
fsin
shl edx, 1
mov bh, 0x7f
pop eax
pop es
imul edx, dword [edx], 0x8f854d16
and eax, 0xa9d3250b
cmp eax, 0xfe5f908f
clc
jns 0x407bd4
invalid
aas
and eax, 0x788acfa8
mov byte [esp + edi], dh
js 0x407ba8
xor al, 0x3c
sar edx, cl
imul esi, dword [edx + 2], 0xffffff8d
loop 0x407bd9
invalid
Function at 0x587430
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xee000]
mov dword [edi + 0x172480], 0x30569631
push edi
or ebp, 0xffffffff
jmp 0x58745a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x587461
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x587450
mov eax, 1
add ebx, ebx
jne 0x587473
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x587484
jne 0x5874a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5874a3
dec eax
add ebx, ebx
jne 0x587490
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x587468
add ebx, ebx
jne 0x58749f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5874f5
xor ecx, ecx
sub eax, 3
jb 0x5874bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58752a
sar eax, 1
mov ebp, eax
jmp 0x5874c6
add ebx, ebx
jne 0x5874c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x587494
inc ecx
add ebx, ebx
jne 0x5874d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x587494
add ebx, ebx
jne 0x5874e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5874d6
jne 0x5874f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5874d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x587514
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x587506
jmp 0x587456
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x587514
add edi, ecx
jmp 0x587456
pop esi
lea edi, [esi + 0x180800]
mov ecx, 2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x587536
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x58753b
lea edi, [esi + 0x182000]
mov eax, dword [edi]
or eax, eax
je 0x5875a3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x187000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x187044]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x587561
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18704c]
or eax, eax
je 0x58759d
mov dword [ebx], eax
add ebx, 4
jmp 0x58757e
call dword [esi + 0x187048]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5875d4
cmp al, 0xef
ja 0x5875c7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5875a9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5875b6
mov ebp, dword [esi + 0x187050]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x587608
sub esp, 0xffffff80
jmp 0x4011d6
Function at 0x1000c42d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1008bb40]
jne 0x1000c437
repz ret
jmp fcn.1000fa1a

Function at 0x100174e8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1000fc51
xor ebx, ebx
cmp dword [0x10022974], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x100175bd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x10017528
xor eax, eax
jmp 0x10017681
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x10017521
push eax
call fcn.1000fbee
mov dword [esp], 0x10086a18
push edi
mov dword [0x10022974], eax
call esi
push eax
call fcn.1000fbee
mov dword [esp], 0x10086a04
push edi
mov dword [0x10022978], eax
call esi
push eax
call fcn.1000fbee
mov dword [0x1002297c], eax
lea eax, [ebp - 8]
push eax
call fcn.1000e747
test eax, eax
pop ecx
pop ecx
je 0x1001758b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10012b46
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x100175bd
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1000fbee
cmp eax, ebx
pop ecx
mov dword [0x10022984], eax
je 0x100175bd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000fbee
pop ecx
mov dword [0x10022980], eax
mov eax, dword [0x10022980]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x10017636
cmp dword [0x10022984], esi
je 0x10017636
push eax
call fcn.1000fc5a
pop ecx
call eax
cmp eax, ebx
je 0x10017603
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x10022984]
call fcn.1000fc5a
pop ecx
call eax
test eax, eax
je 0x10017603
test byte [ebp - 0x18], 1
jne 0x10017636
lea eax, [ebp - 0xc]
push eax
call fcn.1000e77e
test eax, eax
pop ecx
je 0x1001761e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10012b46
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1001762d
or dword [ebp + 0x10], 0x200000
jmp 0x10017667
or dword [ebp + 0x10], 0x40000
jmp 0x10017667
mov eax, dword [0x10022978]
cmp eax, esi
je 0x10017667
push eax
call fcn.1000fc5a
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10017667
mov eax, dword [0x1002297c]
cmp eax, esi
je 0x10017667
push dword [ebp - 4]
push eax
call fcn.1000fc5a
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x10022974]
call fcn.1000fc5a
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001e8f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1008bb40]
xor eax, ebp
mov dword [ebp - 0x1c], eax
call fcn.1001e720
mov word [ebp - 0x2c], 2
mov eax, dword [0x10082a58]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax - 1]
push edx
call dword [0x10082a48]
mov word [ebp - 0x2a], ax
push 0x1008cfa4
call dword [0x10082a4c]
mov dword [ebp - 0x28], eax
push 6
push 1
push 2
call dword [0x10082a38]
mov dword [ebp - 8], eax
push 0x10
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [0x10082a3c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1001e960
mov eax, dword [ebp - 0x30]
jmp 0x1001ea4c
push 0
push str.jhgfd532rfsdds
call fcn.1000c440
add esp, 4
push eax
push str.jhgfd532rfsdds
mov edx, dword [ebp - 8]
push edx
call dword [0x10082a34]
mov dword [ebp - 0x10], 0
push 0
push 4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [0x10082a30]
mov dword [ebp - 4], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
je 0x1001e9d5
push 0
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x10022a28
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [0x10082a30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
jmp 0x1001e9a2
movsx ecx, byte [0x1008cfb6]
add ecx, 0x10022a2c
mov dword [ebp - 0x34], ecx
movsx edx, byte [0x1008cfb6]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
add eax, 0x10022a28
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.1001e760
add esp, 8
mov edx, dword [ebp - 8]
push edx
call dword [0x10082a40]
movsx eax, byte [0x1008cfb6]
mov ecx, dword [0x10082a58]
lea edx, [eax + ecx + 0x10022a27]
push edx
movsx eax, byte [0x1008cfb6]
mov ecx, dword [0x10082a58]
lea edx, [eax + ecx + 0x10022a2b]
push edx
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1000c42d
mov esp, ebp
pop ebp
ret
Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
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 eax, ebx
loop 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a

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 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 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x402a44
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040476c
test esi, esi
jne 0x402a7a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040485c
jmp 0x402a98
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402958
mov edi, eax
test esi, esi
je 0x402a98
cmp dword [ebx], 0
je 0x402a98
dec esi
jmp 0x402a81
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403808
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x46d020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4038a0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403880
xor eax, eax
push ebp
push 0x403879
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4038bc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403880
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x46d020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x46d020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40456c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46f04c], 0
je 0x4045cd
cmp word [0x46f220], 0xd7b2
jne 0x404595
cmp dword [0x46f228], 0
jbe 0x404595
mov eax, 0x46f21c
call dword [0x46f238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46d070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4045f4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46d030], 0
jne 0x4045e9
push 0
push 0x46d068
push 0x46d070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404720
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040271c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x46f04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4046e8
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4065cc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406632
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004049dc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403270
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40661c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406639
lea eax, [ebp - 0x10]
call fcn.0040476c
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404c2c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408ebd
test al, 0x10
jne 0x408ec1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40ba50
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ba89
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040485c
jmp 0x40ba92
mov eax, ebx
mov edx, esi
call fcn.004047c0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ba9c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40babd
mov al, byte [esp]
jmp 0x40babf
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c144
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bfbc
mov eax, dword [0x46e1ec]
cmp byte [eax], 0
je 0x40c1c0
mov eax, dword [0x46dfcc]
call fcn.00402e8c
call fcn.00402884
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004091bc
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c208
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c1f6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46df70]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46f668]
call fcn.00405ae0
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40caa4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cb7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404804
lea eax, [ebp - 8]
call fcn.00404c7c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404c2c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cb64
mov eax, ebx
call fcn.0040271c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cb5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404c2c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cb47
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cb8c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cb47
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cb64
mov eax, dword [ebp - 0x10]
call fcn.0040273c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cb81
lea eax, [ebp - 8]
call fcn.0040476c
ret

Function at 0x40d08c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d0f0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004049dc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408b7c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d0f7
lea eax, [ebp - 0xc]
call fcn.0040476c
ret

Function at 0x41e24c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041e0a4
dec esi
jne 0x41e26e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41f3b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46f88c
cmp dword [edi], 0
jne 0x41f42c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46f888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46d400
mov ecx, 2
call fcn.00402918
mov edx, 0x41f388
lea eax, [esi + 5]
call fcn.0041f3a8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f3a8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41f401
mov dword [0x46f888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4209e8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4209ee
ret

Function at 0x422fc8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x423019
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x423000
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x422ff0
jmp 0x423019
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x423001
pop ebx
mov esp, ebp
pop ebp
ret