joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49d3e4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x49d406
add esp, 0xfffffff0
call fcn.00403714
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x49d571
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0048f528
test al, al
jne 0x49d443
mov ecx, 0x49d5a4
mov dl, 1
mov eax, dword [0x483c24]
call fcn.0040cb28
call fcn.00403c40
push dword [0x4e3d80]
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xbc]
push dword [ebp - 0x10]
push dword [0x4e3d80]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c10
mov eax, dword [ebp - 0xc]
call fcn.00490000
test al, al
jne 0x49d515
push dword [0x4e3d7c]
push dword [ebp + 8]
push dword [0x4e3d7c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404c10
mov eax, dword [ebp - 0x14]
call fcn.00490000
test al, al
jne 0x49d515
push dword [0x4e3d80]
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xb8]
push dword [ebp - 0x1c]
push dword [0x4e3d80]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404c10
mov eax, dword [ebp - 0x18]
call fcn.00490118
test al, al
jne 0x49d515
push dword [0x4e3d7c]
push edi
push dword [0x4e3d7c]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404c10
mov eax, dword [ebp - 0x20]
call fcn.00490118
test al, al
jne 0x49d515
mov ecx, 0x49d5a4
mov dl, 1
mov eax, dword [0x483c24]
call fcn.0040cb28
call fcn.00403c40
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.00496e0c
lea eax, [ebx + 4]
mov edx, esi
call fcn.004049ec
lea eax, [ebx + 8]
call fcn.004049b0
lea eax, [ebx + 0x30]
mov edx, edi
call fcn.004049ec
lea eax, [ebx + 0x34]
mov edx, dword [ebp + 8]
call fcn.004049ec
mov byte [ebx + 0xc], 0xc
mov ax, word [0x49d5c0]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d578
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.004049c8
ret

Function at 0x4d2074
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d20ef
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x100]
push eax
push 0x59
call sub.kernel32.dll_GetThreadLocale_1
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4d20d6
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00404514
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.004089e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d20f6
lea eax, [ebp - 0x104]
call fcn.004042a4
ret
Function at 0x41f20b
Capabilities:
Delete file

Disassembly:
mov eax, 0x443fd3
call fcn.00421898
sub esp, 0x1dc
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
call fcn.0041f4e7
test al, 0x10
pop ecx
je 0x41f386
push 1
lea eax, [ebp + 8]
pop edi
push 0x44dbe0
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0040b46f
add esp, 0xc
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0040cea0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x10], esi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.0040e0a8
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 0xffffffff
je 0x41f331
test edi, edi
je 0x41f32a
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea eax, [ebp - 0x1bc]
push 0x44dbd8
push eax
call edi
test eax, eax
je 0x41f315
lea eax, [ebp - 0x1bc]
push 0x44dbd4
push eax
call edi
test eax, eax
je 0x41f315
lea eax, [ebp - 0x11]
push 0
push eax
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x446878
mov dword [ebp - 0x20], 0x446870
call fcn.0040cb18
sub esp, 0x28
lea ecx, [ebp - 0x40]
mov eax, esp
mov dword [ebp - 0x18], esp
push ecx
lea ecx, [ebp + 8]
push ecx
push eax
mov byte [ebp - 4], 4
call fcn.0041f3bb
add esp, 0xc
call fcn.0041f20b
add esp, 0x28
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0040e0a8
lea eax, [ebp - 0x1e8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edi, eax
jmp 0x41f28f
push esi
call ebx
or dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040cea0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x41f360
lea eax, [ebp + 8]
push 1
push eax
lea ecx, [ebp - 0x60]
call fcn.0041f434
lea eax, [ebp - 0x60]
push 0x4485c8
push eax
call fcn.004226d7
cmp dword [ebp - 0x10], 0xffffffff
je 0x41f36b
push dword [ebp - 0x10]
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e0a8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
lea ecx, [ebp + 8]
call fcn.0040cea0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41f36b
lea eax, [ebp + 8]
push 1
push eax
lea ecx, [ebp - 0xa8]
call fcn.0041f434
lea eax, [ebp - 0xa8]
push 0x4485c8
push eax
call fcn.004226d7

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov ecx, dword [ebp + 8]
call fcn.0040cea0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41f51c
push 1
lea ecx, [ebp - 0x48]
push dword [ebp + 8]
call fcn.0041f434
lea eax, [ebp - 0x48]
push 0x4485c8
push eax
call fcn.004226d7
leave
ret
Function at 0x4382d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor dh, al
test dword [edx + 0x21fffffc], ebx
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.0043738e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00437343
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.0043737e
or eax, esi
iretd

Function at 0x438710
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 0xc
mov dword [ebp - 0x6c8], eax
push 0
lea eax, [ebp - 0x6e0]
push eax
push dword [ebp - 0x378]
push dword [ebp - 4]
push dword [ebp - 0x66c]
call dword [ebp - 0x6c8]
mov dword [ebp - 0x6cc], eax
push dword [ebp - 0x66c]
call dword [ebp - 0x680]
cmp dword [ebp - 0x6cc], 0
je 0x439511
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.004372ef
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x43878b
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x4387d4
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x43877e
call fcn.0043737e
stosb byte es:[edi], al
and bl, al
adc eax, dword [eax - 0x72b5b]
inc dword [eax]
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0043737e
into
inc ebx
inc ecx
or byte [ebp - 0x72b7b], 0xff
push eax
call fcn.0043738e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00437343
add esp, 0xc
mov dword [ebp - 0x6e4], eax
call fcn.0043737e
outsd dx, dword [esi]
xor esp, eax
jae 0x438824
test esi, ebx
clc
invalid
test eax, ebp
clc
invalid
pop edi
pop esi
pop ebx
leave
ret
Function at 0x600ac4
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x6206d4], 0
jne 0x600b83
mov dword [ebp - 0x10], 0x80000000
push 0x400
call fcn.00606f6d
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x6206d4], eax
mov dword [ebp - 0xc], 0
jmp 0x600b08
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x100
jge 0x600b83
push 8
mov edx, dword [ebp - 0xc]
push edx
call fcn.00600a6e
add esp, 8
shl eax, 0x18
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
jmp 0x600b37
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 8
jge 0x600b64
mov ecx, dword [ebp - 0x18]
and ecx, 0x80000000
test ecx, ecx
je 0x600b5a
mov edx, dword [ebp - 0x18]
shl edx, 1
xor edx, 0x4c11db7
mov dword [ebp - 0x18], edx
jmp 0x600b62
mov eax, dword [ebp - 0x18]
shl eax, 1
mov dword [ebp - 0x18], eax
jmp 0x600b2e
push 0x20
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00600a6e
add esp, 8
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x6206d4]
mov dword [ecx + edx*4], eax
jmp 0x600aff
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
jmp 0x600b9d
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jae 0x600bc9
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
xor ecx, dword [ebp + 0x10]
and ecx, 0xff
mov edx, dword [ebp + 0x10]
shr edx, 8
mov eax, dword [0x6206d4]
mov ecx, dword [eax + ecx*4]
xor ecx, edx
mov dword [ebp + 0x10], ecx
jmp 0x600b94
mov eax, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x6017a7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x601813
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x60185c
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0060ceb0
add esp, 8
test eax, eax
jne 0x60185a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x60185e
jmp 0x60180a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x6069ae
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.006035a9
add esp, 4
and eax, 0xff
test eax, eax
je 0x606a37
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.006076b0
add esp, 0xc
mov dword [ebp - 0x2cc], 0x10001
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x606a35
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp + 0xc]
jne 0x606a35
jmp 0x606a37
jmp 0x6069b7
mov esp, ebp
pop ebp
ret

Function at 0x6096b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x61daf8
cmp edx, dword [eax]
je 0x6096d2
add eax, 8
inc ecx
cmp eax, 0x61db88
jl 0x6096c3
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x61daf8]
jne 0x609800
mov eax, dword [0x620c50]
cmp eax, 1
je 0x6097da
test eax, eax
jne 0x609703
cmp dword [0x61d834], 1
je 0x6097da
cmp edx, 0xfc
je 0x609800
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x60973a
lea eax, [ebp - 0x1a4]
push 0x6205c0
push eax
call fcn.00607b20
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.006078a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x60977d
lea eax, [ebp - 0x1a4]
push eax
call fcn.006078a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x6205bc
push edi
call fcn.00607cd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x6205a0
push eax
call fcn.00607b20
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00607b30
lea eax, [ebp - 0xa0]
push 0x62059c
push eax
call fcn.00607b30
push dword [esi + 0x61dafc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00607b30
push 0x12010
lea eax, [ebp - 0xa0]
push 0x620574
push eax
call fcn.0060bc78
add esp, 0x2c
pop edi
jmp 0x609800
lea eax, [ebp + 8]
lea esi, [esi + 0x61dafc]
push 0
push eax
push dword [esi]
call fcn.006078a0
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]
pop esi
leave
ret
Function at 0xb5f440
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x708000]
push edi
jmp 0xb5f45a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xb5f461
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb5f450
mov eax, 1
add ebx, ebx
jne 0xb5f473
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xb5f484
jne 0xb5f4a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb5f4a3
dec eax
add ebx, ebx
jne 0xb5f490
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xb5f468
add ebx, ebx
jne 0xb5f49f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xb5f4f5
xor ecx, ecx
sub eax, 3
jb 0xb5f4bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xb5f52a
sar eax, 1
mov ebp, eax
jmp 0xb5f4c6
add ebx, ebx
jne 0xb5f4c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb5f494
inc ecx
add ebx, ebx
jne 0xb5f4d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb5f494
add ebx, ebx
jne 0xb5f4e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xb5f4d6
jne 0xb5f4f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xb5f4d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xb5f514
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xb5f506
jmp 0xb5f456
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xb5f514
add edi, ecx
jmp 0xb5f456
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xb5f532
cmp byte [edi], 0x11
jne 0xb5f532
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 0xb5f537
lea edi, [esi + 0x758000]
mov eax, dword [edi]
or eax, eax
je 0xb5f5af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xde6740]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xde68bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xb5f564
mov ecx, edi
jns 0xb5f593
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 + 0xde68c0]
or eax, eax
je 0xb5f5a9
mov dword [ebx], eax
add ebx, 4
jmp 0xb5f581
call dword [esi + 0xde68d0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xb5f5e0
cmp al, 0xef
ja 0xb5f5d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xb5f5b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xb5f5c2
mov ebp, dword [esi + 0xde68c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0xb5f614
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x40236c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x44e4f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push 0xc35
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x4023d2
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00432460
add esp, 0xc
push 0x400
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4023d2
add esi, 0x10
lea eax, [ebp - 0x804]
call fcn.00401338
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043223b
leave
ret
Function at 0x402f7b
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
xor ebx, ebx
push 0x442dd8
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x18], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x1c], eax
je 0x403017
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegCreateKeyExW
push eax
call edi
push str.RegQueryValueW
push dword [esi + 0x1c]
mov dword [esi], eax
call edi
push str.RegSetValueW
push dword [esi + 0x1c]
mov dword [esi + 4], eax
call edi
push str.RegQueryValueExW
push dword [esi + 0x1c]
mov dword [esi + 8], eax
call edi
push str.RegSetValueExW
push dword [esi + 0x1c]
mov dword [esi + 0xc], eax
call edi
push str.RegCloseKey
push dword [esi + 0x1c]
mov dword [esi + 0x10], eax
call edi
cmp dword [esi], ebx
mov dword [esi + 0x14], eax
pop edi
je 0x403017
cmp dword [esi + 4], ebx
je 0x403017
cmp dword [esi + 8], ebx
je 0x403017
cmp dword [esi + 0xc], ebx
je 0x403017
cmp dword [esi + 0x10], ebx
je 0x403017
cmp eax, ebx
je 0x403017
mov byte [esi + 0x18], 1
mov eax, esi
pop ebx
ret

Function at 0x404123
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push 0x44
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.00432460
push 0x10
lea eax, [ebp - 0x14]
push ebx
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.00432460
add esp, 0x18
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x30], 1
mov word [ebp - 0x2c], 5
jb 0x404169
mov esi, dword [esi + 4]
jmp 0x40416c
add esi, 4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x40417a
mov eax, dword [eax + 4]
jmp 0x40417d
add eax, 4
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4041a9
cmp dword [ebp - 0x14], ebx
je 0x4041a5
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x4041ab
xor al, al
pop esi
pop ebx
leave
ret 4
Function at 0x404ff1
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x44e4f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edi
jb 0x40501a
mov eax, dword [eax + 4]
jmp 0x40501d
add eax, 4
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
cmp ebx, edi
jne 0x405032
xor al, al
jmp 0x40507a
cmp dword [ebp - 0x24], edi
jle 0x405066
mov eax, dword [ebx + edi*4]
lea ecx, [ebp - 0x20]
call fcn.0040118b
cmp dword [ebp - 0xc], 0
je 0x405054
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x28]
call fcn.004011dd
push 0
push 1
lea esi, [ebp - 0x20]
call fcn.00401452
inc edi
cmp edi, dword [ebp - 0x24]
jl 0x405037
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x28]
call fcn.004011c7
test eax, eax
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043223b
leave
ret 4
Function at 0x407638
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x44e4f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x407659
mov eax, dword [eax + 4]
jmp 0x40765c
add eax, 4
push 0x100
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x407683
mov eax, dword [ebp - 0x2b8]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043223b
leave
ret 4

Function at 0x409c47
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x44e4f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push 0x27f4
mov dword [ebp - 0x25c], edi
call fcn.004050db
lea ecx, [ebp - 0x250]
call fcn.0041006a
cmp dword [ebp - 0x238], 8
mov eax, dword [ebp - 0x24c]
jae 0x409c8f
lea eax, [ebp - 0x24c]
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
push dword [edi + 4]
call esi
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00432460
add esp, 0xc
push 0x3ec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
mov dword [ebp - 0x258], eax
je 0x409d0a
push eax
call ebx
test eax, eax
je 0x409d0a
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x409d0a
and word [ebp - 0x10], 0
lea esi, [edi + 0x298]
lea eax, [ebp - 0x218]
call fcn.00401338
jmp 0x409d33
push dword [ebp - 0x258]
call ebx
test eax, eax
je 0x409d33
lea eax, [edi + 0x298]
cmp dword [eax + 0x18], 8
jb 0x409d27
mov eax, dword [eax + 4]
jmp 0x409d2a
add eax, 4
push eax
push dword [ebp - 0x258]
call esi
add edi, 0x298
lea ecx, [ebp - 0x278]
call fcn.0040c0d3
push 0xffffffffffffffff
push edi
xor ebx, ebx
call fcn.004016e9
push ebx
push 1
lea esi, [ebp - 0x278]
call fcn.00401452
push 0x443184
push edi
call fcn.0040c8a4
mov ebx, dword [ebp - 0x25c]
cmp byte [ebx + 0x90], 0
pop ecx
pop ecx
je 0x409e62
cmp dword [ebx + 0x88], 0
je 0x409e62
lea ecx, [ebx + 0x74]
mov eax, edi
call fcn.0040c705
test al, al
jne 0x409e62
lea esi, [ebp - 0x298]
call fcn.00402f7b
lea eax, [ebx + 0x324]
lea esi, [ebp - 0x234]
call fcn.00401aa6
call fcn.0040c947
push 0x25
push 0x3a
call fcn.0040c829
push 0x25
push 0x5c
call fcn.0040c829
mov ebx, str.SoftwareHaoZip_SFX
add esp, 0x10
mov eax, ebx
lea ecx, [ebp - 0x278]
call fcn.0040118b
lea eax, [ebp - 0x278]
lea esi, [ebp - 0x298]
call fcn.0040302a
push 0
push 1
lea esi, [ebp - 0x278]
mov byte [ebp - 0x251], al
call fcn.00401452
cmp byte [ebp - 0x251], 0
je 0x409e48
mov eax, ebx
lea ecx, [ebp - 0x278]
call fcn.0040118b
lea eax, [ebp - 0x234]
push eax
mov ecx, edi
lea eax, [ebp - 0x278]
lea esi, [ebp - 0x298]
call fcn.00403160
push 0
push 1
lea esi, [ebp - 0x278]
call fcn.00401452
push 0
push 1
lea esi, [ebp - 0x234]
call fcn.00401452
lea eax, [ebp - 0x298]
call fcn.0040301b
push 0
push 1
lea esi, [ebp - 0x250]
call fcn.00401452
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043223b
leave
ret