joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408f4a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
call fcn.00408e67
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
mov byte [ebp - 1], al
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call ebx
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x1c]
sub edi, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
sub edi, dword [ebp - 0x24]
sub esi, eax
sub esi, dword [ebp - 0x20]
inc edi
inc esi
cmp byte [ebp - 1], 0
je 0x408fd7
cmp byte [ebp + 0x10], 0
jne 0x40901c
imul eax, dword [ebp - 8]
push 0x206
cdq
push 0x64
pop ecx
idiv ecx
add eax, esi
push eax
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0xc]
cdq
idiv ecx
add eax, edi
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [ebp + 0x10], 0
jne 0x40901c
push 0x400
lea eax, [ebp - 0x844]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
push 1
push 0x400
lea eax, [ebp - 0x844]
push eax
push eax
call fcn.00408d22
lea eax, [ebp - 0x844]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 8
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
push dword [ebp + 8]
sub esi, eax
call dword [sym.imp.USER32.dll_GetWindow]
and dword [ebp + 8], 0
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x14], eax
jmp 0x409118
cmp dword [ebp + 8], 0x200
jge 0x409120
push 0x400
lea eax, [ebp - 0x844]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x844], 0
je 0x409096
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
push 1
push 0x400
lea eax, [ebp - 0x844]
push eax
push eax
call fcn.00408d22
lea eax, [ebp - 0x844]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [ebp - 1], 0
je 0x409102
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x10]
call ebx
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push 0x204
inc eax
imul eax, dword [ebp - 8]
cdq
push 0x64
pop ecx
idiv ecx
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
inc eax
imul eax, dword [ebp - 0xc]
cdq
idiv ecx
push eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x20]
sub eax, esi
imul eax, dword [ebp - 8]
cdq
idiv ecx
push eax
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x34]
sar ecx, 1
sub eax, ecx
sub eax, dword [ebp - 0x24]
push 0x64
imul eax, dword [ebp - 0xc]
pop ecx
cdq
idiv ecx
push eax
push 0
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 2
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp + 0x10], eax
cmp eax, dword [ebp - 0x14]
je 0x409120
inc dword [ebp + 8]
test eax, eax
jne 0x409040
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4099cf
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x4130b0], 0
push ebx
push esi
push edi
mov edi, 0x400
jne 0x409a1a
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x420240], ax
xor eax, eax
mov word [0x420242], ax
mov dword [0x4130b0], 0x420240
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040c885
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
push ebx
push esi
xor eax, eax
push 0x4130a0
mov word [esi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
pop edi
mov word [esi + ebx*2 - 2], ax
pop esi
pop ebx
leave
ret 0x10

Function at 0x409d99
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
push 0x68
push dword [0x41a200]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp byte [0x41b314], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
mov dword [ebp - 4], edi
mov ebx, 0xb1
jne 0x409dfb
mov ecx, dword [0x4190d4]
call fcn.00405ffe
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
push 0
push ebx
push edi
call esi
push 0x4116ac
push 0
push 0xc2
push edi
call esi
mov byte [0x41b314], 1
mov edi, 0x5f5e100
push edi
push edi
push ebx
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x60]
push eax
push 0
push 0x43a
push dword [ebp - 4]
mov dword [ebp - 0x60], 0x5c
call esi
xor eax, eax
inc eax
cmp byte [ebp + 8], 0
mov byte [ebp - 0x47], 0
mov dword [ebp - 0x5c], eax
je 0x409e4b
mov ecx, dword [ebp - 0x58]
and ecx, 0xbfffffff
or ecx, eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x4c], 0xa0
mov dword [ebp - 0x5c], 0x40000001
lea ecx, [ebp - 0x60]
push ecx
push eax
push 0x444
push dword [ebp - 4]
call esi
push dword [ebp + 0xc]
push 0
push 0xc2
push dword [ebp - 4]
call esi
push edi
push edi
push ebx
push dword [ebp - 4]
call esi
cmp byte [ebp + 8], 0
je 0x409e95
mov eax, dword [ebp - 0x58]
and eax, 0xfffffffe
or eax, 0x40000000
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x60]
push eax
push 1
push 0x444
push dword [ebp - 4]
call esi
push 0x4116d0
push 0
push 0xc2
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40a699
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 0x40a6b4
mov byte [ebx], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40a6be
mov byte [eax], 0
test edi, edi
je 0x40a767
movzx eax, word [edi]
test ax, ax
je 0x40a767
push esi
xor esi, esi
xor ecx, ecx
movzx eax, ax
inc edi
inc edi
cmp ax, 0x3d
jne 0x40a6f7
cmp dword [ebp + 0xc], 0
je 0x40a703
test esi, esi
jne 0x40a703
test ebx, ebx
je 0x40a6f3
mov byte [ebx], 1
mov esi, edx
jmp 0x40a712
cmp ax, 0xd
je 0x40a725
cmp ax, 0xa
je 0x40a727
mov word [edx], ax
mov eax, dword [ebp + 0x14]
inc edx
add eax, 0xfffffffe
inc edx
cmp ecx, eax
jg 0x40a71d
movzx eax, word [edi]
inc ecx
test ax, ax
jne 0x40a6d7
jmp 0x40a727
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
jmp 0x40a727
inc edi
inc edi
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov word [edx], ax
test ebx, ebx
je 0x40a762
mov word [ebx], ax
test esi, esi
je 0x40a762
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.0040c85b
xor eax, eax
mov word [esi], ax
mov eax, edi
pop esi
jmp 0x40a769
xor eax, eax
pop edi
pop ebx
leave
ret 0x10

Function at 0x40a7ae
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push 0x400
lea eax, [ebp - 0x820]
push eax
call fcn.00410261
cmp byte [0x41b315], 0
jne 0x40a83c
push 6
push dword [0x41309c]
lea eax, [ebp - 0x820]
push eax
call fcn.004071a7
push eax
call fcn.0040d11c
test eax, eax
jne 0x40a83c
push 0x41174c
call fcn.0041024e
lea eax, [ebp - 0x820]
push eax
call fcn.00409535
xor ecx, ecx
push 0x1e
mov word [ebp + eax*2 - 0x81e], cx
push ecx
lea eax, [ebp - 0x20]
push eax
call fcn.00409257
push 0x14
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x820]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
leave
ret

Function at 0x40a903
Capabilities:
Delete file

Disassembly:
push ebx
xor ebx, ebx
mov byte [0x41a1f1], 1
cmp dword [0x41a200], ebx
je 0x40a92b
push 0x7d
call fcn.0040913e
push eax
push 2
push dword [0x41a200]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [0x41a200]
mov dword [0x41a1f4], ebx
mov byte [0x41a1f0], 1
cmp eax, ebx
je 0x40a98c
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x41b324], ebx
jne 0x40a95a
cmp byte [0x41b314], bl
je 0x40a962
cmp dword [0x41a1f8], ebx
jne 0x40a984
push ebx
push 1
push 0x111
push dword [0x41a200]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40a984
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00409990
cmp dword [0x41a200], ebx
jne 0x40a978
cmp byte [0x41a208], bl
pop ebx
je 0x40a99a
jmp fcn.0040a7ae
ret
Function at 0x40a9d6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
xor ebx, ebx
cmp byte [0x41a210], bl
je 0x40aa56
cmp word [0x4190d8], bx
je 0x40aa56
push esi
push 0x4190d8
lea esi, [ebp - 0x808]
call fcn.0040a99b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
pop esi
test eax, eax
jne 0x40aa56
push dword [ebp + 8]
call fcn.00409535
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x808]
push 1
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
leave
ret 4

Function at 0x40aa5b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00401200
cmp byte [0x41a210], 0
je 0x40ab02
push esi
push dword [ebp + 8]
lea esi, [ebp - 0x100c]
call fcn.0040a99b
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 0x40ab02
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 0x40aaf9
shr dword [ebp - 4], 1
mov eax, 0x3ff
cmp dword [ebp - 4], eax
jae 0x40aadd
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.0040c85b
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 8

Function at 0x40ac2a
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp byte [0x41a0e6], 0
mov eax, dword [ebp + 0xc]
mov dword [0x41a0e8], eax
mov eax, dword [ebp + 0x10]
mov dword [0x41a0ec], eax
mov eax, dword [ebp + 0x14]
mov dword [0x41a0e0], eax
je 0x40ac5a
xor eax, eax
inc eax
jmp 0x40ac83
cmp byte [0x41a0e7], 0
je 0x40ac68
push 2
pop eax
jmp 0x40ac83
push dword [ebp + 8]
push 0x409f69
push dword [0x41a200]
push str.REPLACEFILEDLG
push dword [0x413e74]
call esi
dec eax
je 0x40acd5
dec eax
je 0x40ace7
dec eax
je 0x40acce
dec eax
jne 0x40acb2
push dword [ebp + 8]
push 0x40a2b5
push dword [0x41a200]
push str.RENAMEDLG
push dword [0x413e74]
call esi
test eax, eax
je 0x40ac34
mov al, 0x52
jmp 0x40ace2
dec eax
je 0x40acc3
dec eax
mov al, 0x4e
jne 0x40ace2
mov byte [0x41a0e7], 1
jmp 0x40ace2
mov byte [0x41a1f2], 1
mov al, 0x43
jmp 0x40ace2
mov byte [0x41a0e6], 1
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov al, 0x59
pop esi
pop ebp
ret 0x10
mov al, 0x4e
jmp 0x40ace2
Function at 0x40ae24
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.00401200
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp word [esi], bx
je 0x40b05b
push esi
call fcn.00409535
cmp eax, 0x3f6
jae 0x40b05b
push edi
push 0x3c
pop edi
push edi
push ebx
lea eax, [ebp - 0x40]
push eax
call fcn.00409257
movzx ecx, word [esi]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 0x5c0
cmp cx, 0x22
jne 0x40ae7b
lea eax, [esi + 2]
mov dword [ebp - 0x30], eax
jmp 0x40ae7e
mov dword [ebp - 0x30], esi
xor eax, eax
cmp cx, bx
je 0x40aed4
mov ecx, esi
cmp word [ecx], 0x22
jne 0x40aea6
jmp 0x40ae96
cmp word [esi + eax*2], 0x22
je 0x40ae9f
inc eax
cmp word [esi + eax*2], bx
jne 0x40ae8f
jmp 0x40aea6
push 0x20
pop ecx
mov word [esi + eax*2], cx
cmp word [esi + eax*2], 0x20
je 0x40aec0
cmp word [esi + eax*2 + 2], 0x2f
je 0x40aec0
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x40ae87
jmp 0x40aed4
lea eax, [esi + eax*2]
cmp word [eax], 0x20
jne 0x40aece
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x2c], eax
cmp byte [ebp + 8], bl
jne 0x40aee9
cmp word [0x41aa12], bx
je 0x40aee9
mov dword [ebp - 0x2c], 0x41aa12
push dword [ebp - 0x30]
mov dword [ebp - 0x24], 1
call fcn.00407439
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40af15
push str..inf
push eax
call fcn.0040d05f
test eax, eax
jne 0x40af15
mov dword [ebp - 0x34], str.Install
push dword [ebp - 0x30]
call fcn.00405321
mov bl, al
test bl, bl
je 0x40af3b
lea eax, [ebp - 0x1040]
push eax
push dword [ebp - 0x30]
call fcn.00406f60
lea eax, [ebp - 0x1040]
mov dword [ebp - 0x30], eax
cmp byte [ebp + 8], 0
je 0x40af79
test bl, bl
jne 0x40af79
push dword [ebp - 0x30]
lea eax, [ebp - 0x840]
push eax
call fcn.0040955f
push str..exe
lea eax, [ebp - 0x840]
push eax
call fcn.004095cc
lea eax, [ebp - 0x840]
push eax
call fcn.00405321
test al, al
je 0x40b05a
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [ebp - 0x40]
push eax
call edi
test eax, eax
setne al
test al, al
jne 0x40afab
and dword [ebp - 0x3c], 0xfffffbff
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x30], esi
call edi
test eax, eax
setne al
test al, al
je 0x40b05a
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
xor bl, bl
cmp byte [0x41a208], bl
jne 0x40afc0
cmp byte [ebp + 8], bl
je 0x40aff6
mov eax, dword [0x41a200]
test eax, eax
je 0x40afe0
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40afe0
push 0
push dword [0x41a200]
call esi
mov bl, 1
push 0x7d0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 8]
call fcn.0040a76f
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x40b016
push str..exe
push dword [ebp - 4]
call fcn.0040d05f
test eax, eax
je 0x40b046
cmp byte [0x41a208], 0
je 0x40b02c
cmp byte [ebp + 8], 0
jne 0x40b02c
push 0x1b58
jmp 0x40b040
xor eax, eax
cmp byte [ebp + 8], al
sete al
dec eax
and eax, 0xfffffce0
add eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test bl, bl
je 0x40b05a
cmp byte [ebp + 8], 0
je 0x40b05a
push 1
push dword [0x41a200]
call esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40c562
Capabilities:
Accept command line arguments
Read file via mapping
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
call fcn.0040cb55
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, 0x422668
call fcn.0040d219
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp esi, ebx
je 0x40c5f0
push esi
call fcn.0040a4f6
cmp byte [0x41a211], bl
je 0x40c5e8
push str.winrarsfxmappingfile.tmp
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40c5dd
push 0x20000
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, ebx
je 0x40c5d6
push esi
push str.sfxcmd
call edi
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40c5f0
push esi
push str.sfxcmd
call edi
push 0x400
mov esi, 0x4198e0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push str.sfxname
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
push 0x64
push edi
mov dword [0x413e74], edi
mov dword [0x413e78], edi
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x65
push dword [0x413e78]
mov dword [0x4198dc], eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
lea ecx, [ebp - 8]
mov dword [0x4198d8], eax
call fcn.004102d1
push esi
mov ecx, 0x413e88
call fcn.00409127
lea ecx, [ebp - 0x40]
call fcn.00405fdb
lea ecx, [ebp - 0x24]
call fcn.00405fdb
push 0x64
call fcn.00409c99
push 0x64
mov dword [ebp - 0x28], eax
call fcn.00409c99
push ebx
push 0x40bd70
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x40]
mov dword [0x4190d4], eax
push str.STARTDLG
lea eax, [ebp - 0x24]
push edi
mov dword [0x4190d0], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [ebp - 0x24]
mov dword [0x4190d0], ebx
mov dword [0x4190d4], ebx
call fcn.00405ff1
lea ecx, [ebp - 0x40]
call fcn.00405ff1
lea ecx, [ebp - 8]
call fcn.00410323
cmp byte [0x41a208], bl
je 0x40c6cb
call fcn.0040a7ae
push 0x100
push ebx
push 0x41a0f0
call fcn.00409257
cmp dword [0x41b324], ebx
jbe 0x40c6ee
push dword [0x41b318]
call fcn.004091d3
push dword [0x4198dc]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x4198d8]
cmp eax, ebx
je 0x40c708
push eax
call esi
cmp dword [0x413e7c], ebx
jne 0x40c727
cmp byte [0x41a1f2], bl
je 0x40c727
push 0xff
mov ecx, 0x413e7c
call fcn.00402e4b
mov eax, dword [0x41b32c]
mov byte [0x41a1f2], 1
cmp eax, ebx
je 0x40c73d
push eax
call fcn.0040a76f
call dword [sym.imp.ole32.dll_OleUninitialize]
push dword [0x413e7c]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x410261
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 0x6edbd3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x20]
je 0x6c115a
sbb si, di
mov esi, dword [eax + 0x3c]
movzx dx, al
add esi, eax
btc dx, 1
mov edx, dword [esi + 0x78]
cmp dh, 0xe0
cmc
push 0xfe0958c4
test edx, edx
pushfd
pushal
mov byte [esp + 0x18], ah
lea esp, [esp + 0x28]
je 0x6c115a
btr cx, sp
pushfd
btc cx, 6
add edx, eax
rol ch, 7
stc
sbb ch, dh
mov ecx, dword [esi + 0x7c]
jmp 0x4ccf63
neg ax
btc eax, 0x1e
movzx ax, bl
bts ax, 1
push ebp
sub ebp, 0x14baeec3
shrd bp, bp, cl
shld ax, sp, 1
bts bp, si
mov ebp, esp
rcl ah, cl
lea eax, [ebx - 0x3134fbbf]
sub esp, 0x18
aam 0xd4
xor ah, dl
movsx ax, cl
shr al, cl
push esi
lea eax, [edi - 0x7d564f31]
rcl ax, cl
shl ax, cl
daa
push edi
aam 0x19
push ebx
adc eax, ebx
push edx
neg ah
aaa
sub ax, 0x7a5
shl al, cl
mov eax, dword [ebp + 8]
stc
test eax, eax
pushal
jmp 0x6dfa00
Function at 0x40f350
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446e69
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x47699c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call dword [0x44f488]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push 0xc40
mov dword [esi + 4], eax
call fcn.00442b66
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x40f3ad
mov ecx, eax
call fcn.0040cb50
jmp 0x40f3af
xor eax, eax
mov byte [ebp - 4], bl
mov dword [esi + 8], eax
mov byte [ebp - 4], 2
mov dword [esi + 0xc], ebx
mov byte [ebp - 4], 3
lea eax, [esi + 0x10]
mov dword [eax], ebx
mov dword [ebp + 8], eax
mov dword [eax + 4], ebx
mov byte [ebp - 4], 5
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], ebx
call dword [0x44f674]
mov byte [ebp - 4], 6
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov byte [ebp - 4], 7
mov dword [esi + 0x2c], ebx
mov byte [ebp - 4], 8
mov dword [esi + 0x30], ebx
mov byte [ebp - 4], 9
mov dword [esi + 0x34], ebx
mov byte [ebp - 4], 0xa
mov dword [esi + 0x38], ebx
mov byte [ebp - 4], 0xb
mov dword [esi + 0x3c], ebx
mov byte [ebp - 4], 0xc
mov dword [esi + 0x40], ebx
mov byte [ebp - 4], 0xd
mov dword [esi + 0x44], ebx
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x48]
call fcn.0040f0a0
mov byte [ebp - 4], 0xf
lea edi, [esi + 0x68]
mov ecx, edi
call fcn.0040e690
mov byte [ebp - 4], 0x10
mov eax, dword [edi + 0x14]
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], eax
mov ecx, dword [edi]
push ebx
lea edx, [esi + 0x90]
mov dword [esi + 0x84], ecx
push edx
mov dword [esi + 0x8c], ebx
call fcn.00407f10
add esp, 8
lea ecx, [esi + 0x98]
call dword [0x44f450]
mov byte [ebp - 4], 0x11
mov eax, dword [esi + 8]
push eax
call dword [0x44f678]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41ee60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449b16
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x47699c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x45186c
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], 0x451bcc
mov ebx, 1
mov dword [ebp - 4], ebx
mov dword [esi + 4], 0x4522bc
mov byte [ebp - 4], 2
mov dword [esi + 8], 0x452304
mov byte [ebp - 4], 3
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.0043efd0
push edi
push edi
push edi
mov dword [esi + 0x18], eax
push edi
lea eax, [ebp - 0x20]
push eax
mov dword [esi + 0x1c], 0x50000000
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 3
call dword [0x44f38c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], eax
xor eax, eax
mov dword [esi + 0x38], eax
or eax, 0xffffffff
push edi
mov dword [esi + 0x34], ecx
or ecx, eax
mov dword [esi + 0x40], eax
xor eax, eax
push edi
push edi
mov dword [esi + 0x4c], eax
mov dword [esi + 0x74], eax
or eax, 0xffffffff
mov dword [esi + 0x44], ecx
push edi
lea edx, [ebp - 0x20]
or ecx, eax
push edx
mov dword [esi + 0x3c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], edi
call dword [0x44f38c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x8c], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], edx
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret