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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58fe98
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5fcff4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
push 0
push 0
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.0040d6d0
push 8
call fcn.00417cca
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40c091
push 1
mov dword [ebp - 4], 2
call fcn.005629db
add esp, 4
mov dword [ebx + 4], eax
jmp 0x40c093
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ebx, dword [ebx + 4]
mov ecx, ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebx]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 3
push eax
call fcn.0040cf90
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov byte [ebp + 0xb], al
mov byte [ebp - 4], 1
test ebx, ebx
je 0x40c0f1
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
test eax, eax
je 0x40c0ee
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov al, byte [ebp + 0xb]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x40c10a
mov eax, dword [esi + 0xc]
mov ecx, esi
push 0
or eax, 4
push eax
call fcn.0040d6d0
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 4]
mov dword [edi + eax + 0x10], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi + 0xc], eax
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + edi - 4], eax
mov eax, edi
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 0x40eaf0
Capabilities:
Initialize winsock library

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00421dc2
lea edi, [esi + 0x6f0]
push edi
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40eb23
cmp byte [edi], 2
jne 0x40eb1d
cmp byte [esi + 0x6f3], 2
je 0x40eb23
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0x1000
lea eax, [esi + 0x8b8]
push 0
push eax
call fcn.00564770
add esp, 0xc
mov dword [esi + 0x8a8], 0x10
mov dword [esi + 0x8ac], 0
mov dword [esi + 0x8b0], 1
mov dword [esi + 0x8b4], 0
push 0
push 0x5dc
push 0x1600
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
xor eax, eax
pop esi
ret
Function at 0x40eb80
Capabilities:
Convert ip address from string
Create udp socket
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59023d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5fcff4]
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 esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x894]
mov ebx, dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x890], 0
cmp eax, 0xffffffff
je 0x40ebdc
push eax
call ebx
mov dword [esi + 0x894], 0xffffffff
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
mov ecx, 2
mov dword [esi + 0x894], eax
cmovae edx, dword [ebp + 8]
mov word [esi + 0x898], cx
push ecx
lea ecx, [ebp - 0x28]
call fcn.00415b00
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40ec19
mov eax, dword [eax]
lea ecx, [esi + 0x89c]
push ecx
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x40ec5d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ec53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed88
push ecx
push edx
call fcn.00561389
add esp, 8
push 0x97e2
call dword [sym.imp.WS2_32.dll_htons]
push 4
mov word [esi + 0x89a], ax
lea eax, [ebp - 0x2c]
push eax
push 0x1006
push 0xffff
push dword [esi + 0x894]
mov dword [ebp - 0x2c], 0x1388
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
js 0x40ed34
cmp dword [esi + 0x890], 0
jne 0x40ed34
push 0x10
lea eax, [esi + 0x898]
push eax
push 0
push dword [esi + 0x8a8]
lea edi, [esi + 0x8a8]
push edi
push dword [esi + 0x894]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x40ece1
push dword [esi + 0x894]
call ebx
mov dword [esi + 0x894], 0xffffffff
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x10
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0x10
push edi
push dword [esi + 0x894]
call dword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jns 0x40ed17
push dword [esi + 0x894]
call ebx
mov dword [esi + 0x894], 0xffffffff
mov ecx, dword [0x606bcc]
mov eax, dword [esi + 0x8ac]
mov dword [esi + 0x890], eax
mov dword [ecx + 0x3010], eax
call fcn.00410b20
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x40ed6a
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ed60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed8d
push ecx
push edx
call fcn.00561389
add esp, 8
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.00560f1e
mov esp, ebp
pop ebp
ret 0x18
call fcn.00567a6f
call fcn.00567a6f
int3
Function at 0x415f80
Capabilities:
Create restart manager session
Enumerate processes that use resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590b47
mov eax, dword fs:[0]
push eax
mov eax, 0x1a80
call fcn.005618f0
mov eax, dword [0x5fcff4]
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 esi, ecx
mov dword [ebp - 0x1a7c], esi
mov dword [ebp - 0x1a8c], esi
mov dword [ebp - 0x1a80], 1
mov dword [ebp - 0x1a84], edx
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 0x1a70]
mov dword [ebp - 0x1a80], 1
push eax
mov dword [ebp - 0x1a70], 0
call dword [sym.imp.RstrtMgr.DLL_RmStartSession]
test eax, eax
jne 0x4160f2
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x1a84]
push eax
push 1
push dword [ebp - 0x1a70]
call dword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
test eax, eax
jne 0x4160f2
push 0x1a18
push eax
mov dword [ebp - 0x1a88], eax
mov dword [ebp - 0x1a78], eax
lea eax, [ebp - 0x1a6c]
push eax
mov dword [ebp - 0x1a74], 0xa
call fcn.00564770
add esp, 0xc
lea eax, [ebp - 0x1a88]
push eax
lea eax, [ebp - 0x1a6c]
push eax
lea eax, [ebp - 0x1a74]
push eax
lea eax, [ebp - 0x1a78]
push eax
push dword [ebp - 0x1a70]
call dword [sym.imp.RstrtMgr.DLL_RmGetList]
test eax, eax
jne 0x4160f2
cmp dword [ebp - 0x1a78], eax
je 0x4160f2
xor edi, edi
cmp dword [ebp - 0x1a74], edi
jbe 0x4160e6
lea ebx, [ebp - 0x1a6c]
nop word [eax + eax]
mov eax, dword [esi + 4]
mov ecx, dword [ebx]
mov dword [ebp - 0x1a7c], ecx
cmp eax, dword [esi + 8]
je 0x4160c8
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x4160d7
lea ecx, [ebp - 0x1a7c]
push ecx
push eax
mov ecx, esi
call fcn.00417a60
inc edi
add ebx, 0x29c
cmp edi, dword [ebp - 0x1a74]
jb 0x4160b0
push dword [ebp - 0x1a70]
call dword [sym.imp.RstrtMgr.DLL_RmEndSession]
mov eax, esi
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.00560f1e
mov esp, ebp
pop ebp
ret
Function at 0x417050
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590c9d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5fcff4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.00415f80
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x4170c1
push dword [esi]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4170ba
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, ebx
jne 0x417098
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
call fcn.00415f80
mov esi, eax
lea eax, [ebp - 0x1c]
cmp eax, esi
je 0x41714e
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x417129
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x41710a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171e6
push ecx
push edx
call fcn.00561389
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x14], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x417196
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x417177
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171e6
push ecx
push edx
call fcn.00561389
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
cmp esi, ebx
jne 0x417098
test esi, esi
je 0x4171d4
mov ecx, dword [ebp - 0x14]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4171ca
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171e6
push ecx
push esi
call fcn.00561389
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00567a6f
int3
Function at 0x4173c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x5fcff4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
mov esi, ecx
xor bl, bl
push 2
mov dword [ebp - 0x254], esi
mov byte [ebp - 0x249], bl
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x250], eax
cmp eax, 0xffffffff
je 0x417540
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x248], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x417534
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x417534
push edi
nop word [eax + eax]
push ecx
lea edx, [ebp - 0x224]
lea ecx, [ebp - 0x1c]
call fcn.00415b00
add esp, 4
cmp dword [eax + 0x14], 0x10
mov ebx, dword [eax + 0x10]
jb 0x41745d
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
mov edx, esi
mov edi, dword [esi + 0x10]
jb 0x41746a
mov edx, dword [esi]
cmp ebx, edi
mov esi, edi
cmovb esi, ebx
sub esi, 4
jb 0x417487
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x41748c
add edx, 4
add eax, 4
sub esi, 4
jae 0x417476
cmp esi, 0xfffffffc
je 0x4174c0
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x4174b9
cmp esi, 0xfffffffd
je 0x4174c0
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x4174b9
cmp esi, 0xfffffffe
je 0x4174c0
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x4174b9
cmp esi, 0xffffffff
je 0x4174c0
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x4174c0
sbb esi, esi
or esi, 1
jmp 0x4174c2
xor esi, esi
test esi, esi
jne 0x4174d3
cmp ebx, edi
jbe 0x4174cf
or esi, 0xffffffff
jmp 0x4174d3
sbb esi, esi
neg esi
mov ecx, dword [ebp - 8]
cmp ecx, 0x10
jb 0x417503
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4174f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417552
push ecx
push edx
call fcn.00561389
add esp, 8
test esi, esi
je 0x417529
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x41752d
mov esi, dword [ebp - 0x254]
jmp 0x417440
mov bl, 1
jmp 0x417533
mov bl, byte [ebp - 0x249]
pop edi
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00560f1e
mov esp, ebp
pop ebp
ret
call fcn.00567a6f
int3
Function at 0x417560
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x5fcff4]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
lea eax, [esp + 4]
mov esi, ecx
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x4175b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LookupPrivilegeValue_error:__u_n
call fcn.00417ca0
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00560f1e
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push 0
push 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
push esi
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x417611
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.AdjustTokenPrivileges_error:__u_n
call fcn.00417ca0
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00560f1e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
jne 0x41763d
push str.The_token_does_not_have_the_specified_privilege.__n
call fcn.00417ca0
add esp, 4
xor eax, eax
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00560f1e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
mov eax, 1
pop esi
xor ecx, esp
call fcn.00560f1e
mov esp, ebp
pop ebp
ret
Function at 0x41aac5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x41ab04
call fcn.00437b2f
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41ab04
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41ab0c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.004253e5
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x41b53b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x41b5c7
cmp dword [esi + 0x20], 0
je 0x41b5c7
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41b5c7
cmp dword [ebp + 8], 0
je 0x41b5c7
xor edi, edi
mov ebx, edi
call fcn.00437b2f
push 0x5a27a0
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x41b5ab
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41b5c7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0043a487
mov edi, eax
add esp, 0xc
test edi, edi
je 0x41b5c3
mov ecx, esi
call fcn.0041b2d9
mov eax, edi
jmp 0x41b5c9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4204e7
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5911a0
call fcn.00561772
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x42050d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x420567
lea ecx, [ebp - 0x10]
call fcn.00407520
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x5a0a7c]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00570b01
push eax
call fcn.00407650
add esp, 0x14
test esi, esi
je 0x42055a
push esi
call fcn.0056ed6f
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00407e10
mov eax, ebx
call fcn.00561740
ret 8
Function at 0x421503
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x84], 0
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x88]
je 0x42154b
call fcn.00437b2f
push 5
push dword [ebx + 0x84]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42154b
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x421558
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x421594
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x421577
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x421580
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x421592
test di, di
jne 0x421592
test dx, dx
je 0x421594
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4215fd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.00437b2f
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42163d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42163d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00421645
jmp 0x42163f
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x421935
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x5911ef
call fcn.005617db
mov edi, ecx
mov dword [ebp - 0x24], edi
mov ebx, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
mov dword [ebp - 0x18], ebx
call fcn.00437b2f
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x421994
call fcn.00437b2f
push 5
push dword [edi + 0x84]
mov ebx, dword [eax + 0xc]
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4219a8
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x4219a4
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x4219b0
or eax, 0xffffffff
jmp 0x421b02
mov ecx, edi
call fcn.00421f40
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.00419715
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x421a3c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x421a3c
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x421a3c
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.00417df3
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x421a39
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x5a0a7c]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x421a39
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00420627
test eax, eax
je 0x421a39
push 0
mov ecx, esi
call fcn.0041ff47
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.00419398
push ebx
call fcn.0041ab32
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.004218d8
test eax, eax
jne 0x421a85
cmp dword [edi + 0x9c], eax
jne 0x421a85
call fcn.00437b2f
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.0041ab32
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.004218d8
and dword [edi + 0x9c], 0
jmp 0x421ab0
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x421ac4
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.0041ff47
test esi, esi
je 0x421ad1
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x421ae7
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x421ae7
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x5a0a7c]
mov ecx, edi
call esi
mov ecx, edi
call fcn.00421ef7
mov eax, dword [edi + 0x68]
call fcn.00561740
ret
Function at 0x4281ee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x428233
call fcn.00437b2f
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x428230
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42827a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x428256
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5a0a7c]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x428277
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x5a0a7c]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc