joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cc30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46b800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
push str.MoveToFreePool
lea ecx, [esp + 0x10]
call fcn.00454159
mov eax, dword [0x48adb4]
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
push ecx
lea ecx, [esp + 0x18]
call fcn.00454224
push 0x493a80
mov dword [esp + 0x14], 0x493a80
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 3
call fcn.004540eb
mov ebx, dword [esi + 0x30]
test ebx, ebx
je 0x41cd9e
mov edi, dword [esp + 0x28]
mov eax, dword [ebx + 8]
cmp eax, edi
je 0x41ccc1
mov ebx, dword [ebx]
test ebx, ebx
jne 0x41ccab
jmp 0x41cd9e
test ebx, ebx
je 0x41cd9e
push ebp
lea ecx, [edi + 0x14]
call fcn.00402f00
lea ecx, [edi + 4]
call fcn.00402f00
lea ecx, [edi + 0x24]
call fcn.00402f00
lea ecx, [edi + 0x34]
call fcn.00402f00
mov eax, dword [esi + 0x58]
mov ebp, dword [esi + 0x50]
test eax, eax
jne 0x41cd21
mov edx, dword [esi + 0x60]
push 0xc
lea eax, [esi + 0x5c]
push edx
push eax
call fcn.0044ed92
mov ecx, dword [esi + 0x60]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 8]
jl 0x41cd21
inc ecx
mov edx, dword [esi + 0x58]
mov dword [eax], edx
mov dword [esi + 0x58], eax
sub eax, 0xc
dec ecx
jne 0x41cd13
mov edi, dword [esi + 0x58]
push 1
mov eax, dword [edi]
mov dword [esi + 0x58], eax
mov dword [edi + 4], ebp
mov dword [edi], 0
mov ecx, dword [esi + 0x54]
lea ebp, [edi + 8]
inc ecx
push ebp
mov dword [esi + 0x54], ecx
call fcn.0041d170
mov ecx, dword [esp + 0x2c]
mov dword [ebp], ecx
mov eax, dword [esi + 0x50]
test eax, eax
pop ebp
je 0x41cd57
mov dword [eax], edi
jmp 0x41cd5a
mov dword [esi + 0x4c], edi
lea ecx, [esi + 0x2c]
mov dword [esi + 0x50], edi
cmp ebx, dword [ecx + 4]
jne 0x41cd6c
mov edx, dword [ebx]
mov dword [ecx + 4], edx
jmp 0x41cd73
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov dword [eax], edx
cmp ebx, dword [ecx + 8]
jne 0x41cd80
mov eax, dword [ebx + 4]
mov dword [ecx + 8], eax
jmp 0x41cd88
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
mov edx, dword [ecx + 0x10]
mov dword [ebx], edx
mov eax, dword [ecx + 0xc]
dec eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0xc], eax
jne 0x41cd9e
call fcn.0041cf30
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.004540eb
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x41e450
Capabilities:
Get hostname
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x46baf9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, ecx
push 0x488634
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], edi
call fcn.00454159
mov ecx, dword [0x493ac0]
mov dword [esp + 0x120], 0
test ecx, ecx
je 0x41e4ac
call fcn.0041cb10
mov ecx, dword [0x493ac0]
test ecx, ecx
je 0x41e4ac
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x9c
call fcn.0044f957
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x120], 1
je 0x41e4d2
mov ecx, eax
call fcn.0041b8e0
jmp 0x41e4d4
xor eax, eax
mov ebx, dword [esp + 0x128]
mov ecx, eax
push ebx
push 0x186a0
push edi
push 0x41e310
mov byte [esp + 0x130], 0
mov dword [0x493ac0], eax
call fcn.0041baf0
test al, al
je 0x41e5ca
push ebp
lea ecx, [esp + 0x1c]
push pe_nt_image_headers32
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x41e58e
mov eax, dword [esi + 0xc]
mov ebp, dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call ebp
push eax
lea ecx, [esp + 0x14]
call fcn.00454453
mov eax, dword [esi + 0xc]
movsx ecx, word [esi + 0xa]
mov edx, dword [eax]
mov eax, dword [esi]
add edx, ecx
cmp edx, eax
jae 0x41e58e
xor edi, edi
push 0x487744
lea ecx, [esp + 0x14]
call fcn.00454453
mov eax, dword [esi + 0xc]
add edi, 4
mov ecx, dword [eax + edi]
mov edx, dword [ecx]
push edx
call ebp
push eax
lea ecx, [esp + 0x14]
call fcn.00454453
mov eax, dword [esi + 0xc]
movsx ecx, word [esi + 0xa]
mov edx, dword [eax + edi]
mov eax, dword [esi]
add edx, ecx
cmp edx, eax
jb 0x41e552
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea esi, [edi + 0x228]
push 1
push eax
push 0
mov ecx, esi
call fcn.0045a6a8
push ebx
lea ecx, [esp + 0x14]
push 0x488628
push ecx
call fcn.0044cf5b
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, esi
push 1
push edx
push 2
call fcn.0045a6a8
pop ebp
jmp 0x41e603
push ebx
lea eax, [esp + 0x10]
push 0x488618
push eax
call fcn.0044cf5b
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea esi, [edi + 0x228]
push 1
push ecx
push 0
mov ecx, esi
call fcn.0045a6a8
push 1
push 0x488610
push 2
mov ecx, esi
call fcn.0045a6a8
push 1
push 0x488608
push 3
mov ecx, esi
call fcn.0045a6a8
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], 0xffffffff
call fcn.004540eb
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret 8

Function at 0x41ef30
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x41fa70
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x478
mov eax, dword [esp + 0x47c]
push ebp
xor ebp, ebp
push esi
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocString
push eax
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41fbb8
push ebx
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.0041ef30
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 4
lea edx, [esp + 0x1c]
push ebp
push edx
lea eax, [esp + 0x90]
push 0x400
push eax
push esi
call edi
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x41faf2
lea ecx, [esp + 0x88]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.0041ef60
add esp, 0xc
jmp 0x41fabc
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.0041f9b0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x490]
xor eax, eax
xor edx, edx
mov al, byte [esp + ebp + 0x20]
mov dword [esp + 0x11], edx
shr eax, 4
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x19], edx
push 0x488738
push ecx
mov byte [esp + 0x1c], 0
mov byte [esp + 0x25], dl
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + ebp + 0x2c]
mov ecx, edx
and ecx, 3
and eax, 0xf
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x20]
push 0x488738
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
inc ebp
cmp ebp, 0x10
rep movsb byte es:[edi], byte [esi]
jl 0x41fb12
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x478
ret

Function at 0x420830
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4208b3
push esi
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.0044f957
mov edi, eax
add esp, 4
test edi, edi
je 0x4208a3
lea ecx, [esp + 0x10]
push 0
push ecx
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42089a
cmp dword [esp + 0x10], esi
jne 0x42089a
mov edx, dword [esp + 0x14]
push esi
push edi
push edx
call fcn.004206a0
add esp, 0xc
push edi
call fcn.0044f980
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
ret
mov eax, 1
pop ebx
ret
Function at 0x421710
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
xor esi, esi
push edi
push esi
push 0x80
push 3
push esi
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42173b
pop edi
xor eax, eax
pop esi
ret
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push esi
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
mov eax, ebx
lea edx, [esp + 0x1c]
push 0
sub eax, esi
push edx
lea ecx, [esi + ebp]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x42177a
test eax, eax
je 0x421780
add esi, eax
cmp esi, ebx
jb 0x421757
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
ret

Function at 0x423ea0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x423f05
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x10]
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x423efd
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
ret 8

Function at 0x423f10
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push esi
mov dword [esp + 8], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x423fb3
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 4], esi
jne 0x423f45
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, eax
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call fcn.0044f957
lea ecx, [ebx - 1]
mov ebp, eax
mov eax, ecx
add esp, 4
lea edi, [ebp + 1]
mov byte [ebp], 0x19
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x14]
push ebx
push ebp
mov edx, dword [eax + 0x154]
mov ecx, dword [eax + 0x158]
push edx
call fcn.0041c270
push ebp
call fcn.0044f980
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x44c190
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0043ddd0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x44c25b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x44c25b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x44c20e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x44c219
or bh, 8
and edi, 0x8000000
je 0x44c234
mov eax, dword [0x497c9c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x44c25b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c630
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x44c65b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x44c67f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x44c69a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x44fb65
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x44fb87
cmp dword [edi + 0x3c], 0
jne 0x44fb87
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0046479c
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0044fbb4
pop edi
pop esi
pop ebx
ret 8

Function at 0x4511fa
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x451232
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.0045451e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004544f6
jmp 0x45123e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x451242
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x495e38
mov ecx, edi
call fcn.00454274
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x451295
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x4512a8
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0045451e
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004544f6
jmp 0x4512a8
mov ecx, esi
call fcn.004534f4
test eax, eax
je 0x4512a8
push edi
mov ecx, eax
call fcn.004511fa
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x452cec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x452d2e
call fcn.0046479c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x452d2e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x452d25
xor eax, eax
jmp 0x452d36
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00452d3c
pop edi
pop esi
pop ebx
ret 4
Function at 0x4654f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0046479c
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x465530
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x465530
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x465534
xor eax, eax
jmp 0x4655b2
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.0044f957
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x46556c
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x465556
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.004656a3
push ebx
mov edi, eax
call fcn.0044f980
test edi, edi
pop ecx
je 0x4655ae
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.0046546c
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.004655b7
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x466890
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4668be
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4668dc
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004667f6
jmp 0x4668dc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4668dc
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004667f6
test edi, edi
mov eax, edi
jne 0x4668c6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x7ef580
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x271000]
push edi
or ebp, 0xffffffff
jmp 0x7ef5a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7ef5a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ef598
mov eax, 1
add ebx, ebx
jne 0x7ef5bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7ef5cc
jne 0x7ef5eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ef5eb
dec eax
add ebx, ebx
jne 0x7ef5d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7ef5b0
add ebx, ebx
jne 0x7ef5e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7ef63d
xor ecx, ecx
sub eax, 3
jb 0x7ef603
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7ef672
sar eax, 1
mov ebp, eax
jmp 0x7ef60e
add ebx, ebx
jne 0x7ef60e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ef5dc
inc ecx
add ebx, ebx
jne 0x7ef61c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ef5dc
add ebx, ebx
jne 0x7ef629
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7ef61e
jne 0x7ef63a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7ef61e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7ef65c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7ef64e
jmp 0x7ef59e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7ef65c
add edi, ecx
jmp 0x7ef59e
pop esi
mov edi, esi
mov ecx, 0xcffb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7ef67a
cmp byte [edi], 0x67
jne 0x7ef67a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7ef67f
lea edi, [esi + 0x3eb000]
mov eax, dword [edi]
or eax, eax
je 0x7ef6ee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3f16d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3f17fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7ef6ac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3f1800]
or eax, eax
je 0x7ef6e8
mov dword [ebx], eax
add ebx, 4
jmp 0x7ef6c9
call dword [esi + 0x3f1808]
mov ebp, dword [esi + 0x3f1804]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7ef722
sub esp, 0xffffff80
jmp 0x5b6480