joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407fc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, ecx
mov esi, edx
mov ecx, dword [0x42677c]
push edi
mov dword [ebp - 8], ecx
mov ecx, dword [0x426780]
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
call dword [sym.imp.USER32.dll_GetMenu]
mov ebx, dword [0x426694]
mov edi, eax
test ebx, ebx
je 0x407eaa
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x426694]
test eax, eax
je 0x407ea0
push 0x20c
push eax
call fcn.0041c7e3
add esp, 8
mov dword [0x426694], 0
push esi
call fcn.00407160
cmp esi, 5
ja case.0x407eb9.4
jmp dword [esi*4 + 0x407ff0]
push dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, edi
push dword [ebp - 0xc]
call fcn.004086b0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x20c
call fcn.0041c7b3
push 0x20c
mov edi, eax
push 0
push edi
mov dword [ebp - 0xc], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push 0x100
push 0x426ba8
push 0x6e
push dword [0x426684]
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [0x426688]
lea esi, [edi + 0xc]
push 0x426ba8
mov dword [edi], eax
mov eax, dword [ebp - 4]
push 0x100
push esi
mov dword [edi + 4], eax
mov dword [0x426774], edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
mov dword [0x426694], edi
push 0
push 0x406d80
push dword [edi + 4]
push 0xca
push dword [0x426684]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 0x10e
push eax
mov dword [edi + 8], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [edi + 4]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x426034], 1
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
push 2
push 0xd3
push edi
call esi
push 0
push 0xd4
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x20c
call fcn.0041c7b3
push 0x20c
mov edi, eax
push 0
push edi
mov dword [ebp - 0xc], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push 0x100
push 0x426ba8
push 0x6f
jmp 0x407f05
Function at 0x4133e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x24]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
lea edx, [eax + eax]
mov dword [ebp - 0x2c], 0
lea eax, [edx + ecx]
mov dword [ebp - 0x28], 0
imul eax, eax, 0x2a
add eax, 0x41fee0
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x413429
xor eax, eax
mov ecx, 0x1333
jmp 0x413437
movzx ecx, word [edx + 0x42003c]
movzx eax, word [edx + 0x420034]
mov edx, dword [ebx + 4]
mov esi, dword [ebp + 0xc]
shl edx, 3
mov dword [ebp - 0x10], edx
cmp esi, dword [ebp + 0x10]
jge 0x41357a
cwde
mov dword [ebp - 0x1c], eax
movsx eax, cx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0xffffdc00
mov dword [ebp - 0x20], 0xffc80000
push edi
xor edi, edi
mov dword [ebp - 4], edi
nop word [eax + eax]
bsr eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x14]
inc eax
add eax, edx
cmp eax, 0xf
jl 0x4134a8
mov edx, dword [ebp - 0x14]
mov ecx, 0x14
cmp esi, ecx
cmovl ecx, esi
movzx eax, byte [edx + ecx*2 + 1]
shl eax, 6
push eax
movzx eax, byte [edx + ecx*2]
shl eax, 7
push eax
push ebx
call fcn.00417610
add esp, 0xc
jmp 0x4134e1
cmp eax, 2
jl 0x4134ca
push 2
push 0x420030
push ebx
call fcn.0040c400
mov ecx, eax
add esp, 0xc
and eax, 1
sar ecx, 1
neg eax
xor eax, ecx
jmp 0x4134e1
cmp eax, 1
jl 0x4134de
push 1
push ebx
call fcn.0040c340
add esp, 8
neg eax
jmp 0x4134e1
or eax, 0xffffffff
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
shl eax, 0xa
mov ecx, dword [ecx + 8]
imul ecx, edi
add ecx, esi
lea edx, [edx + ecx*2]
movzx ecx, word [edx]
cmp word [ebp - 0x18], cx
jle 0x413503
mov ecx, 0xffffdc00
mov word [edx], cx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ecx + 8]
imul ecx, edi
add ecx, esi
mov esi, dword [ebp + edi*4 - 0x2c]
lea edx, [edx + ecx*2]
mov edi, eax
movsx ecx, word [edx]
imul ecx, dword [ebp - 0x1c]
shl edi, 7
sub ecx, 0xffffff80
sar ecx, 8
add ecx, edi
add ecx, esi
cmp ecx, 0xffc80000
cmovl ecx, dword [ebp - 0x20]
sar eax, 8
add ecx, 0x40
cwde
imul eax, dword [ebp - 0x24]
sar ecx, 7
mov word [edx], cx
mov edx, dword [ebp - 0x10]
sub edi, eax
mov eax, dword [ebp - 4]
add edi, esi
mov esi, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x2c], edi
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp edi, dword [ebp + 0x20]
jl 0x413470
inc esi
mov dword [ebp + 0xc], esi
cmp esi, dword [ebp + 0x10]
jl 0x413465
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402590
Capabilities:
Delete file

Disassembly:
push ebp
mov eax, 0x2010
mov ebp, esp
push esi
push ebx
call fcn.005d4d10
sub esp, eax
cmp byte [0x82f041], 0
jne 0x402643
cmp byte [0x831042], 0
jne 0x4025c0
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
call fcn.00402120
mov dword [esp + 4], 0x71a3f6
mov dword [esp], 0x82f042
lea ebx, [ebp - 0x2008]
call dword [sym.imp.msvcrt.dll__wfopen]
test eax, eax
mov esi, eax
jne 0x402608
jmp 0x40270f
mov dword [esp + 4], 0x831044
mov dword [esp], ebx
call fcn.005e7280
test eax, eax
jne 0x402700
mov dword [esp + 8], esi
mov dword [esp + 4], 0x1000
mov dword [esp], ebx
call fcn.005e74d0
test eax, eax
jne 0x4025f0
mov dword [esp], esi
call fcn.005e7500
or dword [0x8531c0], 0x210
mov dword [0x8531c4], 2
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
call fcn.00402120
lea eax, [ebp - 0x1ff6]
lea ecx, [ebp - 0x2008]
mov dword [esp], 0x82f042
mov dword [ebp - 0x2004], 0
mov dword [ebp - 0x1ffc], pe_nt_image_headers32
mov dword [ebp - 0x2000], eax
xor eax, eax
mov byte [ebp - 0x1ff8], 0
mov dword [ebp - 0x2008], 0x75d6e8
mov word [ebp - 0x1ff6], ax
call fcn.00403cc0
mov eax, dword [ebp - 0x2000]
sub esp, 4
mov ecx, 0x8554b8
mov dword [esp], eax
call sub.SHLWAPI.dll_PathRemoveFileSpecW
mov eax, dword [ebp - 0x2000]
sub esp, 4
mov ecx, 0x8554b8
mov dword [esp], eax
call fcn.004400c0
sub esp, 4
mov ecx, 0x8554b8
mov dword [esp], 0x82f042
call sub.KERNEL32.dll_DeleteFileW
mov eax, dword [ebp - 0x2004]
sub esp, 4
mov dword [ebp - 0x2008], 0x75d500
test eax, eax
je 0x4025b7
mov dword [esp], eax
call fcn.006eb310
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [0x8554a0], 1
jmp 0x402620
mov dword [esp + 8], 0x82f042
mov dword [esp + 4], 0x71a3fc
mov dword [esp], 0x835180
call fcn.0041e920
jmp 0x402628

Function at 0x4036e0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test ebx, ebx
je 0x40370a
add ebx, edx
mov eax, 0x1505
mov ecx, eax
add edx, 1
shl ecx, 5
add eax, ecx
movsx ecx, byte [edx - 1]
xor eax, ecx
cmp edx, ebx
jne 0x4036f4
pop ebx
ret
mov eax, 0x1505
pop ebx
ret
Function at 0x404140
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0xc
call fcn.0046e0c0
call fcn.0046e160
call fcn.0046e110
call fcn.0046e3f0
call fcn.0046e460
call fcn.0046e500
call fcn.0046e4b0
add esp, 0xc
jmp 0x45c490
push ebx
xor edx, edx
sub esp, 8
lea esi, [esi]
lea edi, [edi]
mov eax, edx
mov ecx, edx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and eax, 1
neg eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and eax, 1
neg eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and eax, 1
neg eax
shr ecx, 1
and eax, 0xedb88320
xor ecx, eax
mov eax, ecx
and ecx, 1
neg ecx
shr eax, 1
and ecx, 0xedb88320
xor eax, ecx
mov ecx, eax
and eax, 1
neg eax
shr ecx, 1
and eax, 0xedb88320
xor ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
xor eax, ecx
mov ecx, eax
and eax, 1
neg eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
mov dword [edx*4 + 0x859160], eax
add edx, 1
cmp edx, 0x100
jne 0x45c4a0
mov edx, 0x859160
mov ebx, 0x85ad60
mov eax, dword [edx]
add edx, 4
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x859160]
mov dword [edx + 0x3fc], eax
cmp ebx, edx
jne 0x45c544
mov dword [0x859140], 0x45c5a0
mov dword [0x85b160], 0x45c5a0
mov dword [0x85b164], 0x45c670
call fcn.0045f470
test eax, eax
jne 0x45c591
mov dword [0x85b160], 0x45c670
add esp, 8
pop ebx
ret
Function at 0x408e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
lea edi, [esp + 0x3c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x3c], 0
mov dword [ebp], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call esi
sub esp, 0x18
cmp eax, 2
je 0x408ea5
test eax, eax
mov dword [esp + 0x2c], eax
je 0x408eb0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x71ae33
mov dword [esp], 0x835180
call fcn.0041e920
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0x71ae3c
mov ecx, 0x835180
mov dword [esp], eax
call fcn.0041f1f0
sub esp, 8
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [esp + 0x64]
lea ecx, [eax + 0x80c]
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00403110
sub esp, 4
mov dword [ebp], eax
mov edx, dword [esp + 0x64]
mov dword [esp + 0x14], edi
add eax, dword [edx + 0x828]
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call esi
sub esp, 0x18
test eax, eax
mov esi, eax
je 0x408ea5
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x71ae33
mov dword [esp], 0x835180
call fcn.0041e920
mov dword [esp], esi
mov dword [esp + 4], 0x71ae60
mov ecx, 0x835180
call fcn.0041f1f0
sub esp, 8
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
Function at 0x4140b0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
xor edx, edx
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x36a]
push ebx
sub esp, 0x43c
mov dword [ebp - 0x374], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x71c41e
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x370], pe_nt_image_headers32
mov dword [esp + 8], eax
lea eax, [ebp - 0x37c]
mov byte [ebp - 0x36c], 0
mov dword [ebp - 0x37c], 0x75d6e8
mov word [ebp - 0x36a], dx
mov dword [esp], eax
call fcn.00403910
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x374]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea esi, [ebp - 0x23c]
sub esp, 8
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x430], 0
nop
lea esi, [esi]
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x42c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x414300
test byte [ebp - 0x268], 0x10
je 0x4141e1
mov dword [esp + 4], 0x71c42c
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x414150
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0x71c432
mov dword [esp + 8], eax
lea eax, [ebp - 0x37c]
mov dword [esp], eax
call fcn.00403910
mov eax, dword [0x833080]
test eax, eax
jne 0x414150
mov eax, dword [ebp - 0x374]
mov ecx, dword [ebp - 0x434]
mov dword [esp], eax
call fcn.004140b0
sub esp, 4
add dword [ebp - 0x430], eax
jmp 0x414150
mov dword [esp], esi
call fcn.005e72a0
cmp eax, 2
mov edi, eax
jbe 0x414150
xor ebx, ebx
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebx*4 + 0x70b014]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.SHELL32.dll_StrStrIW
sub esp, 8
test eax, eax
jne 0x414290
add ebx, 1
cmp ebx, 6
jne 0x414200
lea eax, [esi + edi*2 - 6]
mov dword [esp + 4], 0x71c47c
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x414150
mov eax, dword [ebp - 0x434]
lea ecx, [ebp - 0x41c]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00413ec0
sub esp, 0xc
test byte [0x8531c0], 1
jne 0x414278
cmp word [0x8411c0], 0
je 0x41433e
add dword [ebp - 0x430], 1
lea ecx, [ebp - 0x41c]
call fcn.005f55f0
jmp 0x414150
test byte [0x8531c0], 0x90
jne 0x414150
mov eax, dword [ebx*4 + 0x70b014]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x434]
mov eax, dword [eax + 0x14]
mov dword [esp + 4], 0x71c440
mov dword [esp + 8], eax
lea eax, [ebp - 0x37c]
mov dword [esp], eax
call fcn.00403910
mov eax, dword [ebp - 0x374]
mov dword [esp + 0xc], 1
mov ecx, 0x8554b8
mov dword [esp + 8], 0
mov dword [esp], 0x71c474
mov dword [esp + 4], eax
call fcn.00440110
sub esp, 0x10
jmp 0x414150
mov eax, dword [ebp - 0x42c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x378]
sub esp, 4
mov dword [ebp - 0x37c], 0x75d500
test eax, eax
je 0x41432e
mov dword [esp], eax
call fcn.006eb310
mov eax, dword [ebp - 0x430]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
lea ecx, [ebp - 0x41c]
call fcn.00411b10
test eax, eax
je 0x414278
jmp 0x41427f
Function at 0x41cb20
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
push edi
mov eax, 0x227c
push esi
push ebx
call fcn.005d4d10
sub esp, eax
mov ebx, dword [esp + 0x2290]
jmp 0x41cb53
mov dword [esp], ebx
mov dword [esp + 4], 0x5c
call fcn.005e72d0
lea ebx, [eax + 2]
mov dword [esp + 4], 0x5c
mov dword [esp], ebx
call fcn.005e72d0
test eax, eax
jne 0x41cb40
mov eax, dword [esp + 0x2290]
lea edi, [esp + 0x270]
lea esi, [esp + 0x20]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.005e72b8
sub ebx, dword [esp + 0x2290]
mov dword [esp + 4], 0x71cbfa
lea eax, [edi + ebx]
mov dword [esp], eax
mov dword [esp + 0x1c], eax
call fcn.005e72b8
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
sub esp, 8
cmp eax, 0xffffffff
mov ebx, eax
lea ebp, [esp + 0x4c]
jne 0x41cbd4
jmp 0x41cc20
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x41cc20
test byte [esp + 0x20], 0x10
jne 0x41cbc0
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.005e72b8
mov eax, dword [esp + 0x2290]
mov dword [esp + 4], ebp
mov dword [esp], eax
call sub.SHELL32.dll_StrStrIW
sub esp, 8
test eax, eax
je 0x41cc30
mov dword [esp + 8], edi
mov dword [esp + 4], 0x71cc18
mov dword [esp], 0x835180
call fcn.0041eed0
jmp 0x41cbc0
add esp, 0x227c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0x71cc06
mov dword [esp], 0x835180
call fcn.0041eed0
jmp 0x41cbc0

Function at 0x41e770
Capabilities:
Get hostname

Disassembly:
push edi
push esi
mov eax, 0x2040
push ebx
call fcn.005d4d10
sub esp, eax
mov edi, ecx
lea eax, [esp + 0x3c]
lea esi, [esp + 0x40]
mov dword [esp + 0x3c], 0x1000
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
sub esp, 8
lea ebx, [esp + 0x38]
mov dword [esp], ebx
call fcn.005e7310
mov dword [esp], ebx
call fcn.005e7420
test byte [0x8531c1], 0x20
je 0x41e7d0
xor eax, eax
mov word [edi], ax
add esp, 0x2040
pop ebx
pop esi
pop edi
ret
mov dword [esp + 0x20], esi
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0xc], edx
mov eax, dword [eax + 0x14]
mov dword [esp], edi
mov dword [esp + 4], 0x720ca0
add eax, 0x76c
mov dword [esp + 8], eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x2040
pop ebx
pop esi
pop edi
ret
Function at 0x425c00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
push edi
mov eax, 0x403c
push esi
push ebx
call fcn.005d4d10
sub esp, eax
mov esi, dword [0x853284]
mov ebp, ecx
lea ebx, [esp + 0x2030]
test esi, esi
je 0x425c6c
xor eax, eax
mov ecx, 0xc
mov edi, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x2030], 0x30
mov dword [esp + 0x2034], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14
mov dword [esp], esi
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
sub esp, 0x10
test eax, eax
jne 0x425d83
mov eax, dword [0x70ec64]
mov ecx, ebp
mov dword [esp], eax
call fcn.004259b0
sub esp, 4
lea esi, [esp + 0x30]
mov dword [esp + 4], 0x83d1c0
mov dword [esp], esi
call fcn.005e72b8
mov dword [esp + 4], 0x721b04
mov dword [esp], esi
call fcn.005e72d8
mov dword [esp + 4], 0x8431c0
mov dword [esp], ebx
call fcn.005e72b8
mov dword [esp + 4], 0x721b04
mov dword [esp], ebx
call fcn.005e72d8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
sub esp, 8
mov ecx, 0x8554b8
mov dword [esp], 0x20
call fcn.00440d90
mov edi, eax
mov eax, dword [0x8531c0]
sub esp, 4
test eax, 0x40000000
je 0x425d24
mov ecx, dword [0x8575d0]
test ecx, ecx
je 0x425d17
and eax, 0xbfffffff
mov dword [0x8531c0], eax
mov eax, dword [ecx]
call dword [eax + 0x48]
add esp, 0x403c
pop ebx
pop esi
pop edi
pop ebp
ret 4
cmp dword [0x853274], 1
jne 0x425d17
mov dword [esp], esi
mov ecx, 0x8554b8
call fcn.0043f310
sub esp, 4
test al, al
je 0x425de0
mov eax, dword [esp + 0x4050]
sar eax, 8
cmp eax, edi
jg 0x425dd0
cmp byte [esp + 0x4050], 0
jne 0x425dd0
cmp dword [0x70ec64], 1
jne 0x425d17
mov dword [esp], 2
mov ecx, ebp
mov dword [0x853274], 0
call fcn.00425560
sub esp, 4
jmp 0x425d17
mov dword [esp + 0x2038], 0
mov dword [esp + 0x203c], 0
mov dword [esp + 0x2054], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14
mov dword [esp], esi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
sub esp, 0x10
jmp 0x425c6c
mov dword [0x853274], 0
jmp 0x425d17
mov dword [esp], ebx
mov ecx, 0x8554b8
call fcn.0043f310
sub esp, 4
test al, al
jne 0x425d45
cmp dword [esp + 0x2c], 1
jg 0x425d45
mov eax, dword [0x853238]
mov dword [0x853274], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41fbc0
mov dword [esp + 4], 0x384
mov dword [esp + 8], eax
mov eax, dword [0x8532b0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
sub esp, 0x14
jmp 0x425d17
Function at 0x42ee90
Capabilities:
Create thread

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x41cc60
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [0x8350e8], eax
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x2c
ret 4
Function at 0x439540
Capabilities:
Accept command line arguments

Disassembly:
push esi
push ebx
mov ebx, 1
sub esp, 0x24
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
sub esp, 8
mov esi, eax
cmp dword [esp + 0x1c], 1
ja 0x439590
jmp 0x4395a3
mov dword [esp + 4], 0x7240a6
mov dword [esp], eax
call sub.SHELL32.dll_StrStrIW
sub esp, 8
test eax, eax
jne 0x4395b0
add ebx, 1
cmp dword [esp + 0x1c], ebx
jbe 0x4395a3
mov eax, dword [esi + ebx*4]
cmp word [eax], 0x2f
jne 0x439570
mov edx, 0x2d
mov word [eax], dx
jmp 0x439570
add esp, 0x24
xor eax, eax
pop ebx
pop esi
ret
add esp, 0x24
mov eax, 1
pop ebx
pop esi
ret
Function at 0x43e590
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
mov eax, 0x201c
push esi
push ebx
call fcn.005d4d10
xor ebx, ebx
sub esp, eax
mov ebp, dword [esp + 0x2034]
mov eax, dword [esp + 0x2030]
lea esi, [esp + 0x10]
mov word [ebp], bx
mov dword [esp + 8], 0x1000
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
sub esp, 0xc
mov dword [esp + 8], esi
mov dword [esp + 4], 0x727788
mov dword [esp], 0x835180
call fcn.0041eed0
mov dword [esp + 4], 0x727796
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__wfopen]
test eax, eax
mov edi, eax
je 0x43e6e7
mov dword [esp + 8], edi
mov dword [esp + 4], 0x1000
mov dword [esp], esi
call fcn.005e74d0
test eax, eax
je 0x43e6bc
mov ebx, esi
jmp 0x43e626
add ebx, 2
movzx eax, word [ebx]
mov dword [esp], eax
call fcn.005e7438
test eax, eax
jne 0x43e623
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.005e72b8
movzx eax, word [esp + 0x10]
cmp ax, 0x3b
je 0x43e603
cmp ax, 0x23
je 0x43e603
cmp ax, 0x2f
je 0x43e6b0
mov dword [esp + 4], 0x727068
mov dword [esp], esi
call fcn.005e7280
test eax, eax
jne 0x43e603
mov dword [esp], esi
call fcn.005e72a0
cmp word [esp + eax*2 + 0xe], 0xa
je 0x43e6d6
cmp word [esp + 0x10], 0
je 0x43e603
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.005e72d8
mov dword [esp + 4], 0x7277b2
mov dword [esp], eax
call fcn.005e72d8
jmp 0x43e603
mov ecx, 0x2d
mov word [esp + 0x10], cx
jmp 0x43e658
mov dword [esp], edi
call fcn.005e7500
mov eax, 1
add esp, 0x201c
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov dword [esp], esi
call fcn.005e72a0
xor edx, edx
mov word [esp + eax*2 + 0xe], dx
jmp 0x43e67c
mov dword [esp + 8], esi
mov dword [esp + 4], 0x72779c
mov dword [esp], 0x835180
call fcn.0041e920
xor eax, eax
jmp 0x43e6c9

Function at 0x43e770
Capabilities:
Accept command line arguments

Disassembly:
push ebp
push edi
mov ebp, ecx
push esi
push ebx
sub esp, 0x3c
mov dword [esp], 0x726ef0
call fcn.005e72a0
mov edi, eax
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
sub esp, 8
mov esi, eax
lea eax, [edi + edi]
cmp dword [esp + 0x2c], 1
mov edi, 1
mov dword [esp + 0x1c], eax
jg 0x43e7f5
jmp 0x43e810
mov dword [esp + 4], 0x726ef0
mov dword [esp], ebx
call sub.SHELL32.dll_StrStrIW
sub esp, 8
test eax, eax
je 0x43e7ec
add ebx, dword [esp + 0x1c]
mov ecx, ebp
mov dword [esp], ebx
call fcn.0043e710
sub esp, 4
test al, al
jne 0x43e820
add edi, 1
cmp dword [esp + 0x2c], edi
jle 0x43e810
mov ebx, dword [esi + edi*4]
cmp word [ebx], 0x2f
jne 0x43e7c0
mov eax, 0x2d
mov word [ebx], ax
jmp 0x43e7c0
add esp, 0x3c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 4
or dword [ebp + 0x1c000], 0x8000
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret 4