joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4275e5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00427561
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x42775d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x42775d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x42770c
jg 0x42763e
test eax, eax
je 0x427702
push 1
push 0x1000
call fcn.00417fdb
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x427664
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x4276f9
push 0x8000
push ebx
call fcn.0041514a
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x427690
jg 0x42768b
cmp ecx, 0x1000
jb 0x427690
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00419ae9
add esp, 0x10
cmp eax, 0xffffffff
je 0x4276d5
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x42768b
jl 0x4276bc
test ecx, ecx
jne 0x42767d
push dword [ebp - 0xc]
push ebx
call fcn.0041514a
push esi
call fcn.00417c9b
add esp, 0xc
xor edi, edi
jmp 0x42776e
cmp byte [edi + 0x24], 0
je 0x4276ec
cmp dword [edi + 0x20], 5
jne 0x4276ec
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4276f7
mov edi, dword [edi + 0x18]
jmp 0x4276f9
xor edi, edi
push esi
call fcn.00417c9b
pop ecx
jmp 0x42776e
test ecx, ecx
jg 0x4276ce
jl 0x42770c
test eax, eax
jae 0x4276ce
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041cbef
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42772f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4276ce
jmp 0x427766
push ebx
call fcn.004206ff
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4276ce
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x42776e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x42776b
mov edi, dword [edi + 0x18]
jmp 0x42776e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0041cbef
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x428540
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42856d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42856d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x414779
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004100b5
xor ebx, ebx
cmp dword [0x4244a8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41484e
push 0x41cb64
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4147b9
xor eax, eax
jmp 0x414912
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41cb58
push edi
call esi
cmp eax, ebx
je 0x4147b2
push eax
call fcn.00410052
mov dword [esp], 0x41cb48
push edi
mov dword [0x4244a8], eax
call esi
push eax
call fcn.00410052
mov dword [esp], 0x41cb34
push edi
mov dword [0x4244ac], eax
call esi
push eax
call fcn.00410052
mov dword [0x4244b0], eax
lea eax, [ebp - 8]
push eax
call fcn.0040eac1
test eax, eax
pop ecx
pop ecx
je 0x41481c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040cbfb
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41484e
push 0x41cb18
push edi
call esi
push eax
call fcn.00410052
cmp eax, ebx
pop ecx
mov dword [0x4244b8], eax
je 0x41484e
push 0x41cb00
push edi
call esi
push eax
call fcn.00410052
pop ecx
mov dword [0x4244b4], eax
mov eax, dword [0x4244b4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4148c7
cmp dword [0x4244b8], esi
je 0x4148c7
push eax
call fcn.004100be
pop ecx
call eax
cmp eax, ebx
je 0x414894
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4244b8]
call fcn.004100be
pop ecx
call eax
test eax, eax
je 0x414894
test byte [ebp - 0x18], 1
jne 0x4148c7
lea eax, [ebp - 0xc]
push eax
call fcn.0040eaf8
test eax, eax
pop ecx
je 0x4148af
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040cbfb
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4148be
or dword [ebp + 0x10], 0x200000
jmp 0x4148f8
or dword [ebp + 0x10], 0x40000
jmp 0x4148f8
mov eax, dword [0x4244ac]
cmp eax, esi
je 0x4148f8
push eax
call fcn.004100be
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4148f8
mov eax, dword [0x4244b0]
cmp eax, esi
je 0x4148f8
push dword [ebp - 4]
push eax
call fcn.004100be
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 [0x4244a8]
call fcn.004100be
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403cf8
nop
sub eax, 0x403c9e
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp int.00401219
Function at 0x40c342
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.00401200
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x40c35d
mov byte [ebx], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40c367
mov byte [eax], 0
test edi, edi
je 0x40c410
movzx eax, word [edi]
test ax, ax
je 0x40c410
push esi
xor esi, esi
xor ecx, ecx
movzx eax, ax
inc edi
inc edi
cmp ax, 0x3d
jne 0x40c3a0
cmp dword [ebp + 0xc], 0
je 0x40c3ac
test esi, esi
jne 0x40c3ac
test ebx, ebx
je 0x40c39c
mov byte [ebx], 1
mov esi, edx
jmp 0x40c3bb
cmp ax, 0xd
je 0x40c3ce
cmp ax, 0xa
je 0x40c3d0
mov word [edx], ax
mov eax, dword [ebp + 0x14]
inc edx
add eax, 0xfffffffe
inc edx
cmp ecx, eax
jg 0x40c3c6
movzx eax, word [edi]
inc ecx
test ax, ax
jne 0x40c380
jmp 0x40c3d0
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
jmp 0x40c3d0
inc edi
inc edi
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov word [edx], ax
test ebx, ebx
je 0x40c40b
mov word [ebx], ax
test esi, esi
je 0x40c40b
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [ebp + 0x14]
lea eax, [ebp - 0x2000]
push eax
push ebx
call fcn.0040ea67
xor eax, eax
mov word [esi], ax
mov eax, edi
pop esi
jmp 0x40c412
xor eax, eax
pop edi
pop ebx
leave
ret 0x10

Function at 0x40c704
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00401200
cmp byte [0x41c210], 0
je 0x40c7ab
push esi
push dword [ebp + 8]
lea esi, [ebp - 0x100c]
call fcn.0040c644
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
test eax, eax
jne 0x40c7ab
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x100c]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c7a2
shr dword [ebp - 4], 1
mov eax, 0x3ff
cmp dword [ebp - 4], eax
jae 0x40c786
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x80c], cx
lea eax, [ebp - 0x80c]
push eax
push dword [ebp + 8]
call fcn.0040ea67
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 8
Function at 0x40f70c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x40f7cf
test cl, bh
push es
add byte [eax], al
cmp dword [ebp - 0x37c], 0
je 0x40f71a
jmp 0x40f7cf
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x40f773
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x40f778
jmp 0x40f0cb
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x40f7bf
lea eax, [ebp - 0x714]
push eax
call fcn.0040d739
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0040d6ee
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x40f7ca
jmp 0x40f7cf
jmp 0x40f0cb
cmp dword [ebp - 0x37c], 0
jne 0x40f879
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040d905
add esp, 0x14
mov dword [ebp - 0x7e0], eax

Function at 0x41279f
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8
Function at 0x418370
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x420ae0], ecx
add edx, 1
cmp edx, 0x100
jb 0x418372
cmp edx, 0x800
jae 0x41845b
mov edi, edi
mov eax, dword [edx*4 + 0x4206e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x420ae0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x420adc], eax
jb 0x418430
mov eax, 0x418c20
mov dword [0x420acc], eax
mov dword [0x422ae0], eax
mov dword [0x420ac8], 0x418b40
call fcn.00418690
test eax, eax
jne 0x418487
mov dword [0x422ae0], 0x418b40
ret

Function at 0x401260
Capabilities:
Hide graphical window

Disassembly:
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x403100], eax
push esp
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov esi, dword [esp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4030f4], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x40128d
push esp
mov dword [ebp - 0x24], 0x401330
mov eax, dword [0x4030f4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.wookernof
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4030f4]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.tofkol
push str.wookernof
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403104], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40132c
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x40130d
pop ebp
ret 0x10
Function at 0x4096e0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
jmp 0x409789
cmp dword [esi + 0x10], 0x1000
jne 0x409775
test byte [esi + 0x15], 1
jne 0x409775
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409734
cmp eax, 2
je 0x409734
cmp eax, 0x10
je 0x409734
cmp eax, 0x20
jne 0x409749
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409749
mov bl, 1
xor ebp, ebp
jmp 0x40975a
mov eax, dword [esi]
add eax, ebp
call fcn.004096d8
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x40974d
test bl, bl
je 0x409775
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40970c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x408975
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
call fcn.00408995
inc esi
inc eax
xor dword [ebx], ecx
inc esi
add eax, eax
inc ebx
inc esi
sub eax, esi
cmp ebx, edi
jne fcn.00408975
sub esi, 0xf10a6145
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x743b16d7
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..pdata_1
nop
mov ebx, 0x42e3d0
mov ecx, 0x6b27085
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x436334
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
xor esi, esi
mov ebx, dword [esp]
jmp 0x436348
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x436347
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
mov ebx, eax
mov eax, edi
xor ecx, ecx
mov edx, ebx
call fcn.00405838
xor ebx, ebx
cmp esi, dword [esp]
jge 0x4364ac
inc ebx
mov eax, edi
call fcn.004057cc
movzx edx, byte [ebp + esi]
and dl, 0xfc
movzx edx, dl
shr edx, 2
movzx edx, byte [edx + 0x4e4d98]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x436465
inc ebx
mov eax, edi
call fcn.004057cc
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [ebp + esi + 1]
and cl, 0xf0
movzx ecx, cl
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + 0x4e4d98]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x436434
inc ebx
mov eax, edi
call fcn.004057cc
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx ecx, byte [ebp + esi + 2]
and cl, 0xc0
movzx ecx, cl
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + 0x4e4d98]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.004057cc
movzx edx, byte [ebp + esi + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + 0x4e4d98]
mov byte [eax + ebx - 1], dl
jmp 0x4364a0
inc ebx
mov eax, edi
call fcn.004057cc
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx edx, byte [edx + 0x4e4d98]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.004057cc
mov byte [eax + ebx - 1], 0x3d
jmp 0x4364a0
inc ebx
mov eax, edi
call fcn.004057cc
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx edx, byte [edx + 0x4e4d98]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.004057cc
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.004057cc
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x43637c
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x436fbc
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.004035d8
ret
Function at 0x401030
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4421a0]
and byte [ebp - 0xa], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 8]
mov byte [ebp - 0x20], 0x68
mov byte [ebp - 0x1f], 0x74
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x70
mov byte [ebp - 0x1c], 0x3a
mov byte [ebp - 0x1b], 0x2f
mov byte [ebp - 0x1a], 0x2f
mov byte [ebp - 0x19], 0x77
mov byte [ebp - 0x18], 0x77
mov byte [ebp - 0x17], 0x77
mov byte [ebp - 0x16], 0x2e
mov byte [ebp - 0x15], 0x73
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0x13], 0x66
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x77
mov byte [ebp - 0x10], 0x61
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x6b
mov byte [ebp - 0xb], 0x2e
call fcn.0040199b
cmp dword [0x443de8], 0
jne 0x4010d6
push 0x4421c0
lea ecx, [ebp - 4]
call fcn.0040181a
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00401acd
lea ecx, [ebp - 4]
jmp 0x40115d
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
test eax, eax
je 0x401141
cmp dword [ebp - 0xcc], 0xffffff10
jl 0x401120
cmp dword [ebp - 0xcc], 0xf0
jg 0x401120
push 0x4421bc
lea ecx, [ebp - 4]
call fcn.0040181a
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00401acd
lea ecx, [ebp - 4]
jmp 0x40115d
push 0x4421b8
lea ecx, [ebp - 4]
call fcn.0040181a
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00401acd
lea ecx, [ebp - 4]
jmp 0x40115d
push 0x4421b8
lea ecx, [ebp - 4]
call fcn.0040181a
lea eax, [ebp - 4]
lea ecx, [ebp - 8]
push eax
call fcn.00401b49
lea ecx, [ebp - 4]
call fcn.004017ee
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.004017a8
lea ecx, [ebp - 8]
call fcn.004017ee
mov eax, dword [ebp + 8]
leave
ret
Function at 0x40117b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4421a0]
and byte [ebp - 0xa], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 4]
mov byte [ebp - 0x20], 0x68
mov byte [ebp - 0x1f], 0x74
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x70
mov byte [ebp - 0x1c], 0x3a
mov byte [ebp - 0x1b], 0x2f
mov byte [ebp - 0x1a], 0x2f
mov byte [ebp - 0x19], 0x77
mov byte [ebp - 0x18], 0x77
mov byte [ebp - 0x17], 0x77
mov byte [ebp - 0x16], 0x2e
mov byte [ebp - 0x15], 0x73
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0x13], 0x66
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x77
mov byte [ebp - 0x10], 0x61
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x6b
mov byte [ebp - 0xb], 0x2e
call fcn.0040199b
mov eax, dword [0x4a70e4]
cmp eax, 1
jl 0x4012b4
cmp eax, 3
jg 0x4012b4
cmp eax, 1
jne 0x40122e
push 0x4421b8
lea ecx, [ebp - 8]
call fcn.0040181a
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00401acd
lea ecx, [ebp - 8]
jmp 0x401278
cmp eax, 2
jne 0x401254
push 0x4421bc
lea ecx, [ebp - 8]
call fcn.0040181a
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00401acd
lea ecx, [ebp - 8]
jmp 0x401278
cmp eax, 3
jne 0x40127d
push 0x4421c0
lea ecx, [ebp - 8]
call fcn.0040181a
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00401acd
lea ecx, [ebp - 8]
call fcn.004017ee
mov ecx, dword [ebp - 4]
push esi
mov esi, dword [ebp + 8]
cmp dword [ecx - 0xc], 0
lea eax, [ecx - 0xc]
jl 0x401298
push eax
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4012a7
mov eax, dword [0x4421a0]
push ecx
mov ecx, esi
mov dword [esi], eax
call fcn.00401974
lea ecx, [ebp - 4]
call fcn.004017ee
mov eax, esi
pop esi
leave
ret
push dword [ebp + 8]
call fcn.00401030
pop ecx
lea ecx, [ebp - 4]
call fcn.004017ee
mov eax, dword [ebp + 8]
leave
ret
Function at 0x4026d9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
lea esi, [ebx + 4]
xor edi, edi
push edi
mov ecx, esi
call fcn.0040165b
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x47ec38]
push edi
push 0x20
push 0x20
push 1
push 0x9e
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x80
push dword [esi]
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
push 1
push 0x80
push dword [esi]
call edi
push str.CalculatorOK__Betta_
lea ecx, [ebp - 4]
call fcn.0040181a
push dword [eax]
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 4]
call fcn.004017ee
push 1
push 0x2af9
call fcn.0040d8f1
pop ecx
lea eax, [ebp - 0x14]
pop ecx
lea edi, [ebx + 0x20]
push eax
mov ecx, ebx
call fcn.00402885
xor eax, eax
cmp dword [edi + 4], eax
mov dword [edi + 0x5c], eax
jne 0x402784
push eax
mov ecx, edi
push dword [esi]
call fcn.00402931
mov dword [edi + 0x5c], ebx
push dword [esi]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetParent]
push 0xffffffffffffffec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x10000
cmp eax, ecx
je 0x4027b5
push ecx
push 0xffffffffffffffec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 4]
call ebx
mov eax, dword [ebp - 8]
push 0
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x154
mov ecx, edi
call fcn.0040bc82
push 0
push dword [edi + 4]
call ebx
xor edi, edi
push edi
push 0x14
push 0x7d1
push dword [esi]
call dword [sym.imp.USER32.dll_SetTimer]
push 0x105
push edi
push edi
push dword [esi]
call dword [sym.imp.USER32.dll_RedrawWindow]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10