joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403a70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x44b7b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esp + 0x10], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov byte [esp + 0x10], 3
call fcn.0043cff4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x54], eax
mov byte [esp + 0x10], 4
call fcn.0043cff4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x58], eax
mov ecx, esi
mov byte [esp + 0x10], 5
call fcn.00402b90
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x403e00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44b80c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, 0xf
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ebx
mov dword [esp + 8], esi
mov byte [esi + 0x14], bl
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov dword [esp + 0x14], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x60], eax
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x4c], bl
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], ebx
mov byte [esi + 0x68], bl
lea ecx, [esi + 0x80]
push 1
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], ebx
push 0x44e8fc
mov byte [esp + 0x1c], 3
mov byte [ecx + 4], bl
call fcn.00401d50
push esi
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], 1
call fcn.0042b461
lea eax, [esi + 4]
push eax
call fcn.0042b461
mov ecx, dword [esp + 0x14]
add esp, 8
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x404a00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x44b878
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, dword [esp + 0x1c]
push 0x44e773
push esi
xor edi, edi
call fcn.0042ba80
add esp, 8
test eax, eax
je 0x404a39
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x405360
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44b8ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp]
push esi
sub eax, 0x10
push edi
mov ebx, ecx
push eax
mov dword [esp + 0x14], ebx
call fcn.004015f0
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [ebp + 4]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 8]
sub eax, 0x10
push eax
mov dword [esp + 0x24], 0
call fcn.004015f0
add eax, 0x10
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0xc]
sub eax, 0x10
push eax
mov byte [esp + 0x28], 1
call fcn.004015f0
add eax, 0x10
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 0x10
push eax
mov byte [esp + 0x2c], 2
call fcn.004015f0
add esp, 0x10
add eax, 0x10
mov dword [ebx + 0x10], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0x14], ecx
mov edx, dword [ebp + 0x18]
mov dword [ebx + 0x18], edx
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x1c], eax
mov ecx, dword [ebp + 0x20]
mov dword [ebx + 0x20], ecx
mov edx, dword [ebp + 0x24]
mov dword [ebx + 0x24], edx
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x28], eax
mov ecx, dword [ebp + 0x2c]
mov dword [ebx + 0x2c], ecx
mov edx, dword [ebp + 0x30]
mov dword [ebx + 0x30], edx
lea esi, [ebp + 0x34]
lea edi, [ebx + 0x34]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea esi, [ebp + 0x55]
lea edi, [ebx + 0x55]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4055f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44b908
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.004051a0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.004015f0
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x405682
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x405a70
Capabilities:
Create directory
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44b970
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x28]
push 0x44e773
push esi
mov dword [esp + 0x28], 0
call fcn.0042ba80
add esp, 8
test eax, eax
jne 0x405ae1
or ebp, 0xffffffff
lea eax, [esi - 0x10]
mov dword [esp + 0x20], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x405acc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.00404ff0
mov eax, dword [eax]
push 0x44ef38
push eax
call fcn.0042ba80
mov ebx, eax
mov eax, dword [esp + 0x18]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
or ebp, 0xffffffff
inc bl
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x405b75
mov esi, dword [esi - 0xc]
dec esi
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.00405050
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 1
call fcn.00401f10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
call edi
cmp eax, ebp
je 0x405b8a
test al, 0x10
jne 0x405ab1
push esi
call edi
cmp eax, ebp
je 0x405be9
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x405bc7
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x405bc7
lea ecx, [esp + 0x28]
call fcn.00401150
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4
add esi, 0xfffffff0
push esi
call fcn.004015f0
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
push 0x45a404
lea eax, [esp + 0x14]
push eax
call fcn.0042b209
push 0x5c
push esi
call fcn.0042b90b
add esp, 8
test eax, eax
jne 0x405bfc
mov eax, ebp
jmp 0x405bfe
sub eax, esi
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00405050
mov ecx, dword [esp + 0x18]
call fcn.00405a70
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x405ab1
add esi, 0xfffffff0
push esi
call fcn.004015f0
add esp, 4
push 0x45a404
lea edx, [esp + 0x18]
add eax, 0x10
push edx
mov dword [esp + 0x1c], eax
call fcn.0042b209
int3
Function at 0x407fc0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44bc23
mov eax, dword fs:[0]
push eax
mov eax, 0x1014
mov dword fs:[0], esp
call fcn.0042b7c0
mov eax, dword [0x462650]
push ebx
push ebp
push esi
mov dword [esp + 0x101c], eax
push edi
mov dword [esp + 0x14], ecx
mov ebp, dword [esp + 0x1034]
xor esi, esi
push ebp
mov dword [esp + 0x1030], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40803d
lea eax, [ebp - 0x10]
mov dword [esp + 0x102c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408033
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
jmp 0x408148
push ebp
push esi
push str.ServerCount
push str.UpdateServer
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
mov dword [esp + 0x18], ebx
call fcn.0043cff4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
cmp ebx, esi
mov byte [esp + 0x102c], 1
jle 0x4080f0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ebx, [ebx]
push esi
lea eax, [esp + 0x14]
push str.Server_d
push eax
call fcn.00401290
mov edi, dword [esp + 0x1c]
add esp, 0xc
push ebp
push 0x1000
lea ecx, [esp + 0x28]
push ecx
push 0x44e773
push edi
push str.UpdateServer
call ebx
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4080b6
sub eax, edx
mov dword [esp + 0x1c], eax
je 0x4080e7
push 1
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00402550
mov ecx, dword [esp + 0x1c]
add ecx, 0x214
call fcn.004114a0
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x408080
mov ecx, dword [esp + 0x14]
add ecx, 0x214
call fcn.00411330
lea eax, [edi - 0x10]
mov byte [esp + 0x102c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408121
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x102c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408146
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x1024]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1020]
call fcn.0042af5e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1020
ret 4
Function at 0x4087a0
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
mov dword [ebx], method.CDialog.virtual_0
xor edi, edi
lea esi, [ebx + 0x70]
lea esp, [esp]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x24]
xor ecx, ecx
cmp eax, edx
setne cl
dec ecx
and eax, ecx
cmp edi, eax
jge 0x408876
mov ecx, dword [esi + 0xc]
add ecx, edi
mov eax, ecx
shr eax, 2
lea ebx, [eax*4]
mov edx, esi
sub ecx, ebx
mov ebx, dword [edx + 8]
cmp ebx, eax
ja 0x4087f6
sub eax, ebx
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
push 0x2710
push ecx
call ebp
cmp eax, 0x102
jne 0x40883e
mov ecx, dword [esi + 0xc]
add ecx, edi
mov eax, ecx
shr eax, 2
lea ebx, [eax*4]
mov edx, esi
sub ecx, ebx
mov ebx, dword [edx + 8]
cmp ebx, eax
ja 0x40882c
sub eax, ebx
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0xc]
add ecx, edi
mov eax, ecx
shr eax, 2
lea ebx, [eax*4]
mov edx, esi
sub ecx, ebx
mov ebx, dword [edx + 8]
cmp ebx, eax
ja 0x40885c
sub eax, ebx
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x10]
inc edi
jmp 0x4087c0
lea ecx, [esi + 0x14]
call fcn.00405ce0
mov ecx, esi
call fcn.00404930
pop edi
pop esi
pop ebp
mov ecx, ebx
pop ebx
add esp, 4
jmp fcn.00441350
Function at 0x408f60
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44bcc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [0x462650]
mov dword [esp + 0x20c], eax
push esi
mov dword [esp + 4], 0
push 0x44e773
lea ecx, [esp + 8]
mov dword [esp + 0x220], 0
call fcn.00402550
mov esi, dword [esp + 0x228]
push 0x44e773
push esi
mov byte [esp + 0x224], 1
call fcn.0042ba80
add esp, 8
test eax, eax
jne 0x408ffb
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x22c]
push 0x44ef3c
push edx
call fcn.00401290
mov esi, dword [esp + 0x234]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x409018
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x22c]
call fcn.00401080
mov esi, dword [esp + 0x228]
lea ecx, [esp + 0x10c]
push ecx
push 0
push 0x44f378
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test esi, esi
jne 0x409036
xor eax, eax
jmp 0x40904f
mov eax, esi
lea edx, [eax + 1]
jmp 0x409040
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409040
sub eax, edx
js 0x409103
cmp eax, dword [esi - 8]
jg 0x409103
push edi
lea edx, [esp + 0x110]
mov dword [esi - 0xc], eax
push edx
mov byte [eax + esi], 0
lea eax, [esp + 0xc]
push 0x44ef3c
push eax
call fcn.00401290
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.004015f0
mov edi, dword [esp + 0x238]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x220], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4090b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov dword [esp + 0x220], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4090de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x218]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x210]
pop esi
call fcn.0042af5e
add esp, 0x21c
ret
push 0x80070057
call fcn.00401000
int3
Function at 0x40be20
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov ebp, ecx
push ebx
lea ecx, [esp + 0x14]
call fcn.00402550
lea eax, [esp + 0x10]
lea esi, [ebp + 0x70]
push eax
mov ecx, esi
call fcn.004050b0
cmp eax, 0xffffffff
jne 0x40be4b
xor esi, esi
jmp 0x40be72
mov ecx, dword [esi + 0xc]
add ecx, eax
mov eax, ecx
shr eax, 2
mov edx, esi
lea esi, [eax*4]
sub ecx, esi
mov esi, dword [edx + 8]
cmp esi, eax
ja 0x40be69
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov esi, dword [eax + ecx*4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40be90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x40bed9
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
mov edi, eax
push edi
push 0x44f604
push 1
call fcn.0041fb20
add esp, 0x10
test edi, edi
pop edi
je 0x40bebf
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
mov ecx, ebp
call fcn.0040bcd0
push ebx
push 0
push 0x44f5e0
push 1
call fcn.0041fb20
add esp, 0x10
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x40ebe0
Capabilities:
Copy file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x12c]
push edi
mov edi, dword [esi + 0x128]
cmp edi, eax
je 0x40eb6f
push ebx
lea ebx, [edi + 4]
mov eax, dword [edi]
push eax
mov ecx, esi
call fcn.0040bcd0
test eax, eax
je 0x40eb60
mov ecx, dword [esi + 0x12c]
sub ecx, ebx
sar ecx, 2
shl ecx, 2
push ecx
push ebx
push edi
call fcn.0042abf0
mov eax, dword [esi + 0x12c]
add esp, 0xc
add eax, 0xfffffffc
mov dword [esi + 0x12c], eax
jmp 0x40eb66
add edi, 4
add ebx, 4
cmp edi, dword [esi + 0x12c]
jne 0x40eb28
pop ebx
mov eax, dword [esi + 0x10c]
test eax, eax
jne 0x40eb9b
cmp word [esi + 0xd0], 0
jne 0x40eb9b
mov eax, dword [esi + 0x120]
test eax, eax
pop edi
mov ecx, esi
pop esi
je 0x40eb96
jmp fcn.0040e6c0
jmp fcn.004096f0
lea ecx, [esi + 0x23c]
call fcn.00414cc0
test eax, eax
je 0x40ebb3
pop edi
mov ecx, esi
pop esi
jmp fcn.0040d610
mov edx, dword [esi + 0x1c]
push 0x402
push edx
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
mov dword [esi + 0xd4], 0
mov ecx, esi
pop esi
jmp fcn.0040d970
push esi
mov esi, ecx
mov edx, dword [esi + 0xd4]
dec edx
mov eax, edx
test eax, eax
mov dword [esi + 0xd4], edx
jg 0x40ec0f
mov eax, dword [esi + 0x1c]
push 0x402
push eax
mov dword [esi + 0xd4], 0
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
pop esi
jmp 0x40eb10
Function at 0x40f220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0x44fcf8
push eax
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x40f278
push 0x45b2f0
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], eax
call fcn.0042b209
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x40f298
push 0x45b2f0
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], eax
call fcn.0042b209
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push ebx
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40f2d2
push 0x45b2f0
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], eax
call fcn.0042b209
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
push 0
push edi
push ecx
push eax
call dword [edx + 0x10]
mov ebx, dword [ebp - 0x14]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
test edi, edi
je 0x40f311
lea edx, [ebp + 0xc]
push edx
push ebx
mov dword [edi], 0x44fbb8
mov dword [ebp + 0xc], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
jmp 0x40f313
xor edi, edi
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x78], ecx
mov ecx, edi
mov dword [esi + 0x90], edi
call fcn.0040efc0
mov ecx, dword [esi + 0x90]
mov dword [esi + 0x6c], eax
call fcn.0040eff0
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x6c]
cdq
idiv dword [esi + 0x78]
mov edx, dword [esi + 0x1c]
push edx
mov dword [esi + 0x74], eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0043e9f0
mov ebx, eax
mov eax, dword [esi + 0x1c]
lea edi, [esi + 0x94]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
mov ecx, ebx
call fcn.00444591
mov eax, dword [esi + 0x74]
mov ecx, dword [edi]
mov edx, dword [esi + 0x98]
add edx, dword [esi + 0x70]
add ecx, eax
mov dword [esi + 0xa0], edx
mov dword [esi + 0x9c], ecx
mov eax, dword [edi + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
push 1
sub edx, eax
push edx
mov edx, dword [edi + 8]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, esi
call fcn.00441ddf
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40f3b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4103e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c4d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [ecx + 4]
push ebx
push esi
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
jne 0x410542
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0x44fcf8
push eax
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x410444
push 0x45b2f0
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], ebx
call fcn.0042b209
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x410464
push 0x45b2f0
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], ebx
call fcn.0042b209
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push 1
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp - 0x14]
cmp eax, edi
jne 0x41049e
push 0x45b2f0
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], edi
call fcn.0042b209
mov edx, dword [eax]
push edi
push esi
push ebx
push eax
call dword [edx + 0x10]
mov ebx, dword [ebp - 0x14]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, edi
je 0x4104ce
lea eax, [esi + 4]
push eax
push ebx
mov dword [esi], 0x44fbb0
mov dword [eax], edi
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x4104d0
xor esi, esi
cmp esi, edi
mov eax, dword [ebp - 0x28]
mov dword [eax + 4], esi
je 0x410510
mov eax, dword [esi + 8]
cmp eax, edi
mov dword [esi + 8], edi
jne 0x410510
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x4104f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x45b2f0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], edi
call fcn.0042b209
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41052e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41053c
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 0x410542
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8