joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f907
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x462060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
cmp dword [ebx + 0x38], 0
je 0x41f978
cmp byte [ebx + 0x3d], 0
je 0x41f978
mov eax, dword [ebx]
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x465348]
mov ecx, ebx
call esi
cmp eax, 0xffffffff
je 0x41f9b4
push edi
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov esi, dword [edi]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x40]
push eax
mov ecx, dword [esi + 0x20]
call dword [0x465348]
mov ecx, edi
call dword [esi + 0x20]
xor ecx, ecx
pop edi
sub eax, ecx
je 0x41f988
sub eax, 1
je 0x41f98b
dec eax
sub eax, 1
jne 0x41f9b4
mov byte [ebx + 0x3d], cl
mov al, 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a998
leave
ret
mov byte [ebx + 0x3d], cl
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x41f9ab
lfence
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.004415b8
add esp, 0x10
cmp esi, eax
jne 0x41f9b4
cmp byte [ebx + 0x3d], 0
sete al
jmp 0x41f97a
xor al, al
jmp 0x41f97a

Function at 0x41f9b8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x462060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x41fa2c
cmp byte [ebx + 0x3e], 0
je 0x41fa2c
mov eax, dword [ebx]
mov edi, 0xffff
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x465348]
mov ecx, ebx
call esi
cmp di, ax
je 0x41fa69
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov esi, dword [edi]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x40]
push eax
mov ecx, dword [esi + 0x20]
call dword [0x465348]
mov ecx, edi
call dword [esi + 0x20]
xor ecx, ecx
sub eax, ecx
je 0x41fa3d
sub eax, 1
je 0x41fa40
dec eax
sub eax, 1
jne 0x41fa69
mov byte [ebx + 0x3e], cl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a998
leave
ret
mov byte [ebx + 0x3e], cl
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x41fa60
lfence
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.004415b8
add esp, 0x10
cmp esi, eax
jne 0x41fa69
cmp byte [ebx + 0x3e], 0
sete al
jmp 0x41fa2e
xor al, al
jmp 0x41fa2e
Function at 0x425b01
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x8a8
mov eax, 0x45bf0d
call fcn.0043aa0b
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0x854], edi
push 0x4016ec
mov dword [ebp - 4], esi
mov dword [ebp - 0x850], esi
call fcn.0041407d
mov dword [ebp - 4], esi
mov dword [ebp - 0x850], 1
mov dword [ebp - 0x84c], esi
call fcn.0043832d
test al, al
je 0x425d0f
lea eax, [ebp - 0x84c]
push eax
push 1
push esi
push 0x404640
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x425d0f
lea eax, [ebp - 0x818]
mov dword [ebp - 0x814], esi
push eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x818], 0x800
push eax
lea eax, [ebp - 0x814]
push eax
push esi
push 0x40468c
push dword [ebp - 0x84c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x425d0f
inc esi
cmp dword [ebp - 0x814], esi
jne 0x425d0f
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x830]
call fcn.0041407d
push ebx
lea ecx, [ebp - 0x848]
mov dword [ebp - 4], esi
call fcn.0041407d
lea eax, [ebp - 0x830]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x884]
push eax
call fcn.00437492
mov esi, eax
lea eax, [ebp - 0x830]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x86c]
push eax
call fcn.00436f13
add esp, 0x10
push 0x4046ac
push 0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00425d25
push eax
lea ecx, [ebp - 0x89c]
call fcn.0041d6de
mov dword [ebp - 0x850], 3
push esi
lea eax, [ebp - 0x89c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x8b4]
push eax
call fcn.00436413
add esp, 0xc
mov ecx, edi
push eax
call fcn.004164db
lea ecx, [ebp - 0x8b4]
call fcn.00415705
lea ecx, [ebp - 0x89c]
call fcn.00415705
lea ecx, [ebp - 0x86c]
call fcn.00415705
lea ecx, [ebp - 0x884]
mov byte [ebp - 4], 2
call fcn.00415705
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x86c]
push eax
call fcn.00437492
push eax
lea eax, [ebp - 0x884]
mov byte [ebp - 4], 6
push edi
push eax
call fcn.00425350
add esp, 0x14
mov ecx, edi
push eax
call fcn.004164db
lea ecx, [ebp - 0x884]
call fcn.00415705
lea ecx, [ebp - 0x86c]
mov byte [ebp - 4], 2
call fcn.00415705
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x425ce4
mov eax, dword [edi]
push ebx
push eax
push 0x4046c0
push dword [0x46203c]
call fcn.004143e5
add esp, 0x10
lea ecx, [ebp - 0x848]
call fcn.00415705
lea ecx, [ebp - 0x830]
call fcn.00415705
push dword [ebp - 0x84c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0043a9ba
ret 8
Function at 0x42ddc7
Capabilities:
Shutdown system

Disassembly:
push 0x24
mov eax, 0x45b6e5
call fcn.0043aa0b
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x28]
xor eax, eax
xor ecx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ecx
push ecx
mov ecx, esi
call fcn.00435a7c
xor edi, edi
mov ecx, esi
inc edi
push edi
call fcn.00435963
push edi
push edi
mov ecx, esi
call fcn.00435927
push edi
push edi
mov ecx, esi
call fcn.00434cb5
call fcn.004362d6
test al, al
lea eax, [ebp - 0x28]
je 0x42dede
push 0x3f0
push eax
call fcn.004376fb
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
pop ecx
jb 0x42de42
mov eax, dword [ebp - 0x28]
push eax
mov ecx, esi
call fcn.00435299
lea eax, [ebp - 0x28]
push 0x3ee
push eax
call fcn.004376fb
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
pop ecx
jb 0x42de66
mov eax, dword [ebp - 0x28]
push eax
push edi
mov ecx, esi
call fcn.0043526d
push edi
push edi
mov ecx, esi
call fcn.004342d1
lea eax, [ebp - 0x28]
push 0x3ed
push eax
call fcn.004376fb
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
pop ecx
jb 0x42de94
mov eax, dword [ebp - 0x28]
push eax
push 2
pop ebx
push ebx
mov ecx, esi
call fcn.0043526d
push edi
push ebx
mov ecx, esi
call fcn.00435927
push edi
push ebx
mov ecx, esi
call fcn.004342d1
mov ecx, esi
call fcn.00435c14
cmp eax, ebx
jne 0x42df34
mov edi, dword [0x46203c]
cmp dword [edi], 0xffffffff
je 0x42ded0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [edi], 0xffffffff
push 0
push ebx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x42df34
push 0x3f1
push eax
call fcn.004376fb
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
pop ecx
jb 0x42def7
mov eax, dword [ebp - 0x28]
push eax
mov ecx, esi
call fcn.00435299
lea eax, [ebp - 0x28]
push 0x3ea
push eax
call fcn.004376fb
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
pop ecx
jb 0x42df1b
mov eax, dword [ebp - 0x28]
push eax
push edi
mov ecx, esi
call fcn.0043526d
push edi
push edi
mov ecx, esi
call fcn.004342d1
mov ecx, esi
call fcn.00435c14
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00434cb5
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42df7c
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
cmp eax, 0x1000
jb 0x42df73
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041568f
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x30]
push eax
push ecx
call fcn.0043a98a
pop ecx
pop ecx
call fcn.0043a9ba
ret
Function at 0x434054
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x462060]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 2
push ebx
mov ebx, ecx
jne 0x43419b
push esi
push edi
xor edi, edi
mov esi, 0x42f
push edi
push esi
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 0x430
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 0x42c
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 0x431
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], edi
push eax
push esi
push dword [ebx + 8]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push 0x432
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x20]
mov ecx, ebx
sub edi, dword [ebp - 0x30]
mov esi, edi
neg esi
push esi
push 0
push 0x432
call fcn.00434cce
push esi
push 0
push 0x433
mov ecx, ebx
call fcn.00434cce
push esi
push 0
push 0x42a
mov ecx, ebx
call fcn.00434cce
push esi
push 0
push 0x42b
mov ecx, ebx
call fcn.00434cce
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cdq
xor eax, edx
push 1
sub eax, edx
sub eax, edi
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0043a998
leave
ret 4
Function at 0x43445e
Capabilities:
Get graphical window text

Disassembly:
push 0x18
mov eax, 0x45d264
call fcn.0043aa0b
mov eax, dword [ebp + 8]
push 0x40b
push dword [ecx + 8]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov ebx, eax
push 0xe
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
lea esi, [eax + 1]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x1e], ax
xor edi, edi
lea eax, [ebp - 0x1e]
mov dword [ebp - 0x1c], edi
push eax
push esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.004157f9
push dword [ebp - 0x1c]
mov dword [ebp - 4], edi
push esi
push 0xd
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
call fcn.0041573e
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4344e9
mov eax, dword [ebp - 0x14]
sub eax, ecx
and eax, 0xfffffffe
push eax
push ecx
call fcn.00413f56
pop ecx
pop ecx
call fcn.0043a9ba
ret 4
Function at 0x434912
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x462060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, ecx
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push ecx
lea ecx, [edi + 0xc0]
mov dword [edi + 0x84], eax
call fcn.004142a1
push ebx
lea ecx, [edi + 0xd8]
call fcn.004142a1
push esi
mov esi, dword [ebp - 8]
mov ecx, edi
push edi
push 0x434330
push dword [ebp + 0xc]
push esi
call fcn.0043466a
test al, al
je 0x434a9f
cmp dword [edi + 8], 0
je 0x434a9f
cmp dword [ebx + 0x14], 8
jb 0x434986
mov ebx, dword [ebx]
push ebx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x8000
xor ebx, ebx
push ebx
push ebx
push 1
push 0x6b
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
test eax, eax
je 0x4349b4
push eax
push 0xffffffffffffffde
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetClassLongW]
push 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x42b
push eax
push ebx
push dword [edi + 0x14]
mov dword [ebp - 0x28], 0x42a
push dword [edi + 8]
mov dword [ebp - 0x24], 0x42c
mov dword [ebp - 0x20], 0x42d
mov dword [ebp - 0x1c], 0x42f
mov dword [ebp - 0x18], 0x430
mov dword [ebp - 0x14], 0x431
mov dword [ebp - 0x10], 0x433
call fcn.004356d0
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x42e
push eax
push ebx
push dword [edi + 0x18]
mov dword [ebp - 8], 0x432
push dword [edi + 8]
call fcn.004356d0
add esp, 0x28
mov dword [ebp - 0x3c], ebx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov ebx, 0x434
push eax
push ebx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push 0
push eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
push eax
push 1
push 0x6c
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0xf7
push 0x42c
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push ebx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.00434dee
push 2
mov ecx, edi
call fcn.00435179
mov al, 1
jmp 0x434aa1
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a998
leave
ret 0x18
Function at 0x434ab2
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x18]
mov esi, ecx
push esi
push 0x434d70
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043466a
test al, al
je 0x434b31
cmp dword [esi + 8], 0
je 0x434b31
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
jb 0x434ae1
mov eax, dword [eax]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x14], 8
jb 0x434af6
mov eax, dword [eax]
push eax
push 0x40f
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 5
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov al, 1
jmp 0x434b33
xor al, al
pop esi
pop ebp
ret 0x14
Function at 0x436733
Capabilities:
Create directory

Disassembly:
push 0x58
mov eax, 0x45d416
call fcn.0043aa0b
mov edx, dword [ebp + 8]
xor ebx, ebx
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x436749
sub ecx, esi
sar ecx, 1
cmp ecx, 0x104
jbe 0x436767
xor al, al
jmp 0x436914
push edx
lea ecx, [ebp - 0x44]
lfence
call fcn.0041407d
xor eax, eax
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
xor ebx, ebx
lea eax, [ebp - 0x44]
inc ebx
cmp dword [ebp - 0x30], 8
mov byte [ebp - 4], bl
jb 0x4367a1
mov eax, dword [ebp - 0x44]
xor ecx, ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.00438dbb
mov esi, dword [ebp - 0x18]
add esp, 0x14
push 0x5c
pop edi
test esi, esi
je 0x4367d4
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp ecx, 8
jb 0x4367cd
mov edx, eax
cmp word [edx + esi*2 - 2], di
je 0x4367e3
push edi
lea ecx, [ebp - 0x28]
call fcn.00422cd6
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
cmp ecx, 8
jb 0x4367ed
mov edx, eax
push edx
call fcn.00437fae
pop ecx
test al, al
je 0x4368b0
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
push esi
push 0x40662c
call fcn.004221ba
mov edi, eax
jmp 0x43689d
mov eax, edi
lea ecx, [ebp - 0x61]
sub eax, esi
push ecx
inc eax
lea ecx, [ebp - 0x5c]
push eax
push esi
lea eax, [ebp - 0x44]
push eax
call fcn.00415a6d
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
jb 0x43683b
mov eax, dword [ebp - 0x5c]
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x28]
push eax
call fcn.00418f31
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x436853
mov eax, dword [ebp - 0x28]
push eax
call fcn.00437fae
pop ecx
test al, al
jne 0x436877
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x43686a
mov eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4368a8
lea esi, [edi + 1]
cmp esi, dword [ebp - 0x34]
jae 0x4368b4
push esi
push 0x40662c
lea ecx, [ebp - 0x44]
lfence
call fcn.004221ba
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
mov edi, eax
call fcn.00415705
cmp edi, 0xffffffff
jne 0x436814
jmp 0x4368bc
lea ecx, [ebp - 0x5c]
call fcn.00415705
xor bl, bl
jmp 0x4368bc
lea ecx, [ebp - 0x5c]
call fcn.00415705
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4368f9
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x60], ecx
cmp eax, 0x1000
jb 0x4368f0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0041568f
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x60]
push eax
push ecx
call fcn.0043a98a
pop ecx
pop ecx
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00415705
mov al, bl
call fcn.0043a9ba
ret
Function at 0x43691a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x462060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push eax
push eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
call fcn.00438430
push 0x3c
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0043c020
add esp, 0x18
mov dword [ebp - 0x40], 0x3c
cmp byte [ebp + 0x10], 0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x24], 5
je 0x4369a2
cmp dword [ebp - 0x44], 6
jl 0x4369a2
mov esi, dword [0x46203c]
mov ecx, esi
push 0x401cd8
call fcn.00415619
push 0x40172c
mov ecx, esi
call fcn.00415619
mov dword [ebp - 0x34], 0x401d1c
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4369b4
xor al, al
jmp 0x4369ca
test ebx, ebx
je 0x4369bf
mov eax, dword [ebp - 8]
mov dword [ebx], eax
jmp 0x4369c8
push dword [ebp - 8]
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.0043a998
leave
ret
Function at 0x436d79
Capabilities:
Get file version info

Disassembly:
push 0x228
mov eax, 0x45d4bb
call fcn.0043aa0b
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x21c]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x234], eax
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x230], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, ebx
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x228], ebx
test esi, esi
je 0x436ef3
push esi
call fcn.00437fdb
pop ecx
test al, al
je 0x436eed
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x436dea
xor eax, eax
sub esi, ecx
mov word [ebp - 0x22a], ax
lea ecx, [ebp - 0x21c]
lea eax, [ebp - 0x22a]
sar esi, 1
push eax
inc esi
push esi
call fcn.0042b2ba
push 0xffffffffffffffff
push dword [ebp - 0x230]
push esi
push dword [ebp - 0x21c]
call fcn.0043f517
add esp, 0x10
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x21c]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x436eed
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x436eed
push esi
push edi
push dword [ebp - 0x220]
push dword [ebp - 0x21c]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x436ee6
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x228]
push eax
push 0x40655c
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x436ee6
cmp dword [ebp - 0x224], 0
je 0x436ee6
mov eax, dword [ebp - 0x228]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [ebp - 0x210]
push edx
push 0x406634
push 0xff
push eax
call fcn.00439029
add esp, 0x1c
test eax, eax
js 0x436ee6
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x210]
push eax
call fcn.0041573e
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x436f0b
mov ecx, dword [ebp - 0x214]
sub ecx, eax
and ecx, 0xfffffffe
push ecx
push eax
call fcn.00413f56
pop ecx
pop ecx
mov al, bl
call fcn.0043a9ba
ret
Function at 0x436f13
Capabilities:
Parse url

Disassembly:
push 0x48
mov eax, 0x45d503
call fcn.0043aa0b
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov edi, esi
mov dword [ebp - 0x54], esi
xor ecx, ecx
mov dword [ebp - 0x50], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x3c
pop edi
push edi
push ecx
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x50], 1
call fcn.0043c020
push 0x104a
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x38], 0x825
call fcn.0043ad29
add esp, 0x10
mov dword [ebp - 0x3c], eax
cmp dword [ebx + 0x14], 8
jb 0x436f7e
mov ebx, dword [ebx]
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push dword [ebp - 0x3c]
mov ecx, esi
call fcn.0041573e
push dword [ebp - 0x3c]
call fcn.0043ad32
pop ecx
mov eax, esi
call fcn.0043a9ba
ret

Function at 0x437337
Capabilities:
Get common file path

Disassembly:
push 0x23c
mov eax, 0x45d53a
call fcn.0043aa0b
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x248]
call fcn.00416154
and dword [ebp - 4], 0
lea eax, [ebp - 0x248]
push eax
push 0x4066c4
push 0x406650
call fcn.00438928
xor ebx, ebx
add esp, 0xc
inc ebx
test al, al
je 0x437390
cmp dword [ebp - 0x248], ebx
jne 0x437390
lea eax, [ebp - 0x244]
mov ecx, esi
push eax
call fcn.004142a1
jmp 0x4373bd
mov edi, 0x104
lea eax, [ebp - 0x218]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4373bb
cmp eax, edi
ja 0x4373bb
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0041573e
jmp 0x4373bd
xor bl, bl
lea ecx, [ebp - 0x224]
call fcn.00418ece
lea ecx, [ebp - 0x244]
call fcn.00415705
mov al, bl
call fcn.0043a9ba
ret

Function at 0x437492
Capabilities:
Parse url

Disassembly:
push 0x48
mov eax, 0x45d503
call fcn.0043aa0b
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov edi, esi
mov dword [ebp - 0x54], esi
xor ecx, ecx
mov dword [ebp - 0x50], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x3c
pop edi
push edi
push ecx
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x50], 1
call fcn.0043c020
push 0x104a
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x1c], 0x825
call fcn.0043ad29
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebx + 0x14], 8
jb 0x4374fd
mov ebx, dword [ebx]
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push dword [ebp - 0x20]
mov ecx, esi
call fcn.0041573e
push dword [ebp - 0x20]
call fcn.0043ad32
pop ecx
mov eax, esi
call fcn.0043a9ba
ret