joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dd4c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ea6b
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x559024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x25c], eax
mov eax, dword [edi + 0x234]
xor ebx, ebx
cmp eax, ebx
jne 0x4dd50a
mov eax, 0x538640
mov edx, eax
mov eax, 0x19
lea ecx, [ebp - 0x44]
call fcn.00401cc0
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x250], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
xor edx, edx
cmp esi, edx
jle 0x4dd595
mov ecx, esi
lea ebx, [ebp - 0x268]
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 0x260], edx
call fcn.004fca40
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
xor edx, edx
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x250], eax
cmp ecx, edx
je 0x4dd59b
lea edx, [esi + 1]
push edx
lea eax, [ebp - 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ebx, esi
mov dword [ebp - 0x254], ebx
xor edx, edx
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 4], edx
cmp ebx, edx
jg 0x4dd5e7
push edx
push 0x30
push 0xa439
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.0043b6e0
mov eax, dword [edi + 0x218]
test eax, eax
je 0x4dd5cc
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4dd6ba
mov edx, dword [edi + 0x220]
mov eax, dword [edx + 4]
lea edi, [eax + edi + 0x220]
mov dword [edi], 6
jmp 0x4dd6ba
cmp ecx, edx
jne 0x4dd5f0
mov ecx, 0x538640
mov ebx, ecx
mov eax, edi
call fcn.004de490
test al, al
je 0x4dd608
push 0
push 0x30
push 0xa436
jmp 0x4dd5aa
lea ecx, [ebp - 0x44]
push ecx
lea eax, [edi + 0x234]
call fcn.004fcf00
mov eax, dword [edi + 0x118]
xor edx, edx
mov word [ebp - 0x24c], dx
test eax, eax
je 0x4dd654
push 0x19
lea ecx, [ebp - 0x24c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jg 0x4dd654
mov edx, dword [edi + 0x114]
mov ebx, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + edi + 0x114], eax
mov esi, dword [edi + 0xb35c]
mov ecx, esi
lea eax, [ebp - 0x24c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4dd688
test dx, dx
je 0x4dd684
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4dd688
add eax, 4
add ecx, 4
test dx, dx
jne 0x4dd662
xor eax, eax
jmp 0x4dd68d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4dd6a3
lea eax, [ebp - 0x24c]
push eax
push 0x19
push esi
call fcn.00513c73
add esp, 0xc
lea ecx, [edi + 0xc08]
call fcn.004ea3b0
mov ecx, 0x3e9
mov eax, edi
call fcn.00439fd0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x4dd6d4
push eax
call fcn.005134a7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00513498
mov esp, ebp
pop ebp
ret 4
Function at 0x4dda90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b186
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x559024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
lea edi, [esi + 0x1ec]
mov dword [ebp - 0x21c], esi
call fcn.0046dc80
cmp ebx, 0x200
jne 0x4ddc33
xor eax, eax
lea edi, [esi + 0x114]
mov word [ebp - 0x218], ax
mov eax, dword [edi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x4ddb1f
push 0x19
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, ebx
jg 0x4ddb1f
mov edx, dword [edi]
mov esi, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + edi], eax
mov esi, dword [ebp - 0x21c]
mov edi, dword [esi + 0xb35c]
mov ecx, edi
lea eax, [ebp - 0x218]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4ddb56
cmp dx, bx
je 0x4ddb52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ddb56
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4ddb30
xor eax, eax
jmp 0x4ddb5b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4ddc33
lea eax, [ebp - 0x218]
push eax
push 0x19
push edi
call fcn.00513c73
mov eax, dword [esi + 0xb35c]
add esp, 0xc
push eax
lea esi, [ebp - 0x228]
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
call fcn.004fcba0
push 0x542c3c
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x542c3c
mov edi, esi
call fcn.004fcc10
push 0x7531
lea ecx, [ebp - 0x234]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [ebp - 4], 1
mov edx, dword [eax]
mov eax, dword [eax + 4]
push edx
call fcn.004fcc10
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x234]
cmp eax, ebx
je 0x4ddc00
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov edi, dword [ebp - 0x228]
mov ecx, edi
cmp edi, ebx
jne 0x4ddc11
mov ecx, 0x538640
mov esi, dword [ebp - 0x21c]
add esi, 0x2c
call fcn.00511340
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x4ddc33
push edi
call fcn.005134a7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00513498
mov esp, ebp
pop ebp
ret
Function at 0x4ee56a
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]

Function at 0x4ee930
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ecx
call fcn.004ee53a
push eax
push esi
push dword [ebp + 8]
call fcn.004ee4ef
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004ee53a
push eax
push esi
push dword [ebp + 8]
call fcn.004ee4ef
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004ee52a
mov bh, 0xab
fisub word [ecx - 0x78]
popfd
jl 0x4ee9af
invalid
invalid

Function at 0x4eec60
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4eec01
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4eec1f
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4eec7d
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4eec64
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4eec6d
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4eec77
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4eec59
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4eebe3
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4eecca
dec eax
je 0x4eecc1
sub eax, 3
je 0x4eecb8
mov dword [ebp - 4], 0x40
jmp 0x4eece7
mov dword [ebp - 4], 4
jmp 0x4eeccd
mov dword [ebp - 4], 0x20
jmp 0x4eeccd
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4eed19
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4eec99
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004ee52a
stc
dec edi
mov bl, al
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x4eed25
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4f0010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x4f05d0
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x4f00a5
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
mov byte [ebp - 0x762], 0x95
mov byte [ebp - 0x761], 0xdb
mov byte [ebp - 0x760], 0xbd
mov byte [ebp - 0x75f], 0x92
mov byte [ebp - 0x75e], 0x97
mov byte [ebp - 0x75d], 0x9e
mov byte [ebp - 0x75c], 0x88
mov byte [ebp - 0x75b], 0xa7
mov byte [ebp - 0x75a], 0xa8
mov byte [ebp - 0x759], 0x82
mov byte [ebp - 0x758], 0x88
mov byte [ebp - 0x757], 0x8f
mov byte [ebp - 0x756], 0x9e
mov byte [ebp - 0x755], 0x96
mov byte [ebp - 0x754], 0xa7
mov byte [ebp - 0x753], 0x88
test dword [ebp - 0x77000008], ebp
test dword [ebp - 0x77000008], ebp
mov byte [ebp - 0x752], 0x82
mov byte [ebp - 0x751], 0x96
mov byte [ebp - 0x750], 0x88
mov byte [ebp - 0x74f], 0x89
mov byte [ebp - 0x74e], 0x8d
mov byte [ebp - 0x74d], 0xd5
mov byte [ebp - 0x74c], 0x9f
mov byte [ebp - 0x74b], 0x97
mov byte [ebp - 0x74a], 0x97
mov byte [ebp - 0x749], 0xfb
lea eax, [ebp - 0x77c]
push eax
call fcn.004ee53a
pop ecx
mov al, byte [ebp - 0x12c]
mov byte [ebp - 0x778], al
push 0x30
lea eax, [ebp - 0x77c]
push eax
call fcn.004ee53a
pop ecx
push eax
lea eax, [ebp - 0x504]
push eax
call fcn.004ee49b
add esp, 0xc
lea eax, [ebp - 0x504]
mov dword [ebp - 0x3a0], eax
jmp 0x4f04a2
cmp dword [ebp - 0x6fc], 1
jne 0x4f0156
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.004ee53a
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.004ee49b
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x4f04a2
cmp dword [ebp - 0x6fc], 2
jne 0x4f0213
and byte [ebp - 0x79c], 0
invalid
movsd dword es:[edi], dword [esi]
clc
invalid
invalid
Function at 0x4f0700
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add dl, byte [esi + 0x8408bad]
push eax
call fcn.004ee52a
sahf
aad 0x15
push eax
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.004ee52a
ja 0x4f06eb
fnstsw word [ecx + ecx*2 + 0x38b348b]
idiv dword [eax + 0x50746547]
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x4f0717
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x4f0717
call fcn.004ee52a
push eax
popfd
xchg esi, eax
fisttp qword [ebx - 0x20fcdba6]
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.004ee52a
mov al, 0x3e
mov dword [edi], 0xff0875ff
jne 0x4f0760
push dword [ebp]
call fcn.004eed2a
clc
add dword [ebp + 0x11], esi
push esi
push edi
call fcn.004f0b80
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
invalid

Function at 0x4f2660
Capabilities:
Get common file path

Disassembly:
mov eax, dword [edi + 0xd5c]
test eax, eax
je 0x4f26af
cmp dword [eax + 0x1c], 0xa0
push esi
jne 0x4f2686
mov al, 1
cmp byte [edi + 0x4e9], al
je 0x4f26ae
mov byte [edi + 0x4e9], al
jmp 0x4f2696
cmp byte [edi + 0x4e9], 0
je 0x4f26ae
mov byte [edi + 0x4e9], 0
push 0
lea ecx, [edi + 0xc8]
call fcn.00478110
lea eax, [edi + 0xc8]
call fcn.00476590
pop esi
cmp dword [edi + 0xd60], 0
je 0x4f26bf
mov ecx, edi
jmp fcn.004f2c60
ret
Function at 0x40a9f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x40aa0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40aa11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40aa00
mov eax, 1
add ebx, ebx
jne 0x40aa23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40aa18
jne 0x40aa34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40aa18
xor ecx, ecx
sub eax, 3
jb 0x40aa48
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40aaba
mov ebp, eax
add ebx, ebx
jne 0x40aa53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40aa60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40aa84
inc ecx
add ebx, ebx
jne 0x40aa70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40aa65
jne 0x40aa81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40aa65
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40aaa4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40aa95
jmp 0x40aa06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40aaa4
add edi, ecx
jmp 0x40aa06
pop esi
mov edi, esi
mov ecx, 0x23
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40aac2
cmp byte [edi], 1
jne 0x40aac2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40aac7
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40ab3f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbfe4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc03c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40aaf4
mov ecx, edi
jns 0x40ab23
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc044]
or eax, eax
je 0x40ab39
mov dword [ebx], eax
add ebx, 4
jmp 0x40ab11
call dword [esi + 0xc040]
mov ebp, dword [esi + 0xc048]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x40ab73
sub esp, 0xffffff80
jmp 0x402640
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..3ean
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1caf6521
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
mov eax, section..7LWLf
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x402f0d06
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x403390
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x1c0c
call fcn.0040d2e0
mov eax, dword [0x4561c4]
mov ecx, dword [0x456138]
shr eax, 3
test eax, eax
jbe 0x4034c2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x4033e0
cmp dword [0x4561c4], 0x959
jne 0x4034a4
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
lea ecx, [esp + 0x820]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0x1024]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea eax, [esp + 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x1420]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
push 0x402cc4
push 0x402ce0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.004031d0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x4033e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0c
ret
Function at 0x408373
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x445a94]
jne 0x40837d
repz ret
jmp fcn.0040ab37

Function at 0x408e2e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406e25
and dword [ebp - 4], 0
cmp dword [0x446f74], 0
mov ebx, eax
jne 0x408edf
push 0x401a7c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408f90
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401a70
push edi
call esi
test eax, eax
je 0x408f90
push eax
call fcn.00406db3
mov dword [esp], 0x401a60
push edi
mov dword [0x446f74], eax
call esi
push eax
call fcn.00406db3
mov dword [esp], 0x401a4c
push edi
mov dword [0x446f78], eax
call esi
push eax
call fcn.00406db3
mov dword [esp], 0x401a30
push edi
mov dword [0x446f7c], eax
call esi
push eax
call fcn.00406db3
pop ecx
mov dword [0x446f84], eax
test eax, eax
je 0x408edf
push 0x401a18
push edi
call esi
push eax
call fcn.00406db3
pop ecx
mov dword [0x446f80], eax
mov eax, dword [0x446f80]
cmp eax, ebx
je 0x408f37
cmp dword [0x446f84], ebx
je 0x408f37
push eax
call fcn.00406e2e
push dword [0x446f84]
mov esi, eax
call fcn.00406e2e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408f37
test edi, edi
je 0x408f37
call esi
test eax, eax
je 0x408f2e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408f2e
test byte [ebp - 0xc], 1
jne 0x408f37
or dword [ebp + 0x10], 0x200000
jmp 0x408f70
mov eax, dword [0x446f78]
cmp eax, ebx
je 0x408f70
push eax
call fcn.00406e2e
pop ecx
test eax, eax
je 0x408f70
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408f70
mov eax, dword [0x446f7c]
cmp eax, ebx
je 0x408f70
push eax
call fcn.00406e2e
pop ecx
test eax, eax
je 0x408f70
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x446f74]
call fcn.00406e2e
pop ecx
test eax, eax
je 0x408f90
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408f92
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417e10
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc
mov eax, dword [0x634acc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov ecx, dword [0x631038]
push eax
mov dword [esp + 0xc], 0
mov dword [0x634acc], eax
lea edx, [ecx + ecx]
mov ecx, dword [0x63103c]
or edx, ecx
mov dword [esp + 8], edx
fild qword [esp + 8]
fadd qword [0x631050]
fstp qword [0x631050]
call dword [sym.imp.ole32.dll_RevokeDragDrop]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov eax, 0x190
mov edx, eax
add esp, 0xc
ret

Function at 0x6299a5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x631388
cmp edx, dword [eax]
je 0x6299c7
add eax, 8
inc ecx
cmp eax, 0x631418
jl 0x6299b8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x631388]
jne 0x629af5
mov eax, dword [0x635d10]
cmp eax, 1
je 0x629acf
test eax, eax
jne 0x6299f8
cmp dword [0x6312b0], 1
je 0x629acf
cmp edx, 0xfc
je 0x629af5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x629a2f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062a390
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062a820
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x629a72
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062a820
mov edi, eax
lea eax, [ebp - 0x1a4]
inc dword [ebx + 0x36a3be8]
lea eax, [ebp + 8]
lea esi, [esi + 0x63138c]
push 0
push eax
push dword [esi]
call fcn.0062a820
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]