joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424910
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45d4eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x830
mov eax, dword [0x47bdb8]
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x46b054
mov dword [esp + 0x834], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0xa
mov eax, dword [ebp + 8]
lea ecx, [esp + 0xc]
push ecx
push 0x424860
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x1c], edi
jne 0x4249ab
mov eax, dword [esp + 0x14]
cmp eax, edi
mov dword [esp + 0x844], 0xffffffff
mov dword [esp + 0x10], esi
je 0x424ac7
nop
mov eax, dword [eax]
cmp eax, edi
jne 0x4249a0
jmp 0x424ac7
mov ebx, dword [esp + 0x14]
nop
cmp ebx, edi
je 0x424aa6
mov eax, ebx
mov esi, dword [eax + 8]
mov ebx, dword [ebx]
push esi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x4249b0
push 0x3ff
lea edx, [esp + 0x434]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x4249e9
mov byte [esp + 0x430], al
cmp dword [ebp + 0x10], edi
je 0x424a27
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
push 0x3ff
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
lea edx, [esp + 0x30]
push edx
push eax
call fcn.00417e04
add esp, 8
xor edi, edi
test eax, eax
jne 0x4249b0
jmp 0x424a4a
test byte [ebp + 0xc], 2
jne 0x424a4a
lea eax, [esp + 0x430]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424a37
sub eax, edx
mov dword [esp + 0x2c], eax
je 0x4249b0
test byte [ebp + 0xc], 1
jne 0x424a68
mov eax, dword [0x49ba1c]
push edi
push 1
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4249b0
mov eax, dword [esp + 0x14]
cmp eax, edi
mov dword [esp + 0x844], 0xffffffff
mov dword [esp + 0x10], 0x46b054
je 0x424a89
mov eax, dword [eax]
cmp eax, edi
jne 0x424a83
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
call fcn.0043b392
mov eax, esi
jmp 0x424ae2
mov eax, dword [esp + 0x14]
cmp eax, edi
mov dword [esp + 0x844], 0xffffffff
mov dword [esp + 0x10], 0x46b054
je 0x424ac7
mov eax, dword [eax]
cmp eax, edi
jne 0x424ac1
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
call fcn.0043b392
xor eax, eax
mov ecx, dword [esp + 0x83c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x834]
call fcn.0041723c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x424d00
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x45d50b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
mov eax, dword [0x47bdb8]
push ebx
xor ebx, ebx
push esi
mov esi, 0x46b054
mov dword [esp + 0x42c], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0xa
mov eax, dword [esp + 0x440]
lea ecx, [esp + 8]
push ecx
push 0x424860
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x18], ebx
jne 0x424dae
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x438], 0xffffffff
mov dword [esp + 0xc], esi
je 0x424d8e
mov eax, dword [eax]
cmp eax, ebx
jne 0x424d88
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
call fcn.0043b392
xor eax, eax
jmp 0x424ec3
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetParent]
push edi
mov edi, dword [esp + 0x18]
lea ebx, [ebx]
cmp edi, ebx
je 0x424e83
mov eax, edi
mov esi, dword [eax + 8]
mov edi, dword [edi]
push esi
call ebp
test eax, eax
jne 0x424dc0
push 0x3ff
lea edx, [esp + 0x38]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x424def
mov byte [esp + 0x34], bl
lea eax, [esp + 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x424df6
sub eax, edx
mov dword [esp + 0x30], eax
je 0x424dc0
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x424e1b
push 9
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x424e2b
push 5
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x440], 0xffffffff
mov dword [esp + 0x14], 0x46b054
je 0x424e66
jmp 0x424e60
mov eax, dword [eax]
cmp eax, ebx
jne 0x424e60
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
call fcn.0043b392
mov eax, esi
jmp 0x424ec1
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x440], 0xffffffff
mov dword [esp + 0x14], 0x46b054
je 0x424ea6
mov edi, edi
mov eax, dword [eax]
cmp eax, ebx
jne 0x424ea0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
call fcn.0043b392
xor eax, eax
pop edi
pop ebp
mov ecx, dword [esp + 0x430]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x428]
pop ebx
call fcn.0041723c
add esp, 0x434
ret 4
Function at 0x425070
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x45c
mov eax, dword [0x47bdb8]
push esi
mov dword [esp + 0x45c], eax
lea eax, [esp + 4]
push eax
push 0x46a800
push 1
push 0
push 0x46a810
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x4251b0
mov eax, dword [esp + 4]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push 0x46a850
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x4251a6
mov ecx, dword [esp + 0x464]
mov edx, dword [ecx]
push 0x104
lea eax, [esp + 0x21c]
push eax
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x21c]
push edx
push eax
call dword [ecx + 0x14]
mov esi, eax
test esi, esi
jl 0x42519c
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push 3
push 0
push eax
call dword [ecx + 0x4c]
mov esi, eax
test esi, esi
jl 0x42519c
mov eax, dword [esp + 4]
mov edx, dword [eax]
push 1
lea ecx, [esp + 0x320]
push ecx
push 0x104
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [edx + 0xc]
mov esi, eax
test esi, esi
jl 0x42519c
push edi
mov edi, dword [esp + 0x46c]
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.00401ac0
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x42519b
push 0x25
push eax
call fcn.00419448
add esp, 8
test eax, eax
je 0x42519b
sub eax, dword [edi]
mov dword [esp + 0x10], eax
js 0x42519b
push 0x104
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edx, [esp + 0x118]
push edx
mov ecx, edi
call fcn.00401ac0
pop edi
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 4]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x45c]
xor eax, eax
test esi, esi
setge al
pop esi
call fcn.0041723c
add esp, 0x45c
ret 8
Function at 0x429750
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45da98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
push 0xa
lea ecx, [esi + 0xc]
mov dword [esp + 0x18], edi
call fcn.0042c7d0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42f352
Capabilities:
Get common file path

Disassembly:
push 0x120
push 0x46c2a8
call fcn.004196d8
mov eax, dword [0x47bdb8]
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x124]
and dword [ebp - 0x128], 0
mov eax, edi
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
mov dword [ebp - 0x12c], esi
cmp esi, 0x104
jle 0x42f3f6
and dword [ebp - 4], 0
lea eax, [esi + 1]
add eax, 3
and eax, 0xfffffffc
call fcn.004188e0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x130], edi
jmp 0x42f3e3
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42f3f6
push edi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x42f411
cmp byte [edi + 1], 0x3a
jne 0x42f411
movzx eax, byte [edi]
push eax
call fcn.0042e8f6
pop ecx
mov ebx, eax
sub ebx, 0x40
cmp dword [ebp - 0x128], 0
je 0x42f421
push edi
call fcn.004185c4
pop ecx
mov eax, ebx
lea esp, [ebp - 0x13c]
mov ecx, dword [ebp - 0x1c]
call fcn.0041723c
call fcn.00419713
ret
Function at 0x4376f0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x28
mov eax, dword [0x47bdb8]
push ebx
push ebp
mov ebp, ecx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x2c], eax
sub edx, 6
xor eax, eax
cmp edx, eax
push esi
push edi
jle 0x43771a
mov esi, dword [esp + 0x3c]
mov ecx, edx
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp edx, eax
mov dword [esp + 0x3c], eax
jle 0x43776d
mov esi, 8
lea esp, [esp]
mov edi, dword [esp + 0x3c]
cmp edi, dword [ebp + 0x1c]
jg 0x43776d
cmp eax, edx
jge 0x437756
lea ecx, [ecx]
cmp ecx, 4
jge 0x437759
mov ebx, dword [esp + eax*4 + 0x14]
lea edi, [esi + ecx]
inc eax
inc ecx
cmp eax, edx
mov dword [ebp + edi*4], ebx
jl 0x437740
cmp ecx, 4
jne 0x437769
mov edi, dword [esp + 0x3c]
inc edi
add esi, 4
mov dword [esp + 0x3c], edi
xor ecx, ecx
cmp eax, edx
jl 0x437730
mov eax, dword [esp + 0x3c]
cmp eax, dword [ebp + 0x1c]
jg 0x4378dc
mov esi, 0x493078
jmp 0x437790
mov esi, dword [esp + 0x10]
jmp 0x437790
movzx edi, byte [esp + edx*4 + 0x11]
mov bl, byte [edi + str.cw]
mov al, byte [esp + 0x14]
xor al, bl
mov byte [esp + 0x14], al
movzx edi, byte [esp + edx*4 + 0x12]
mov bl, byte [edi + str.cw]
xor byte [esp + 0x15], bl
movzx edi, byte [esp + edx*4 + 0x13]
mov bl, byte [edi + str.cw]
xor byte [esp + 0x16], bl
movzx edi, byte [esp + edx*4 + 0x10]
mov bl, byte [edi + str.cw]
xor byte [esp + 0x17], bl
xor al, byte [esi]
add esi, 4
cmp edx, 8
mov byte [esp + 0x14], al
mov dword [esp + 0x10], esi
mov eax, 1
je 0x437806
cmp edx, eax
jle 0x437884
mov ebx, dword [esp + eax*4 + 0x14]
mov esi, dword [esp + eax*4 + 0x10]
xor ebx, esi
mov dword [esp + eax*4 + 0x14], ebx
inc eax
cmp eax, edx
jl 0x4377f1
jmp 0x437884
mov ebx, dword [esp + eax*4 + 0x14]
mov esi, dword [esp + eax*4 + 0x10]
xor ebx, esi
mov dword [esp + eax*4 + 0x14], ebx
inc eax
cmp eax, 4
jl 0x437806
movzx eax, byte [esp + 0x20]
mov al, byte [eax + str.cw]
mov bl, byte [esp + 0x24]
xor bl, al
movzx eax, byte [esp + 0x21]
mov al, byte [eax + str.cw]
mov byte [esp + 0x24], bl
mov bl, byte [esp + 0x25]
xor bl, al
movzx eax, byte [esp + 0x22]
mov al, byte [eax + str.cw]
mov byte [esp + 0x25], bl
mov bl, byte [esp + 0x26]
xor bl, al
movzx eax, byte [esp + 0x23]
mov al, byte [eax + str.cw]
mov byte [esp + 0x26], bl
xor byte [esp + 0x27], al
mov eax, 5
lea ecx, [ecx]
mov ebx, dword [esp + eax*4 + 0x14]
mov esi, dword [esp + eax*4 + 0x10]
xor ebx, esi
mov dword [esp + eax*4 + 0x14], ebx
inc eax
cmp eax, 8
jl 0x437870
xor eax, eax
test edx, edx
jle 0x4378cf
mov esi, dword [esp + 0x3c]
lea esi, [esi*4 + 8]
mov edi, dword [esp + 0x3c]
cmp edi, dword [ebp + 0x1c]
jg 0x4378cf
cmp eax, edx
jge 0x4378b8
cmp ecx, 4
jge 0x4378bb
mov ebx, dword [esp + eax*4 + 0x14]
lea edi, [esi + ecx]
inc eax
inc ecx
cmp eax, edx
mov dword [ebp + edi*4], ebx
jl 0x4378a2
cmp ecx, 4
jne 0x4378cb
mov edi, dword [esp + 0x3c]
inc edi
add esi, 4
mov dword [esp + 0x3c], edi
xor ecx, ecx
cmp eax, edx
jl 0x437895
mov eax, dword [esp + 0x3c]
cmp eax, dword [ebp + 0x1c]
jle 0x437781
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
call fcn.0041723c
add esp, 0x28
ret 4
Function at 0x4378f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx + 0x1c]
mov edx, 1
cmp eax, edx
jle 0x4379ed
push ebx
push esi
lea eax, [ecx + 0x32]
push edi
jmp 0x437910
movzx edi, byte [eax - 1]
mov ebx, dword [edi*4 + 0x492478]
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x492c78]
movzx edi, byte [eax]
xor esi, ebx
mov ebx, dword [edi*4 + 0x492878]
movzx edi, byte [eax - 2]
xor esi, ebx
xor esi, dword [edi*4 + 0x492078]
mov dword [eax - 2], esi
movzx edi, byte [eax + 4]
mov ebx, dword [edi*4 + 0x492878]
movzx esi, byte [eax + 5]
mov esi, dword [esi*4 + 0x492c78]
movzx edi, byte [eax + 3]
xor esi, ebx
mov ebx, dword [edi*4 + 0x492478]
movzx edi, byte [eax + 2]
xor esi, ebx
xor esi, dword [edi*4 + 0x492078]
mov dword [eax + 2], esi
movzx edi, byte [eax + 8]
mov ebx, dword [edi*4 + 0x492878]
movzx esi, byte [eax + 9]
mov esi, dword [esi*4 + 0x492c78]
movzx edi, byte [eax + 7]
xor esi, ebx
mov ebx, dword [edi*4 + 0x492478]
movzx edi, byte [eax + 6]
xor esi, ebx
xor esi, dword [edi*4 + 0x492078]
mov dword [eax + 6], esi
movzx edi, byte [eax + 0xc]
movzx esi, byte [eax + 0xd]
mov ebx, dword [edi*4 + 0x492878]
mov esi, dword [esi*4 + 0x492c78]
movzx edi, byte [eax + 0xb]
xor esi, ebx
mov ebx, dword [edi*4 + 0x492478]
movzx edi, byte [eax + 0xa]
xor esi, ebx
xor esi, dword [edi*4 + 0x492078]
mov dword [eax + 0xa], esi
mov esi, dword [ecx + 0x1c]
inc edx
add eax, 0x10
cmp edx, esi
jl 0x437910
pop edi
pop esi
pop ebx
ret
Function at 0x43c28f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x54], 0
mov eax, dword [edi + 0x58]
mov esi, dword [edi + 0x5c]
mov dword [ebp - 4], eax
je 0x43c2c6
call fcn.00456eb3
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x54]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43c2d7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x43c310
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x43c2f5
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x43c2fd
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x43c30e
test ax, ax
jne 0x43c30e
test si, si
je 0x43c310
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x43c31f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x43c57f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x45c370
call fcn.00418eb0
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.00456eb3
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x43c5bf
call fcn.00456eb3
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43c5d0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x43c5dc
or eax, 0xffffffff
jmp 0x43c6df
mov ecx, esi
call fcn.0043c0b1
mov dword [ebp - 0x14], eax
call fcn.0043e010
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x43c61f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x43c61f
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43c61f
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
and dword [ebp - 4], 0
push esi
call fcn.0043f668
push dword [ebp - 0x14]
call fcn.0043df68
push edi
push eax
push ebx
mov ecx, esi
call fcn.0043c364
xor ebx, ebx
cmp eax, ebx
je 0x43c693
test byte [esi + 0x38], 0x10
je 0x43c661
push 4
pop edi
mov ecx, esi
call fcn.004402e4
test ah, 1
je 0x43c659
push 5
pop edi
push edi
mov ecx, esi
call fcn.0043da0c
cmp dword [esi + 0x1c], ebx
je 0x43c693
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.00440555
jmp 0x43c693
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x43c6a7
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x43c6c0
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x43c6c0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0043c0eb
cmp dword [esi + 0x54], ebx
je 0x43c6dc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x43ec82
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x43ecbb
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040d2c8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00405340
pop esi
ret 4
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x43ffd4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x440017
call fcn.00456eb3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x440017
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x440032
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0043f139
test ebx, ebx
mov esi, eax
je 0x440030
test edi, edi
je 0x440030
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4409b6
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x45c4b2
call fcn.00418eb0
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x4409db
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x440a27
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004011f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x441f0e
Capabilities:
Get disk information

Disassembly:
mov eax, 0x45c83a
call fcn.00418eb0
sub esp, 0x150
mov eax, dword [0x47bdb8]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x154]
push eax
push edi
mov esi, 0x104
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
xor ebx, ebx
cmp eax, ebx
jne 0x441f56
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x441f5a
cmp eax, esi
jb 0x441f61
xor eax, eax
jmp 0x442036
call fcn.00441045
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp - 4], ebx
call fcn.00441ecc
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x442026
push ebx
push ebx
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x15c]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x441fb5
xor esi, esi
jmp 0x442029
test byte [ebp - 0x158], 2
jne 0x441fc5
push edi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [ebp - 0x158], 4
jne 0x442026
lea eax, [ebp - 0x150]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x442026
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x154], ebx
je 0x441fb1
cmp dword [ebp - 0x154], edi
jbe 0x441fb1
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, edi
add eax, dword [ebp - 0x154]
cmp eax, esi
jge 0x441fb1
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor esi, esi
inc esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004011f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0041723c
leave
ret 8
Function at 0x443b37
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x128
xor ebx, ebx
push ebx
push esi
mov edi, ecx
call fcn.00418e50
add esp, 0xc
push 0x104
push dword [edi + 0xc]
lea eax, [esi + 0x22]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [edi + 4]
cmp eax, dword [0x4668ec]
je 0x443c3e
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x443ba7
push ebx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
jne 0x443bae
cmp ebx, ebx
jne 0x443bae
xor eax, eax
jmp 0x443c41
mov edi, dword [edi + 0xc]
cmp dword [edi - 0xc], ebx
jne 0x443bbb
mov byte [esi + 0x20], bl
jmp 0x443bcf
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
sete cl
dec cl
and ecx, eax
mov byte [esi + 0x20], cl
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040eea5
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040eea5
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040eea5
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi]
or ecx, dword [esi + 4]
jne 0x443c2a
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x443c3e
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4