joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4103dc
Capabilities:
Create process on windows

Disassembly:
push 0x264
mov eax, 0x48459b
call fcn.0046a1af
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x260]
push eax
mov dword [ebp - 0x268], edi
call fcn.00427edd
xor esi, esi
xor eax, eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
xor ebx, ebx
lea ecx, [ebp - 0x1dc]
inc ebx
mov byte [ebp - 4], bl
mov edx, dword [0x4c2258]
call fcn.00414962
test al, al
je 0x41048d
cmp dword [edi + 0x6c4], esi
je 0x410464
sub esp, 0x18
lea eax, [edi + 0x77c]
mov ecx, esp
push eax
call fcn.004133d7
mov ecx, dword [edi + 0x6c4]
push esi
push esi
call fcn.00434da5
lea edx, [ebp - 0x194]
mov byte [edi + 0x711], bl
lea ecx, [ebp - 0x44]
call fcn.0042bb87
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d0a7
push esi
push ebx
lea ecx, [ebp - 0x44]
call fcn.0040d2b7
jmp 0x4104cd
push ebx
push esi
push esi
lea eax, [edi + 0x6c8]
mov byte [ebp - 4], 2
push eax
lea eax, [edi + 0x6e0]
mov ecx, edi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00412507
push esi
push ebx
lea ecx, [ebp - 0x44]
call fcn.0040d2b7
lea ecx, [ebp - 0x2c]
lea eax, [edi + 0x6c8]
cmp ecx, eax
je 0x4104cd
push 0xffffffffffffffff
push esi
push eax
call fcn.0040d705
cmp byte [edi + 0x711], 0
je 0x4104f1
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ebx
cmovae eax, dword [ebp - 0x2c]
push esi
push esi
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
push 2
push 0x111
push dword [ebp - 0x26c]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push ebx
jmp 0x410639
lea ecx, [ebp - 0x2c]
call fcn.0040d2b7
lea ecx, [ebp - 0x260]
call fcn.0040c7c3
call fcn.0046a101
ret 4
Function at 0x412a42
Capabilities:
Write file on windows

Disassembly:
push 0x3c
mov eax, 0x484c71
call fcn.0046a143
xor ebx, ebx
lea eax, [ebp + 8]
inc ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
xor edi, edi
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push str._InternetShortcut__nURL_
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0040d018
push edi
lea edx, [ebp + 0x20]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.0042bacd
pop ecx
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00413e09
push edi
push ebx
lea ecx, [ebp - 0x44]
call fcn.0040d225
mov dword [ebp - 0x48], edi
test esi, esi
je 0x412ad3
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x48]
push edi
push ecx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040d225
push edi
push ebx
lea ecx, [ebp + 8]
call fcn.0040d2b7
push edi
push ebx
lea ecx, [ebp + 0x20]
call fcn.0040d2b7
call fcn.0046a0f2
ret

Function at 0x412af7
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bb760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x412b21
xor al, al
jmp 0x412b91
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x412b1d
mov edx, ebx
lea ecx, [ebp - 0x1c]
call fcn.0042d77c
cmp dword [eax + 0x14], 8
jb 0x412b4c
mov eax, dword [eax]
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push 1
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.0040d2b7
test esi, esi
je 0x412b1d
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push ecx
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00465956
mov esp, ebp
pop ebp
ret
Function at 0x413107
Capabilities:
Create process on windows
Create shortcut via ishelllink

Disassembly:
push 8
mov eax, 0x484e17
call fcn.0046a110
xor ebx, ebx
mov dword [ebp - 4], 3
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
test esi, esi
js 0x41321a
lea eax, [ebp - 0x10]
push eax
push 0x49decc
push 1
push ebx
push 0x49e1bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x41321a
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 8]
push 8
pop edi
cmp dword [ebp + 0x1c], edi
mov ecx, dword [eax]
cmovae edx, dword [ebp + 8]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 0x38]
cmp dword [ebp + 0x4c], edi
cmovae edx, dword [ebp + 0x38]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 0x38]
cmp dword [ebp + 0x4c], edi
cmovae edx, dword [ebp + 0x38]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 0x50]
cmp dword [ebp + 0x64], edi
push ebx
cmovae edx, dword [ebp + 0x50]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x49e20c
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x413211
mov eax, dword [ebp - 0x14]
lea edx, [ebp + 0x20]
cmp dword [ebp + 0x34], edi
push 1
cmovae edx, dword [ebp + 0x20]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
mov edi, str.Quick_Launch
mov esi, eax
push edi
call fcn.0040c2ec
pop ecx
push eax
push ebx
push edi
lea ecx, [ebp + 0x20]
call fcn.00413eff
cmp eax, 0xffffffff
je 0x413208
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
push ebx
cmovae eax, dword [ebp + 0x20]
push ebx
push ebx
push eax
push str.taskbarpin
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.0040d2b7
push ebx
push 1
lea ecx, [ebp + 0x20]
call fcn.0040d2b7
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.0040d2b7
push ebx
push 1
lea ecx, [ebp + 0x50]
call fcn.0040d2b7
mov eax, esi
call fcn.0046a0de
ret
Function at 0x415f8e
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4854ce
mov eax, dword fs:[0]
push eax
sub esp, 0x7e8
mov eax, dword [0x4bb760]
xor eax, esp
mov dword [esp + 0x7e0], eax
push ebx
push esi
push edi
mov eax, dword [0x4bb760]
xor eax, esp
push eax
lea eax, [esp + 0x7f8]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0044a0d2
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edx, dword [esp + 0x18]
mov esi, eax
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
mov ecx, esi
mov word [esp + 0x18], bx
mov byte [esp + 0x1a], bl
call fcn.0041611a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [esp + 0x14], bl
je 0x416017
call fcn.0041620f
cmp byte [esp + 0x15], bl
jne 0x416055
call fcn.0041636f
test al, al
jne 0x416055
push dword [esp + 0x18]
mov edx, esi
lea ecx, [esp + 0x28]
call fcn.004163e5
pop ecx
lea edx, [esp + 0x24]
call fcn.004162ca
push ebx
test al, al
je 0x41604a
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 1
lea ecx, [esp + 0x2c]
call fcn.0040d2b7
push ebx
push ebx
push ebx
push 4
push 6
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 8
push eax
mov dword [esp + 0x24], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call fcn.0044700d
push ebx
call fcn.00448c01
movzx eax, byte [esp + 0x1a]
xorps xmm0, xmm0
test eax, eax
mov dword [esp + 0x50], ebx
pop ecx
setne al
mov dword [esp + 0x50], ebx
movzx eax, al
push eax
movdqu xmmword [esp + 0x40], xmm0
call fcn.0044b92b
lea ecx, [esp + 0x58]
push dword [eax + 8]
call fcn.0040ec33
mov dword [esp + 0x7e8], 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x800], ebx
call fcn.004303d3
lea ecx, [esp + 0x54]
call fcn.0040ef4a
xor eax, eax
mov ecx, dword [esp + 0x7f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7e0]
xor ecx, esp
call fcn.00465956
mov esp, ebp
pop ebp
ret

Function at 0x41620f
Capabilities:
Terminate process

Disassembly:
push 0x254
mov eax, 0x485512
call fcn.0046a143
push 0x104
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.0040d051
lea edx, [ebp - 0x248]
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x260]
call fcn.0042a674
push str._test
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.0040dc12
pop ecx
push esi
push 1
lea ecx, [ebp - 0x260]
call fcn.0040d2b7
push esi
push 1
lea ecx, [ebp - 0x248]
call fcn.0040d2b7
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push esi
cmovae eax, dword [ebp - 0x230]
push 0x80
push 2
push esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
je 0x4162c1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffffb
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4162ca
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4bb760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x20c]
mov esi, edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x41635e
push 0x3c
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.00468320
and dword [ebp - 0x240], 0
lea eax, [ebp - 0x20c]
add esp, 0xc
mov dword [ebp - 0x248], 0x3c
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x23c], str.runas
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x22c], 1
jb 0x416344
mov esi, dword [esi]
lea eax, [ebp - 0x248]
mov dword [ebp - 0x234], esi
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne al
jmp 0x416360
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00465956
mov esp, ebp
pop ebp
ret

Function at 0x41636f
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4bb760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4163c0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
cmp dword [ebp - 0x10], 0
pop ebx
je 0x4163d0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x14], 0
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
call fcn.00465956
mov esp, ebp
pop ebp
ret
Function at 0x423a8c
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48742f
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4bb760]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x4bb760]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
mov edx, esi
lea ecx, [esp + 0x38]
call fcn.0042507e
and dword [esp + 0xc0], 0
lea ecx, [esp + 0x50]
mov edx, esi
call fcn.00425183
mov byte [esp + 0xc0], 1
cmp dword [esp + 0x48], 0
je 0x423c98
cmp dword [esp + 0x60], 0
je 0x423c98
xor ecx, ecx
mov dword [esp + 0x34], 0xf
xorps xmm0, xmm0
mov dword [esp + 0x30], ecx
movlpd qword [esp + 0x14], xmm0
mov bl, cl
mov byte [esp + 0x20], cl
push ecx
push ecx
mov byte [esp + 0xc8], 3
mov eax, 0x4c2c2c
cmp dword [0x4c2c40], 8
push ecx
cmovae eax, dword [0x4c2c2c]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x423c0b
cmp dword [esp + 0x4c], 8
lea ecx, [esp + 0x38]
cmovae ecx, dword [esp + 0x38]
xor edx, edx
push edx
push edx
push 3
push edx
push edx
push 0x50
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
test edi, edi
je 0x423bea
cmp dword [esp + 0x64], 8
lea ecx, [esp + 0x50]
cmovae ecx, dword [esp + 0x50]
xor eax, eax
push eax
push 0x400000
push eax
push eax
push eax
push ecx
push 0x4a3b14
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x423bcc
lea ecx, [esp + 0x10]
call fcn.004245cd
push dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call esi
jmp 0x423be5
mov ebx, str.Request_cannot_be_completed_on_current_url.
push ebx
call fcn.0040c357
pop ecx
push eax
push ebx
lea ecx, [esp + 0x28]
call fcn.0040d3f4
mov bl, 1
push edi
call esi
jmp 0x423c03
mov edi, str.Cannot_connect_to_server.
push edi
call fcn.0040c357
pop ecx
push eax
push edi
lea ecx, [esp + 0x28]
call fcn.0040d3f4
mov bl, 1
push dword [esp + 0x1c]
call esi
jmp 0x423c24
mov esi, str.Cannot_initialize_library.
push esi
call fcn.0040c357
pop ecx
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.0040d3f4
mov bl, 1
test bl, bl
je 0x423c45
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x6c]
call fcn.0042375d
push 0x4b7e18
lea eax, [esp + 0x6c]
push eax
call fcn.0046a929
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.0040d225
push 0
push 1
lea ecx, [esp + 0x58]
call fcn.0040d2b7
push 0
push 1
lea ecx, [esp + 0x40]
call fcn.0040d2b7
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00465956
mov esp, ebp
pop ebp
ret
push str.Cannot_get_file_size__bad_URL.
lea ecx, [esp + 0x6c]
call fcn.0040d018
lea eax, [esp + 0x68]
mov byte [esp + 0xc0], 2
push eax
lea ecx, [esp + 0x90]
call fcn.0042375d
push 0x4b7e18
lea eax, [esp + 0x90]
jmp 0x423c3f
Function at 0x4245cd
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
mov dword [ebp - 4], 8
push edi
push edi
mov esi, ecx
xorps xmm0, xmm0
push edi
push edi
movlpd qword [ebp - 0xc], xmm0
push dword [esi]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000005
push dword [esi]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x427a97
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48856b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4bb760]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x4bb760]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ax, word [0x4c1df4]
mov ecx, 0xc8
xor ebx, ebx
cmp ax, cx
jne 0x427ae9
push ebx
push ebx
call fcn.0046a929
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov dword [esp + 0x38], ebx
mov cl, byte [esi]
test cl, cl
je 0x427b2b
mov al, byte [esi + 1]
xor al, cl
lea ecx, [esp + 0x10]
and al, 0xf
xor al, byte [esi + 1]
movzx eax, al
push eax
push 1
call fcn.0041d892
lea esi, [esi + 2]
mov cl, byte [esi]
test cl, cl
jne 0x427b03
mov ax, word [0x4c1df4]
movzx edi, ax
mov esi, ebx
test edi, edi
je 0x427b4d
mov edx, dword [esi*4 + 0x4c1e00]
lea ecx, [esp + 0x10]
call fcn.00414962
test al, al
jne 0x427bc3
inc esi
cmp esi, edi
jb 0x427b34
mov eax, dword [esp + 0x20]
inc eax
push eax
call fcn.00436d65
mov dx, word [0x4c1df4]
mov esi, eax
cmp dword [esp + 0x28], 0x10
pop ecx
movzx ecx, dx
mov dword [ecx*4 + 0x4c1e00], esi
lea ecx, [esp + 0x10]
cmovae ecx, dword [esp + 0x10]
mov al, byte [ecx]
inc ecx
mov byte [esi], al
inc esi
test al, al
jne 0x427b7a
inc dx
movzx eax, dx
mov word [0x4c1df4], dx
mov esi, dword [eax*4 + 0x4c1dfc]
push ebx
push 1
lea ecx, [esp + 0x18]
call fcn.0040d225
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00465956
mov esp, ebp
pop ebp
ret
mov esi, dword [esi*4 + 0x4c1e00]
jmp 0x427b97

Function at 0x428989
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x4886be
call fcn.0046a110
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x4a0918
mov dword [ebp - 0x14], ebx
call fcn.0040d051
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x100
movzx ecx, si
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov dword [ebp - 0x18], eax
push ecx
push ecx
push ebx
push eax
push ecx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jle 0x428a4f
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436d65
pop ecx
push edi
mov esi, eax
push esi
push ebx
push dword [ebp - 0x18]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
call fcn.0040c2ec
mov edi, dword [ebp - 0x10]
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0040d662
push esi
call fcn.00436d6e
pop ecx
jmp 0x428a52
mov edi, dword [ebp - 0x10]
mov eax, edi
call fcn.0046a0de
ret
Function at 0x428b5c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488727
mov eax, dword fs:[0]
push eax
mov eax, 0x1070
call fcn.0046b050
mov eax, dword [0x4bb760]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x1078], edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1014]
push 0x800
push eax
push edi
mov dword [ebp - 0x107c], esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x428c13
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1044]
call fcn.0040d051
and dword [ebp - 4], 0
lea edx, [ebp - 0x1044]
push esi
lea ecx, [ebp - 0x1074]
call fcn.00428a5a
pop ecx
cmp dword [eax + 0x14], 8
jb 0x428be9
mov eax, dword [eax]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 1
lea ecx, [ebp - 0x1074]
call fcn.0040d2b7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1044]
push 0
push 1
call fcn.0040d2b7
mov esi, dword [ebx]
jmp 0x428cac
push dword [esi]
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x428ca3
push 0x800
lea eax, [ebp - 0x814]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x428ca3
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x102c]
call fcn.0040d051
push dword [ebp - 0x107c]
lea edx, [ebp - 0x102c]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x105c]
call fcn.00428a5a
pop ecx
cmp dword [eax + 0x14], 8
jb 0x428c79
mov eax, dword [eax]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 1
lea ecx, [ebp - 0x105c]
call fcn.0040d2b7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x102c]
push 0
push 1
call fcn.0040d2b7
mov edi, dword [ebp - 0x1078]
add esi, 4
cmp esi, dword [ebx + 4]
jne 0x428c1a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00465956
mov esp, ebp
pop ebp
ret
Function at 0x42a37c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4bb760]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
lea ecx, [ebp - 0x1c]
push ebx
call fcn.0042d77c
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42a3b6
test al, 0x10
je 0x42a3b6
mov bl, 1
jmp 0x42a3b8
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040d2b7
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00465956
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4bb760]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
lea ecx, [ebp - 0x1c]
push ebx
call fcn.0042d77c
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42a40f
test al, 0x10
jne 0x42a40f
mov bl, 1
jmp 0x42a411
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040d2b7
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00465956
mov esp, ebp
pop ebp
ret

Function at 0x42a42e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x488991
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4bb760]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x4bb760]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x42a474
xor al, al
jmp 0x42a57f
push 1
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x2e
push eax
call fcn.00424c6b
mov edi, eax
cmp edi, 0xffffffff
je 0x42a46d
push esi
lea ecx, [esp + 0x1c]
call fcn.004133d7
and dword [esp + 0x70], 0
xor ebx, ebx
inc ebx
lea ecx, [esp + 0x18]
call fcn.0042a3d5
test al, al
lea eax, [esp + 0x18]
je 0x42a55a
cmp eax, esi
je 0x42a4c7
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.0040d705
push 0x4a4078
lea ecx, [esp + 0x34]
call fcn.0040d051
mov edx, ebx
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x48]
call fcn.0040ea33
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 2
call fcn.0040d5bc
push 0
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 1
call fcn.0040d2b7
push 0x4a09f0
call fcn.0040c2ec
pop ecx
push eax
push 0x4a09f0
lea ecx, [esp + 0x38]
call fcn.0040d662
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x38]
push eax
push edi
lea ecx, [esp + 0x28]
call fcn.00414b70
push 0
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 0
call fcn.0040d2b7
inc ebx
cmp ebx, 0x186a0
jl 0x42a4a2
xor bl, bl
jmp 0x42a570
cmp esi, eax
je 0x42a56e
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.0040d705
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0040d2b7
mov al, bl
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00465956
mov esp, ebp
pop ebp
ret