joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58e210
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x616040]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x5ed1c0
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x58e24c
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00527e2c
mov esp, ebp
pop ebp
ret
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x58e23c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.00527e2c
mov esp, ebp
pop ebp
ret
Function at 0x58f4b0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x18], eax
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [esp + 0x1c], ecx
fild qword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
fild qword [esp + 0x18]
fchs
faddp st(1)
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fld qword [0x5ee9b8]
fmul st(1), st(0)
fmulp st(1)
fcomp qword [ebp + 8]
fnstsw ax
test ah, 5
jp 0x58f53e
xor al, al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x58f6f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 0
push 0
push 0xd
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, eax
lea ecx, [ebp - 0xc]
push esi
call fcn.00409880
mov ebx, dword [ebp - 0xc]
push esi
push ebx
push 0xd
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
call fcn.0052a743
add esp, 4
lea esi, [eax - 1]
neg esi
sbb esi, esi
neg esi
test ebx, ebx
je 0x58f745
push ebx
call fcn.0040d50c
add esp, 4
lea eax, [esi + 0x1235]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5904f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2e03
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x616040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
lea ecx, [ebp - 0x14]
push 0x20001
call fcn.0058f590
add esp, 4
mov esi, dword [ebp - 0x14]
mov ecx, 0x5ead80
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x590558
test dx, dx
je 0x590554
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x590558
add eax, 4
add ecx, 4
test dx, dx
jne 0x590532
xor eax, eax
jmp 0x59055d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x59058c
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x5856b0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x59058c
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5905ad
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x594ec0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3250
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x616040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push 0
mov dword [esi + 0x88], edi
call fcn.004174cb
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
movzx eax, ax
push eax
call fcn.004176e1
call fcn.00416adc
mov eax, dword [eax + 4]
cmp word [eax + 0xd4], 0
jbe 0x594fab
call fcn.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x594f44
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp + 0xc]
mov dword [ebp + 8], 0
push eax
lea ecx, [ebp - 0x18]
call fcn.0041751a
call fcn.00416adc
lea ecx, [ebp - 0x18]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0xd4]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
call fcn.00417749
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x594fab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp word [eax], 1
jne 0x594fd5
mov ecx, 0xffff
cmp word [eax + 2], cx
jne 0x594fd5
cmp dword [0x62202c], 0
je 0x594fd5
or dword [eax + 8], 0x400000
push 0
push edi
push eax
mov ecx, esi
call fcn.00419bdc
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00417506
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x5950a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b327b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x616040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [ebp - 0x20]
mov dword [esi + 0x78], 0
call fcn.004174cb
push 0x66
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.004176e1
call fcn.00416adc
mov eax, dword [eax + 4]
cmp word [eax + 0xd4], 0
jbe 0x595183
call fcn.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x59511c
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x20]
call fcn.0041751a
call fcn.00416adc
lea ecx, [ebp - 0x20]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0xd4]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00417749
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x595183
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp word [eax], 1
jne 0x5951ad
mov ecx, 0xffff
cmp word [eax + 2], cx
jne 0x5951ad
cmp dword [0x62202c], 0
je 0x5951ad
or dword [eax + 8], 0x400000
push 0
push dword [esi + 0x88]
mov ecx, esi
push eax
call fcn.00419f11
mov ecx, esi
call fcn.00419c52
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00417506
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x596c30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b34e4
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x616040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push 0
mov dword [edi + 0x88], ebx
call fcn.004174cb
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
movzx eax, ax
push eax
call fcn.004176e1
call fcn.00416adc
mov eax, dword [eax + 4]
cmp word [eax + 0xd4], 0
jbe 0x596d1c
call fcn.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x596cb5
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp + 0xc]
mov dword [ebp + 8], 0
push eax
lea ecx, [ebp - 0x18]
call fcn.0041751a
call fcn.00416adc
lea ecx, [ebp - 0x18]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0xd4]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
call fcn.00417749
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x596d1c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp word [esi], 1
jne 0x596d50
mov eax, 0xffff
cmp word [esi + 2], ax
jne 0x596d50
mov ecx, dword [edi + 0x88]
test ecx, ecx
je 0x596d50
cmp dword [ecx + 0x20], 0
je 0x596d50
call fcn.00414821
or dword [esi + 8], eax
push 0
push ebx
push esi
mov ecx, edi
call fcn.00419bdc
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00417506
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 8
Function at 0x599260
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b37e6
mov eax, dword fs:[0]
push eax
sub esp, 0x50c
mov eax, dword [0x616040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push edi
lea ecx, [ebp - 0x510]
call fcn.00555e50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x510]
mov eax, dword [edi + 0x100]
mov dword [ebp - 0x410], eax
mov dword [ebp - 0xc4], 0x1faf
call fcn.005559a0
lea ecx, [ebp - 0x510]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00555af0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x518], eax
cmp esi, 1
je 0x59933d
mov eax, dword [0x621f18]
shr eax, 8
cmp al, 0xb
je 0x5994b0
lea esp, [esp]
mov ecx, dword [edi + 0x1d4]
xor edx, edx
mov esi, dword [ecx + 8]
test esi, esi
jle 0x59932e
mov eax, dword [ecx + 4]
add eax, 0x20
cmp dword [eax], 0
je 0x59931b
inc edx
add eax, 0x90
dec esi
jne 0x599315
test edx, edx
jle 0x59932e
call fcn.0059dd20
jmp 0x599300
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x180]
jmp 0x5994b7
mov ecx, dword [0x621edc]
mov eax, 0x92492493
mov esi, dword [0x621ed8]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x59938e
mov ecx, dword [edi + 0x1d4]
xor edx, edx
mov esi, dword [ecx + 8]
test esi, esi
jle 0x59932e
mov eax, dword [ecx + 4]
add eax, 0x20
cmp dword [eax], 0
je 0x59937b
inc edx
add eax, 0x90
dec esi
jne 0x599375
test edx, edx
jle 0x59932e
call fcn.0059dd20
jmp 0x599360
or ebx, 0xffffffff
cmp esi, dword [0x621edc]
je 0x59940d
lea esp, [esp]
call fcn.00416adc
mov ecx, dword [eax + 4]
call fcn.0040d587
mov dword [ebp - 4], 1
push dword [edi + 0x100]
fld1
push ecx
mov ecx, dword [edi + 0x1d4]
fstp dword [esp]
push dword [esi]
call fcn.0059da30
mov ebx, eax
test ebx, ebx
js 0x5993fb
push ebx
push esi
mov ecx, edi
call fcn.005994e0
lea ecx, [ebp - 0x511]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ab10
add esi, 0x1c
cmp esi, dword [0x621edc]
jne 0x5993a0
jmp 0x59940d
lea ecx, [ebp - 0x511]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ab10
mov ecx, 0x621ed8
call fcn.00404190
mov ecx, dword [0x621ee0]
mov eax, 0x92492493
sub ecx, dword [0x621ed8]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x80
jae 0x59944c
push 0x80
mov ecx, 0x621ed8
call fcn.00404750
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x518]
cmp eax, 0x64
jae 0x59946b
mov ecx, 0x64
sub ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jns 0x59947a
mov ecx, edi
call fcn.00599bc0
xor eax, eax
jmp 0x5994bc
mov ecx, dword [edi + 0x1d4]
push ebx
call fcn.0059dde0
push 0
push eax
mov eax, dword [edi + 0x1c8]
push 0x186
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x1c4]
push 0
push 0
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, edi
call fcn.00599bc0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527e2c
mov esp, ebp
pop ebp
ret
Function at 0x59af40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3914
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x616040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push 0
mov dword [esi + 0x88], edi
call fcn.004174cb
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
movzx eax, ax
push eax
call fcn.004176e1
call fcn.00416adc
mov eax, dword [eax + 4]
cmp word [eax + 0xd4], 0
jbe 0x59b02b
call fcn.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x59afc4
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp + 0xc]
mov dword [ebp + 8], 0
push eax
lea ecx, [ebp - 0x18]
call fcn.0041751a
call fcn.00416adc
lea ecx, [ebp - 0x18]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0xd4]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
call fcn.00417749
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x59b02b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp word [eax], 1
jne 0x59b055
mov ecx, 0xffff
cmp word [eax + 2], cx
jne 0x59b055
cmp dword [0x62202c], 0
je 0x59b055
or dword [eax + 8], 0x400000
push 0
push edi
push eax
mov ecx, esi
call fcn.00419bdc
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00417506
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x59b250
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b393f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x616040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [ebp - 0x20]
mov dword [esi + 0x78], 0
call fcn.004174cb
push 0x66
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.004176e1
call fcn.00416adc
mov eax, dword [eax + 4]
cmp word [eax + 0xd4], 0
jbe 0x59b333
call fcn.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x59b2cc
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x20]
call fcn.0041751a
call fcn.00416adc
lea ecx, [ebp - 0x20]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0xd4]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00417749
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x59b333
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp word [eax], 1
jne 0x59b35d
mov ecx, 0xffff
cmp word [eax + 2], cx
jne 0x59b35d
cmp dword [0x62202c], 0
je 0x59b35d
or dword [eax + 8], 0x400000
push 0
push dword [esi + 0x88]
mov ecx, esi
push eax
call fcn.00419f11
mov ecx, esi
call fcn.00419c52
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00417506
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x59b530
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3a38
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x616040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0xc]
push 0x66
call fcn.004196f8
mov dword [ebp - 4], 0
lea ecx, [esi + 0x98]
mov dword [esi], vtable.CDlgImageMerge.0
call fcn.00585620
mov byte [ebp - 4], 1
lea ecx, [esi + 0x118]
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
call fcn.004185f9
mov dword [esi + 0x1a8], 0
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1b0], 0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x1cc]
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c8], 0
call fcn.004179b8
mov dword [esi + 0x1d4], 0
lea ecx, [esi + 0x1e8]
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1dc], 0
mov dword [esi + 0x1e0], 0
call fcn.0056ec80
mov dword [esi + 0x24c], 0
mov dword [esi + method.CBrush.virtual_0], vtable.CBrush.0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
mov dword [esi + 0x254], 0
mov dword [esi + 0xb0], esi
mov dword [esi + 0x100], eax
call fcn.00416adc
call fcn.00416adc
push 0x5a
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x4c
mov dword [esi + 0x1b8], eax
call fcn.0040d4d6
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x59b6bd
mov ecx, eax
call fcn.0059e2b0
mov dword [esi + 0x1d4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x1d4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x59cc40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3c3f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x616040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push 0
mov dword [edi + 0x88], ebx
call fcn.004174cb
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
movzx eax, ax
push eax
call fcn.004176e1
call fcn.00416adc
mov eax, dword [eax + 4]
cmp word [eax + 0xd4], 0
jbe 0x59cd2c
call fcn.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x59ccc5
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp + 0xc]
mov dword [ebp + 8], 0
push eax
lea ecx, [ebp - 0x18]
call fcn.0041751a
call fcn.00416adc
lea ecx, [ebp - 0x18]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0xd4]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
call fcn.00417749
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x59cd2c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp word [esi], 1
jne 0x59cd60
mov eax, 0xffff
cmp word [esi + 2], ax
jne 0x59cd60
mov ecx, dword [edi + 0x88]
test ecx, ecx
je 0x59cd60
cmp dword [ecx + 0x20], 0
je 0x59cd60
call fcn.00414821
or dword [esi + 8], eax
push 0
push ebx
push esi
mov ecx, edi
call fcn.00419bdc
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00417506
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 8
Function at 0x59cda0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3c6a
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x616040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [ebp - 0x20]
mov dword [esi + 0x78], 0
call fcn.004174cb
push 0x67
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.004176e1
call fcn.00416adc
mov eax, dword [eax + 4]
cmp word [eax + 0xd4], 0
jbe 0x59ce83
call fcn.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x59ce1c
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x20]
call fcn.0041751a
call fcn.00416adc
lea ecx, [ebp - 0x20]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0xd4]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00417749
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x59ce83
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp word [eax], 1
jne 0x59cead
mov ecx, 0xffff
cmp word [eax + 2], cx
jne 0x59cead
cmp dword [0x62202c], 0
je 0x59cead
or dword [eax + 8], 0x400000
push 0
push dword [esi + 0x88]
mov ecx, esi
push eax
call fcn.00419f11
mov ecx, esi
call fcn.00419c52
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00417506
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x59dd20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
or ebx, 0xffffffff
push edi
xor eax, eax
or edi, ebx
cmp dword [esi + 8], eax
jle 0x59ddd9
mov edx, dword [esi + 4]
xor ecx, ecx
mov edi, edi
mov edx, dword [ecx + edx + 0x88]
cmp edi, edx
jge 0x59dd4f
mov edi, edx
mov ebx, eax
mov edx, dword [esi + 4]
inc eax
add ecx, 0x90
cmp eax, dword [esi + 8]
jl 0x59dd40
test ebx, ebx
js 0x59ddd9
lea ebx, [ebx + ebx*8]
mov ecx, edx
add ebx, ebx
mov eax, dword [ecx + ebx*8 + 0x88]
mov dword [ebp - 4], eax
test eax, eax
js 0x59ddb3
mov dword [ecx + ebx*8 + 0x88], 0xffffffff
xor ecx, ecx
cmp dword [esi + 8], ecx
jle 0x59ddb3
xor edx, edx
jmp 0x59dd90
mov edi, dword [esi + 4]
mov eax, dword [edi + edx + 0x88]
cmp eax, dword [ebp - 4]
jle 0x59dda7
dec eax
mov dword [edi + edx + 0x88], eax
inc ecx
add edx, 0x90
cmp ecx, dword [esi + 8]
jl 0x59dd90
mov eax, dword [esi + 4]
push dword [eax + ebx*8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 4]
push dword [eax + ebx*8 + 0x20]
call fcn.0040d50c
mov eax, dword [esi + 4]
add esp, 4
mov dword [eax + ebx*8 + 0x20], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret