joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45932c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459343
add esp, 0xfffffff0
call fcn.004035f0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424378
mov eax, dword [0x49aab0]
cmp word [eax + 2], 0
jne 0x45936b
mov eax, dword [0x49aab0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045aa04
mov eax, dword [0x49abec]
cmp word [eax + 2], 0
jne 0x459385
mov eax, dword [0x49abec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045abfc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419600]
call fcn.00403274
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419600]
call fcn.00403274
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x426554]
call fcn.0042c19c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45950c
mov eax, dword [0x49a8f4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042c56c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45b19c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49a8f4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d304
test eax, eax
je 0x45947a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ea0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d32c
test eax, eax
je 0x45948e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040428c
mov eax, dword [0x49a6d4]
cmp byte [eax], 0
jne 0x4594c2
mov eax, ebx
call fcn.00459634
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045b378
mov eax, ebx
call fcn.0045bd3c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459502
call fcn.00403648
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4598b4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49bbb4]
cmp dword [eax + 0x30], 0
je 0x45995e
cmp dword [ebx + 0x94], 0
jne 0x459958
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x459844
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459958
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45991e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459958
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041be68
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45992d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a4c0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45a4f5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040410c
jmp 0x45a502
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404070
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b554
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b595
mov eax, esi
call fcn.00441d1c
test al, al
je 0x45b595
mov eax, dword [ebx + 0x84]
call fcn.00441a18
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b595
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441a18
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x489903
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x49a4f2
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48995b
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x49a513
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x489951
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x48995f
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x496744
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
push esp
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [esp + 0x14]
shr eax, 1
add eax, dword [esp + 0xc]
add esp, 0x20
ret
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x403e59
pop dword [ebp - 0x10]
mov eax, 0x403e59
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xb39a480c
sub dword [ebp - 0x20], 0x654802c1
mov dword [ebp - 0x1c], 0x5f871851
sub dword [ebp - 0x1c], 0x2d53cc0c
mov dword [ebp - 0x18], 0xbf8a951d
sub dword [ebp - 0x18], 0x733e50ef
mov dword [ebp - 0x14], 0xc984dd37
sub dword [ebp - 0x14], 0xc984dd37
lea eax, [ebp - 0x20]
push eax
mov eax, 0x3d0640c8
sub eax, 0x3cc5d064
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xbb33da04
sub dword [ebp - 0x20], 0x46c170ae
mov dword [ebp - 0x1c], 0xe5763429
add dword [ebp - 0x1c], 0x5bf62d4c
mov dword [ebp - 0x18], 0xbcc61684
sub dword [ebp - 0x18], 0x5956aa18
mov dword [ebp - 0x14], 0xde2bcd15
sub dword [ebp - 0x14], 0xde2bcd15
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x611f5cac
sub eax, 0x60deec04
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x37709
push 0
call eax
mov ecx, 0x8f55e65
add ecx, 0xf70aec60
xor edi, edi
add edi, eax
mov ebx, 0xe783b4b2
add ebx, 0x18bd4b4e
add ebx, dword [ebp - 0x10]
mov edx, 0x349b29dd
add edx, 0xeec3a058
sub dword [ebp - 0xc], eax
mov esi, dword [ebx]
add dword [ebp - 4], ebx
xor esi, edx
sub dword [ebp - 8], 0x9c56412d
mov dword [edi], esi
add dword [ebp - 8], ecx
add edi, 0x40492ab
add edi, 0xfbfb6d59
add ebx, 0xe1a5e7d0
add ebx, 0x1e5a1834
loop 0x403f78
add eax, 0x40310edf
add eax, 0xbfd00f08
xor ebx, ebx
add ebx, eax
add eax, 0x4369f4e8
add eax, 0xbc960b1d
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x1ace6f6
Capabilities:
Encode data using base64

Disassembly:
inc edi
pushfd
lea esp, [esp + 0xc]
jmp fcn.01acf6b1

Function at 0x1acf6b1
Capabilities:
Encode data using base64

Disassembly:
xor al, 0xa8
mov al, byte [edi]
clc
call fcn.01acf811
add byte [eax], al
inc edi
imul esi, dword fs:[eax + 0x44], 0x49776172
insd dword es:[edi], dx
popal
push edx
arpl word gs:[eax + eax], si
add byte [ebp + 0x61], cl
jo 0x1acf72c
imul ebp, dword [esi + 0x64], 0x6f50776f
imul ebp, dword [esi + 0x74], 0x73
inc edi
je 0x1acf72c
jb 0x1acf75b
outsd dx, dword [esi]
jb 0x1acf735
outsb dx, byte [esi]
outsw dx, word [esi]
add byte [ecx + 0x99be8ec], cl
add byte [eax], al
jb 0x1acf793
arpl word [ecx + eax*2], si
add al, 0xf
test dword [edx], ebx
mov bl, 1
add byte [esi + eax*8 - 0x67ff00b9], bl
invalid
add al, 0x8d
and al, 0x38

Function at 0x1d2a7ee
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
cmp al, dl
mov edi, dword [edi + ecx*4]
cmc
test edi, edi
push edi
push 0x6dd82e41
mov byte [esp + 4], ch
mov dword [esp + 0x48], 0x1af0879
call fcn.020bf11f
add byte [eax], al
dec edi
jne 0x1d2a874
jo 0x1d2a877
je 0x1d2a848
bound esi, qword gs:[ebp + 0x67]
push ebx
je 0x1d2a87d
imul ebp, dword [esi + 0x67], 0x41
inc edi
je 0x1d2a863
outsb dx, byte gs:[esi]
jne 0x1d2a863
je 0x1d2a881
insd dword es:[edi], dx
dec ecx
outsb dx, byte [esi]
outsw dx, word [esi]
inc ecx
add cl, ch
daa
adc byte [eax], al
add cl, bh
stc
pushfd
add edi, eax
jmp 0x1acf782
cmp eax, 0x62638fb8
xor eax, 0x804d1756
idiv dword [eax - 0x2d]
or ch, byte [ebp + 0x26]
and eax, 0x2526af9c
mov ah, 0xc3
sal byte [edi - 0x357d9420], 0x44
enter 0x4bfe, 0xb
jo 0x1d2a82c
sti
jecxz 0x1d2a869
push ds
invalid
jge 0x1d2a8ab
push ebp
inc ecx
fsubp st(3)
pushal
xchg ecx, eax
mov edx, 0x3c0f6c0b
lodsd eax, dword [esi]
lcall 0xc2ed, 0x497ea8ea
pop ebp
ret 0xae48
jle 0x1d2a8bf
in eax, dx
ret 0xc25d
inc edx
lcall 0xa4e2, 0xab63d3df
inc edi
arpl word [ebx + 0x4764a4e2], bp
stosd dword es:[edi], eax
or dword [edi + edi*8 - 0x36], 0xde35f53d
xor dword [ebp + 0x4dda0b35], edi
inc edi
or byte [esi + ebp*8 + 0x4287028d], 9
in al, 0x67
jle 0x1d2a831
adc al, 0x76
lodsd eax, dword [esi]
popfd
push cs
pop ecx
test byte [edx - 0x19], 0xfe
out 0xfe, eax
dec ecx
mov cl, 0xce
test byte [esi - 0x43], al
xchg ebx, eax
push edx
cmc
push ss
loop 0x1d2a8c7
dec esp
aam 0x46
push eax
in eax, dx
add byte [esi + 0x603f385f], dl
xchg esi, eax
pop edi
cmp byte [edi], bh
pushal
in al, dx
push ss
mov esp, 0xf4a66690
mov esp, 0xf4a66690
pop eax
xchg esi, eax
jbe 0x1d2a910
or al, 0xd2
cmp ah, byte [eax + ebp*4 + 0x12]
cmp al, al
mov word [esi - 0x1f], fs
xor ebx, dword [ecx - 0x3a]
inc ecx
mov dword [0xf8549516], ecx
push ds
loopne 0x1d2a8ab
test dword [ebx + ecx], edi
out 0x62, eax
xor eax, 0x2cad7456
pop ds
scasb al, byte es:[edi]
popfd
xor al, 0x17
cmpsb byte [esi], byte es:[edi]
movsd dword es:[edi], dword [esi]
inc eax
or ebp, esi
pop ebp
test byte [esi], al
sbb al, 0x25
int3
dec ebx
jg 0x1d2a8db
imul edx, dword [edi], 0xe017e4c9
mov edi, 0xa4a71e8a
xor dword [edx], ebx
ret
Function at 0x1d2a828
Capabilities:
Encode data using base64

Disassembly:
cmp al, dl
mov edi, dword [edi + ecx*4]
cmc
test edi, edi
push edi
push 0x6dd82e41
mov byte [esp + 4], ch
mov dword [esp + 0x48], 0x1af0879
call fcn.020bf11f
add byte [eax], al
dec edi
jne 0x1d2a874
jo 0x1d2a877
je 0x1d2a848
bound esi, qword gs:[ebp + 0x67]
push ebx
je 0x1d2a87d
imul ebp, dword [esi + 0x67], 0x41
inc edi
je 0x1d2a863
outsb dx, byte gs:[esi]
jne 0x1d2a863
je 0x1d2a881
insd dword es:[edi], dx
dec ecx
outsb dx, byte [esi]
outsw dx, word [esi]
inc ecx
add cl, ch
daa
adc byte [eax], al
add cl, bh
stc
pushfd
add edi, eax
jmp 0x1acf782
cmp eax, 0x62638fb8
xor eax, 0x804d1756
idiv dword [eax - 0x2d]
or ch, byte [ebp + 0x26]
and eax, 0x2526af9c
mov ah, 0xc3
sal byte [edi - 0x357d9420], 0x44
enter 0x4bfe, 0xb
jo 0x1d2a82c
sti
jecxz 0x1d2a869
push ds
invalid
jge 0x1d2a8ab
push ebp
inc ecx
fsubp st(3)
pushal
xchg ecx, eax
mov edx, 0x3c0f6c0b
lodsd eax, dword [esi]
lcall 0xc2ed, 0x497ea8ea
pop ebp
ret 0xae48
jle 0x1d2a8bf
in eax, dx
ret 0xc25d
inc edx
lcall 0xa4e2, 0xab63d3df
inc edi
arpl word [ebx + 0x4764a4e2], bp
stosd dword es:[edi], eax
or dword [edi + edi*8 - 0x36], 0xde35f53d
xor dword [ebp + 0x4dda0b35], edi
inc edi
or byte [esi + ebp*8 + 0x4287028d], 9
in al, 0x67
jle 0x1d2a831
adc al, 0x76
lodsd eax, dword [esi]
popfd
push cs
pop ecx
test byte [edx - 0x19], 0xfe
out 0xfe, eax
dec ecx
mov cl, 0xce
test byte [esi - 0x43], al
xchg ebx, eax
push edx
cmc
push ss
loop 0x1d2a8c7
dec esp
aam 0x46
push eax
in eax, dx
add byte [esi + 0x603f385f], dl
xchg esi, eax
pop edi
cmp byte [edi], bh
pushal
in al, dx
push ss
mov esp, 0xf4a66690
mov esp, 0xf4a66690
pop eax
xchg esi, eax
jbe 0x1d2a910
or al, 0xd2
cmp ah, byte [eax + ebp*4 + 0x12]
cmp al, al
mov word [esi - 0x1f], fs
xor ebx, dword [ecx - 0x3a]
inc ecx
mov dword [0xf8549516], ecx
push ds
loopne 0x1d2a8ab
test dword [ebx + ecx], edi
out 0x62, eax
xor eax, 0x2cad7456
pop ds
scasb al, byte es:[edi]
popfd
xor al, 0x17
cmpsb byte [esi], byte es:[edi]
movsd dword es:[edi], dword [esi]
inc eax
or ebp, esi
pop ebp
test byte [esi], al
sbb al, 0x25
int3
dec ebx
jg 0x1d2a8db
imul edx, dword [edi], 0xe017e4c9
mov edi, 0xa4a71e8a
xor dword [edx], ebx
ret
Function at 0x1ea70de
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.01aef69f
lea esp, [esp + 4]
ja 0x1aed6da
stc
inc al
clc
sub ebx, edi
cmc
test bl, dl
add ebx, esp
push 0xc7999375
dec di
bt dx, 8
mov edi, ebx
pushal
setl al
neg al
mov al, 0x2e
cmp ah, cl
repne scasb al, byte es:[edi]
jmp 0x1af1492
lea esp, [esp + 0x28]
jne 0x1aeaa56
movzx ax, cl
cwde
not ax
mov byte [edi - 1], 0
mov byte [esp], ch
pushfd
jmp 0x1aef3e8
add eax, edi
mov byte [esp + 4], dl
mov dword [esp], 0x96963401
cmp eax, edx
pushal
lea esp, [esp + 0x28]
jb 0x1d2a5e6
pushfd
push dword [esp]
cmc
cmp eax, dword [ebp - 0x10]
pushal
call fcn.01aeab75
add byte [eax], al
dec eax
je 0x1ea717f
jo 0x1ea715c
jo 0x1ea7174
outsb dx, byte [esi]
push edx
jno 0x1ea7189
jae 0x1ea718b
inc ecx
add byte [ecx + 0x38a124d0], cl
mov eax, edx
and al, 0xa1
cmp ch, bl
pushfd
add edi, 1
cmp bl, bl
sal al, cl
sete al
mov al, byte [edi]
stc
test al, al
jmp 0x1aed642
je 0x1ea71a4
jbe 0x1ea71c6
outsb dx, byte [esi]
je fcn.01ea7164
add byte fs:[eax], al
jae 0x1ea71f5
pop edi
lea esp, [esp + 0x40]
je 0x1dcf537
test ah, ch
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 0x414dc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.IaDsgWGk
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x414de2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414de9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414dd8
mov eax, 1
add ebx, ebx
jne 0x414dfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414df0
jne 0x414e0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414df0
xor ecx, ecx
sub eax, 3
jb 0x414e20
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414e92
mov ebp, eax
add ebx, ebx
jne 0x414e2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414e38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414e5c
inc ecx
add ebx, ebx
jne 0x414e48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414e3d
jne 0x414e59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414e3d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414e7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414e6d
jmp 0x414dde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414e7c
add edi, ecx
jmp 0x414dde
pop esi
mov edi, esi
mov ecx, 2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414e9a
cmp byte [edi], 5
jne 0x414e9a
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 0x414e9f
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414f17
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19bb8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19bf4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414ecc
mov ecx, edi
jns 0x414efb
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 + 0x19bfc]
or eax, eax
je 0x414f11
mov dword [ebx], eax
add ebx, 4
jmp 0x414ee9
call dword [esi + 0x19bf8]
mov ebp, dword [esi + 0x19c00]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x414f4b
sub esp, 0xffffff80
jmp 0x401134
Function at 0x403690
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor esi, esi
push esi
push str.SoftwareAdobeAdobe_Acrobat11.0Security
xor edi, edi
push 0x80000002
inc edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4036f7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x405314
push dword [ebp - 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4036ee
cmp dword [ebp - 4], esi
jne 0x4036ee
xor edi, edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x403a60
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push 0x23c
mov eax, 0x404c24
call fcn.0040405a
and dword [ebp - 0x23c], 0
lea eax, [ebp - 0x23c]
push eax
mov byte [ebp - 0x235], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x248], eax
test eax, eax
je 0x403c02
mov edi, dword [sym.imp.MSVCR100.dll_wcslen]
mov ebx, str.__alloweddir
push ebx
mov byte [ebp - 0x235], 1
call edi
mov dword [ebp - 0x244], eax
xor eax, eax
pop ecx
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x23c], eax
jle 0x403bf6
mov ecx, dword [ebp - 0x248]
lea esi, [ecx + eax*4]
mov eax, dword [esi]
test eax, eax
je 0x403bdd
push dword [ebp - 0x244]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x403bdd
mov ecx, dword [ebp - 0x244]
mov byte [ebp - 0x235], al
mov eax, dword [esi]
lea esi, [eax + ecx*2]
cmp word [esi], 0
je 0x403bdd
push esi
call edi
pop ecx
cmp eax, 0x104
jae 0x403bdd
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403bdd
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x403bdd
lea eax, [ebp - 0x234]
push esi
push eax
call fcn.004038c4
pop ecx
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x224], esi
je 0x403bcb
mov ecx, 0x104
cmp dword [ebp - 0x224], ecx
jae 0x403bcb
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x403b81
lea eax, [ebp - 0x234]
push eax
push ecx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
test eax, eax
jne 0x403bcb
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x403bcb
lea eax, [ebp - 0x218]
push eax
call edi
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x4071bc
call fcn.004031d5
mov byte [ebp - 0x235], 1
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x234]
call fcn.004012b4
mov eax, dword [ebp - 0x240]
inc eax
mov dword [ebp - 0x240], eax
cmp eax, dword [ebp - 0x23c]
jl 0x403acf
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, byte [ebp - 0x235]
call fcn.004040a4
ret
Function at 0x403c0e
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call fcn.00403690
test eax, eax
je 0x403c7a
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.kernel32.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x403c48
push str.SetProcessDEPPolicy
push eax
call esi
test eax, eax
je 0x403c48
push 1
call eax
test eax, eax
jne 0x403c79
push str.ntdll.dll
call edi
test eax, eax
je 0x403c79
push str.NtSetInformationProcess
push eax
call esi
mov esi, eax
test esi, esi
je 0x403c79
push 4
lea eax, [ebp - 4]
push eax
push 0x22
mov dword [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
pop edi
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
call fcn.00403a60
test al, al
jne 0x403ca0
xor eax, eax
inc eax
jmp 0x403caf
push esi
call fcn.004036fd
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x403fe2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4071f0]
jne 0x403fec
repz ret
jmp fcn.00404527
Function at 0x401140
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x432004]
cmp eax, 0x270
jl 0x401220
cmp eax, 0x271
jne 0x401161
mov eax, 0x1105
call fcn.00401100
xor ecx, ecx
jmp 0x401170
mov eax, dword [ecx*4 + 0x4332ac]
xor eax, dword [ecx*4 + 0x4332a8]
inc ecx
and eax, 0x7fffffff
xor eax, dword [ecx*4 + 0x4332a4]
mov edx, eax
shr eax, 1
and edx, 1
xor eax, dword [edx*4 + 0x432008]
xor eax, dword [ecx*4 + 0x4338d8]
cmp ecx, 0xe3
mov dword [ecx*4 + 0x4332a4], eax
jl 0x401170
cmp ecx, 0x26f
jge 0x4011f1
lea ecx, [ecx*4 + 0x4332a8]
mov edi, edi
mov eax, dword [ecx]
xor eax, dword [ecx + 4]
add ecx, 4
and eax, 0x7fffffff
xor eax, dword [ecx - 4]
mov edx, eax
and edx, 1
mov edx, dword [edx*4 + 0x432008]
xor edx, dword [ecx - 0x390]
shr eax, 1
xor edx, eax
cmp ecx, 0x433c64
mov dword [ecx - 4], edx
jl 0x4011c0
mov ecx, dword [0x433c64]
mov eax, dword [0x4332a8]
xor eax, ecx
and eax, 0x7fffffff
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
xor eax, dword [ecx*4 + 0x432008]
xor eax, dword [0x4338d8]
mov dword [0x433c64], eax
xor eax, eax
mov ecx, dword [eax*4 + 0x4332a8]
inc eax
mov edx, ecx
mov dword [0x432004], eax
shr edx, 0xb
xor ecx, edx
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov edx, ecx
and edx, 0xffffdf8c
shl edx, 0xf
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
and eax, 0xff
ret
Function at 0x422270
Capabilities:
Check mutex on windows
Enumerate gui resources
Get common file path
Move file

Disassembly:
sub esp, 0x2bc
mov eax, dword [0x432014]
xor eax, esp
mov dword [esp + 0x2b8], eax
push edi
mov edi, dword [esp + 0x2cc]
push str.GETAMPED_NIJUUKIDOUBOUSHI_MUTEX_021002
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4222d2
push 0
push 0x422220
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, 1
pop edi
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.004223fd
add esp, 0x2bc
ret 0x10
mov eax, edi
push ebx
xor ebx, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4222e0
sub eax, edx
inc eax
push esi
push eax
call fcn.00422938
mov esi, eax
add esp, 4
mov ecx, edi
sub esi, edi
lea ebx, [ebx]
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x422300
mov ecx, dword [str.___t_n]
push ecx
push eax
call fcn.0042280d
add esp, 8
test eax, eax
je 0x42233a
mov edi, edi
mov edx, dword [str.___t_n]
push edx
mov dword [esp + ebx*4 + 0x30], eax
push 0
inc ebx
call fcn.0042280d
add esp, 8
test eax, eax
jne 0x422320
lea eax, [esp + 0x1bc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x1bc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [esp + eax + 0x1bd], 0
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1bc]
mov eax, 0x215
push ecx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], str.distscache
mov dword [esp + 0x1c], edx
mov word [esp + 0x20], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push str.JRE1.3.1_binhotspotjvm.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x4223bf
push 0x1000
push str.Keel_Launcher_Exe
push str.Error:_jvm.dll_not_found.__nPlease_reinstall_this_software.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [esi + 1]
jmp 0x4223e3
push str.JNI_CreateJavaVM
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x2c]
push edx
push ebx
push eax
call fcn.00421a30
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [esp + 0x2c4]
pop esi
pop ebx
pop edi
xor ecx, esp
call fcn.004223fd
add esp, 0x2bc
ret 0x10

Function at 0x4223fd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x432014]
jne 0x422407
repz ret
jmp fcn.00422b4e