joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46fc2f
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x6ec170]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x46fc7a
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0047013a
test al, al
jne 0x46fc74
sub edx, 2
cmp edx, edi
jne 0x46fc5a
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x46fc9c
lea eax, [edi + 2]
cmp edx, eax
je 0x46fc9c
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0046f828
add esp, 0x10
jmp 0x46fd96
push esi
lea ecx, [ebp - 0x255]
call fcn.0047013a
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x46fcdf
push dword [ebp - 0x25c]
jmp 0x46fc8c
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x46fd1c
cmp word [ebp - 0x226], 0
je 0x46fd3d
cmp word [ebp - 0x226], ax
jne 0x46fd1c
cmp word [ebp - 0x224], 0
je 0x46fd3d
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0046f828
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x46fd89
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x46fcf6
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x46fd71
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x46fd96
push 0x46f10e
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00404e12
add esp, 0x10
jmp 0x46fd66
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402cd4
leave
ret
Function at 0x482f12
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x6f00e8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x482f52
cmp byte [ebx], 0xa
jne 0x482f52
or byte [eax + edi + 0x28], 4
jmp 0x482f57
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x483055
mov al, byte [edx]
cmp al, 0x1a
je 0x483037
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x482f86
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x482fab
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x482fb5
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x482f68
jmp 0x483055
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x483032
cmp dword [ebp - 0xc], 0
je 0x483032
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x6f00e8]
test byte [eax + edi + 0x28], 0x48
je 0x48300c
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x482ff7
mov byte [esi], dl
jmp 0x483008
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x6f00e8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x483055
cmp byte [ebp - 1], 0xa
jne 0x48301b
cmp esi, ebx
jne 0x48301b
mov byte [esi], 0xa
jmp 0x483054
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401857
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x483055
mov byte [esi], 0xd
jmp 0x483054
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x6f00e8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x483051
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x483055
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4830b1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x6f00e8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4830f4
cmp word [esi], dx
jne 0x4830f4
or byte [edi + eax + 0x28], 4
jmp 0x4830f9
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x48324c
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x48322c
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x48313b
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x483171
cmp eax, edx
jae 0x48317d
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x483113
jmp 0x48324c
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x483228
cmp dword [ebp - 0x14], 0
je 0x483228
mov eax, dword [ebx*4 + 0x6f00e8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x483200
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4831c9
mov word [esi], cx
jmp 0x4831fc
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x6f00e8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x6f00e8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x6f00e8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x48324c
pop ebx
cmp word [ebp - 4], bx
jne 0x483211
cmp esi, dword [ebp + 0xc]
jne 0x483211
mov word [esi], bx
jmp 0x483249
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401857
add esp, 0x10
cmp word [ebp - 4], bx
je 0x48324c
push 0xd
jmp 0x483245
mov ecx, dword [ebx*4 + 0x6f00e8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x483243
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x48324c
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4158b0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
push ebx
mov edx, 0xb
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4158b7
call fcn.0043cc30
mov edx, dword [esp + 0x38]
lea ecx, [esp]
call fcn.00424000
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 4]
call fcn.00424000
mov edx, dword [esp + 0x40]
lea ecx, [esp + 8]
call fcn.00424000
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0xc]
call fcn.00424000
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x10]
call fcn.00424000
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x14]
call fcn.00424000
push 0
call sub.ole32.dll_CoInitialize
lea eax, [esp + 0x18]
push eax
mov ebp, 0x44eab4
push ebp
push 1
push 0
mov ebp, 0x44ea84
push ebp
call sub.ole32.dll_CoCreateInstance
mov ebx, eax
and ebx, ebx
jne 0x415a2d
sub esp, 4
push dword [esp + 4]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
push eax
pop eax
add esp, 4
sub esp, 4
push dword [esp + 0xc]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
push eax
pop eax
add esp, 4
sub esp, 4
push dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
push eax
pop eax
add esp, 4
sub esp, 4
push dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
push eax
pop eax
add esp, 4
push dword [esp + 0x4c]
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
push dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x34]
sub esp, 4
push dword [esp + 0x58]
push dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
push eax
pop eax
add esp, 4
lea eax, [esp + 0x20]
push eax
mov ebp, 0x44eaa4
push ebp
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax]
mov ebx, eax
and ebx, ebx
jne 0x415a23
sub esp, 4
push 1
push dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
push eax
pop eax
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 8]
call sub.ole32.dll_CoUninitialize
mov eax, dword [esp + 0x28]
jmp 0x415a3a
push dword [esp + 4]
call fcn.0043ccc0
push dword [esp]
call fcn.0043ccc0
push dword [esp + 0x10]
call fcn.0043ccc0
push dword [esp + 8]
call fcn.0043ccc0
push dword [esp + 0xc]
call fcn.0043ccc0
push dword [esp + 0x14]
call fcn.0043ccc0
add esp, 0x2c
pop ebx
pop ebp
ret 0x20
Function at 0x41a22b
Capabilities:
Get graphical window text

Disassembly:
push ebp
push ebx
xor eax, eax
push eax
push eax
push eax
call fcn.0043cc30
push 3
call fcn.00430e4b
and eax, eax
je 0x41a249
xor eax, eax
jmp 0x41a24e
mov eax, 1
and eax, eax
je 0x41a294
push 0
call fcn.00430c18
push eax
push 0xc80002
mov ebp, dword [0x45d684]
push dword [ebp + 0x48]
push 0x77
push 0x154
push 0
push 0
push 3
call fcn.00430ec2
and eax, eax
je 0x41a294
mov eax, 1
jmp 0x41a296
xor eax, eax
and eax, eax
je 0x41a485
push 7
call fcn.00436048
push eax
push 0
push pe_nt_image_headers32
push 3
call fcn.00430c18
push eax
call sub.USER32.dll_SendMessageW
push 0x24
push 0x1b
push 3
call fcn.00431330
push 0x10
call fcn.00436048
push eax
push 0x30
push 0x30
push 0x17
push 0xa
push 0xffffffff
call fcn.0042e0ab
push 1
mov eax, str.Build:_3051
push eax
push 0x18
push 0x39
push 0x55
push 5
push 0xffffffff
call fcn.0042c2c2
mov dword [esp + 4], eax
push 0x808080
push 1
push dword [esp + 0xc]
call fcn.0042ada0
push 1
push dword [0x45d520]
push 0x19
push 0xfa
push 0x14
push 0x4b
push 0xffffffff
call fcn.0042c2c2
mov dword [esp], eax
push 0x200
push 0xd
mov eax, str.Cooper_Black
push eax
push 0xffffffff
call fcn.0043be98
push eax
call fcn.0043bfc0
push eax
push dword [esp + 4]
call fcn.0042ad31
push 1
mov ebp, dword [0x45d684]
push dword [ebp + 0x124]
push 0x23
push 0xf0
push 0x30
push 0x50
push 0xffffffff
call fcn.0042c2c2
mov eax, 0x44a044
push eax
push 0x69
push 0x104
push 4
push 0x46
push 0xffffffff
call fcn.0042be54
call fcn.00435699
push eax
call fcn.004356d0
mov dword [esp + 8], eax
mov ebx, dword [esp + 8]
cmp ebx, 0x7e5
jge 0x41a40c
mov dword [esp + 8], 0x7e5
push edx
call fcn.0043ca90
pop edx
push eax
push 1
push edx
call fcn.0043ca90
pop edx
push eax
mov edx, str.Copyright_2020_
push edx
call fcn.0043cb60
push edx
call fcn.0043ca90
pop edx
push eax
push edx
call fcn.0043ca90
pop edx
push eax
mov eax, dword [esp + 0x1c]
cdq
push edx
push eax
call fcn.0043a630
pop eax
mov edx, 0x44b0f6
push edx
call fcn.0043cb60
call fcn.0043cbc0
push 0x18
push 0xf0
push 0x55
push 0x50
push 0xffffffff
call fcn.00424232
add dword [esp + 0x14], edx
call fcn.0042c2c2
call fcn.00424250
xor eax, eax
add esp, 0xc
pop ebx
pop ebp
ret
Function at 0x424b4f
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
push dword [esp + 0x50]
push dword [0x45e79c]
call fcn.0043c1dd
mov esi, eax
test esi, esi
je 0x424c06
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
push ebp
push dword [esp + 0x58]
push 0x419
push dword [esi]
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424c06
lea eax, [esp + 0x10]
push eax
push ebx
push 0x41d
push dword [esi]
call edi
mov dword [esp + 0x20], 0x2c
mov dword [esp + 0x24], 0x10
mov eax, dword [esi]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20]
push eax
push ebp
push 0x433
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], ebp
push dword [esi + 4]
call edi
lea eax, [esp + 0x20]
push eax
push ebp
push 0x432
push dword [esi + 4]
call edi
xor eax, eax
inc eax
jmp 0x424c08
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc

Function at 0x424d06
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
je 0x424d9e
push edi
push 0x45e7a8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x45d6a4]
test edi, edi
je 0x424d72
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x424d6b
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x45d6a4
call fcn.0043c97c
pop ecx
pop ecx
jmp 0x424d6d
mov edi, dword [edi]
test edi, edi
jne 0x424d42
pop ebx
mov eax, dword [0x45b380]
mov esi, eax
inc eax
push 0x10
push 0x45d6a4
mov dword [0x45b380], eax
call fcn.0043c9bc
pop ecx
pop ecx
push 0x45e7a8
mov dword [eax], ebp
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8

Function at 0x424da6
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
push 0
push edi
call fcn.00424cba
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, 0x45e7a8
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x45d6a4]
jmp 0x424dd7
cmp dword [esi + 0xc], edi
je 0x424ddd
mov esi, dword [esi]
test esi, esi
jne 0x424dd0
jmp 0x424df5
add esi, 8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0x45d6a4
call fcn.0043c97c
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret 4
Function at 0x4254b3
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebp
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x4255ae
push edi
push dword [esp + 0x1c]
push dword [0x45e7c8]
call fcn.0043c1dd
mov edi, eax
test edi, edi
je 0x4255ad
mov eax, dword [edi + 4]
push ebx
mov ebx, dword [esp + 0x24]
push esi
imul esi, ebx, 0x24
cmp dword [eax + esi], 2
jne 0x425500
mov eax, dword [eax + esi + 0x18]
test eax, eax
je 0x425500
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 4]
mov eax, dword [eax + esi + 0x20]
test eax, eax
je 0x425519
push eax
call fcn.00437226
mov eax, dword [edi + 4]
and dword [eax + esi + 0x20], 0
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x30]
push ebp
mov dword [esi + eax], 1
mov eax, dword [edi + 4]
mov dword [eax + esi + 8], ecx
mov eax, dword [edi + 4]
mov dword [eax + esi + 0x1c], ebp
call fcn.00437317
test eax, eax
je 0x425552
push 0
push 0
push ebp
call fcn.00436f61
mov ecx, dword [edi + 4]
mov dword [ecx + esi + 0x20], eax
jmp 0x42555a
mov eax, dword [edi + 4]
and dword [eax + esi + 0x20], 0
mov eax, dword [esp + 0x30]
test al, 1
je 0x42556a
or ebx, 0x200
jmp 0x425574
test al, 2
je 0x425574
or ebx, 0x100
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ebx
push 0
or eax, 0x1000
push eax
push 0x40b
push dword [edi]
call esi
lea eax, [esp + 0x10]
push eax
push ebx
push 0x40a
push dword [edi]
call esi
push 1
lea eax, [esp + 0x14]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x10
ret 0x10

Function at 0x425928
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
push pe_nt_image_headers32
push 3
push esi
push 1
push closesocket
push dword [esp + 0x30]
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x425a08
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test byte [esp + 0x20], 1
mov ebp, eax
je 0x4259c0
push esi
push esi
push esi
push dword [esp + 0x28]
call fcn.004264a5
mov esi, eax
test esi, esi
je 0x425a00
push dword [esp + 0x18]
push dword [0x45d6a8]
call fcn.0043c21c
mov ebp, eax
mov eax, 0x10000
push eax
push esi
mov dword [ebp + 0x18], eax
call fcn.0042659f
push eax
push esi
call fcn.00426585
push eax
call fcn.00426233
mov dword [ebp], eax
test eax, eax
je 0x4259b8
mov dword [ebp + 0x14], esi
mov ebx, ebp
jmp 0x425a00
push esi
call fcn.00426578
jmp 0x425a00
push ebp
push esi
push dword [0x45d4f4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x425a00
push 0
lea eax, [esp + 0x14]
push eax
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
push esi
push dword [esp + 0x20]
call fcn.00425e9b
push esi
push 0
push dword [0x45d4f4]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret 0xc
Function at 0x425b7d
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
push ebx
push dword [0x45d6a8]
xor ebp, ebp
mov edi, ebp
mov dword [esp + 0x18], ebp
call fcn.0043c1dd
mov esi, eax
test esi, esi
je 0x425d12
mov ecx, dword [esi]
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x14], ebp
je 0x425c27
push ebx
call fcn.00425e67
jmp 0x425bbf
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x1d], 0
jne 0x425bb7
push dword [esi + 0x14]
call fcn.004265ac
mov eax, dword [esp + 0x1c]
push ebp
push esi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x20], eax
call fcn.00425b08
pop ecx
pop ecx
lea eax, [esp + 0x1c]
push eax
push ebp
push esi
push 0x425d1c
push 0x2000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x425c04
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x20], 0xffffffff
je 0x425c15
push dword [esp + 0x20]
push ebx
call fcn.00425ad5
mov eax, dword [esi]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esi]
push 1
jmp 0x425cc7
test byte [esp + 0x1c], 1
je 0x425c36
mov dword [esp + 0x10], 1
test byte [esp + 0x1c], 2
je 0x425cd1
push esi
call fcn.004261ca
lea eax, [esi + 4]
push 0x10
push eax
call fcn.0043c9bc
pop ecx
pop ecx
mov ecx, dword [0x45d6c4]
mov edi, eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x14]
test eax, eax
jne 0x425d12
mov eax, dword [esp + 0x18]
mov dword [edi], eax
mov eax, dword [esp + 0x10]
mov byte [edi + 5], al
mov byte [edi + 4], 1
mov eax, dword [esp + 0x18]
push dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [esp + 0x18]
push dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
cmp dword [esp + 0x20], 0xffffffff
je 0x425cb2
push edi
push dword [esp + 0x24]
push ebx
call fcn.00425a35
jmp 0x425cbf
mov eax, dword [esp + 0x18]
push dword [esi + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x18]
push dword [esp + 0x10]
mov ecx, dword [eax]
push ebp
push ebp
push eax
call dword [ecx + 0x30]
jmp 0x425d12
mov eax, dword [ecx]
push ecx
call dword [eax + 0x48]
mov eax, dword [esp + 0x18]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
cmp dword [esp + 0x20], 0xffffffff
je 0x425cf3
push dword [esp + 0x20]
push ebx
call fcn.00425ad5
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
push ebx
push ebp
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x425d12
xor edi, edi
mov byte [esi + 0x1c], 1
inc edi
mov byte [esi + 0x1e], bl
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x426f16
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x426f6b
push dword [esp + 0x10]
push 0x426e95
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x45d9f0]
test esi, esi
je 0x426fc4
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x426f63
cmp byte [esi + 0x10], 0
je 0x426f63
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x426f3f
jmp 0x426fc4
mov esi, dword [0x45d9f0]
test esi, esi
je 0x426fc4
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x426fbd
cmp byte [esi + 0x11], 0
je 0x426f99
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x426fb0
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x45d9f0
call fcn.0043c97c
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x426f78
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x427067
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push dword [0x45eb04]
call fcn.0043c03e
mov ebp, eax
or ebx, 0xffffffff
xor eax, eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esp + 0x1c]
movzx edx, word [eax]
test dx, dx
je 0x427167
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x22
cmp dx, word [esp + 0x10]
jne 0x4270bd
push 0x20
pop edx
add eax, 2
cmp word [eax], dx
je 0x4270b5
movzx edx, word [eax]
mov dword [esp + 0x1c], 1
cmp dx, word [esp + 0x14]
jne 0x4270fd
add eax, 2
mov esi, eax
movzx ecx, word [eax]
test cx, cx
je 0x42713f
push 0x22
pop edx
cmp cx, dx
je 0x4270ef
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x4270df
xor ecx, ecx
cmp word [eax], cx
je 0x42713f
mov ecx, eax
add eax, 2
jmp 0x427141
test dx, dx
je 0x427147
push 0x20
mov esi, eax
pop ecx
cmp dx, cx
je 0x4270ef
add eax, 2
push 0x22
pop edx
cmp word [eax], dx
jne 0x427135
add eax, 2
movzx ecx, word [eax]
test cx, cx
je 0x42713f
cmp cx, dx
je 0x427132
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x427122
push 0x20
pop ecx
movzx edx, word [eax]
test dx, dx
jne 0x427107
jmp 0x4270ef
mov ecx, eax
mov edx, dword [esp + 0x1c]
jmp 0x427149
xor edx, edx
cmp dword [ebp], ebx
jne 0x427152
test edi, edi
jne 0x42716f
test edx, edx
je 0x427157
inc ebx
xor edx, edx
mov esi, edx
movzx edx, word [eax]
test dx, dx
jne 0x4270ab
test edi, edi
jne 0x427180
mov eax, ebx
jmp 0x427184
test esi, esi
je 0x427180
sub ecx, esi
mov eax, esi
sar ecx, 1
mov dword [edi], ecx
inc dword [ebp]
jmp 0x427184
xor ecx, ecx
mov dword [edi], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret