joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4420d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push esi
push str.CreateFolder_:_CreateFolder_function_called_with__S_n
call fcn.0043d390
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.00411f90
mov esi, dword [ebp - 4]
add esp, 0x10
cmp esi, ebx
jne 0x442117
push str.CreateFolder_:_The_directory_to_create_is_NULL_.__n
call fcn.0043d500
add esp, 4
lea esi, [ebx + 0xd]
jmp 0x44223b
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x442120
sub eax, edx
je 0x442155
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x442130
sub eax, edx
cmp eax, 4
jae 0x442155
push str.CreateFolder_:_The_Drive_letter_Given.hence_it_cannot_be_created__n
call fcn.0043d7e0
add esp, 4
mov esi, 0xb7
jmp 0x44223b
push edi
push esi
call fcn.00442050
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.0043e5d0
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4421f7
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x442176
sub eax, edx
cmp eax, 3
jbe 0x44219a
mov edx, dword [ebp - 4]
mov ecx, edi
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x442190
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4421a0
sub eax, edx
je 0x4421be
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4421b0
sub eax, edx
cmp eax, 4
jb 0x4421e3
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4421c3
sub eax, edx
cmp eax, 4
jne 0x4421f7
cmp byte [edi + 1], 0x3a
jne 0x4421f7
mov al, 0x5c
cmp byte [edi + 2], al
jne 0x4421f7
cmp byte [edi + 3], al
jne 0x4421f7
push str.CreateFolder_:_The_Drive_letter_Given.hence_it_cannot_be_created__n
call fcn.0043d7e0
add esp, 4
mov esi, 0xb7
jmp 0x44222d
mov edx, dword [ebp - 4]
push edx
push str.CreateFolder_:_The_Directory_to_create_is__s__n
call fcn.0043d7e0
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push ecx
call fcn.00411ff0
mov edx, dword [ebp - 8]
add esp, 0x10
push ebx
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
cmp esi, 0xb7
jne 0x44222d
xor esi, esi
cmp edi, ebx
je 0x44223a
push edi
call fcn.0057f05b
add esp, 4
pop edi
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x44224e
push eax
call fcn.0057f05b
add esp, 4
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x442261
push eax
call fcn.0057f05b
add esp, 4
mov dword [ebp - 8], ebx
push esi
push str.CreateFolder_function_returns_Error_code__d__n
call fcn.0043d390
add esp, 8
cmp esi, ebx
je 0x44227c
push esi
call fcn.0043fb10
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47a360
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x62c140]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x220]
mov dword [ebp - 4], eax
push 0x626374
lea ecx, [ebp - 0x10]
push ecx
call fcn.00440b70
add esp, 8
movzx edx, al
cmp edx, 1
je 0x47a3a3
xor al, al
jmp 0x47a4a9
push 0x626384
lea eax, [ebp - 0xc]
push eax
call fcn.00440b70
add esp, 8
movzx ecx, al
cmp ecx, 1
je 0x47a3c3
xor al, al
jmp 0x47a4a9
mov edx, dword [ebp + 8]
push edx
push 0x626390
mov eax, dword [ebp - 4]
push eax
call fcn.0057f0e8
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00453e90
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00456890
add esp, 4
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.00457da0
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00456dc0
add esp, 4
cmp dword [ebp - 8], 0
je 0x47a4a7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00453e90
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00456890
add esp, 4
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call fcn.0047a4c0
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00456dc0
add esp, 4
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00478030
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
Function at 0x47a4c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x62c140]
xor eax, ebp
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x228]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
push str.SELECT__FROM_BooleanExp_WHERE_B_ID___d
mov edx, dword [ebp - 4]
push edx
call fcn.0057f0e8
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00457da0
add esp, 8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 4], 0
je 0x47a5fa
mov eax, dword [ebp - 0x18]
push eax
call fcn.004543c0
add esp, 4
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 8]
push edx
push str.LEXPRESSION
call fcn.00454460
add esp, 0xc
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0047a4c0
add esp, 0xc
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 8]
push edx
push str.REXPRESSION
call fcn.00454460
add esp, 0xc
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0047a4c0
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 8]
push edx
push 0x62640c
call fcn.00454460
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x626418
mov eax, dword [ebp - 0xc]
push eax
call fcn.00586760
add esp, 8
test eax, eax
jne 0x47a5d9
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x230]
push eax
call fcn.00478040
add esp, 0xc
mov dword [ebp - 0x14], eax
jmp 0x47a5f3
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x230]
push eax
call fcn.004780d0
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x47a624
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0047ab80
add esp, 8
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x22c]
jmp 0x47a624
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
Function at 0x47a7b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x62c140]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0x218]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
push str.SELECT_B_ID_FROM_BooleanExp_WHERE_B_ID___d
mov edx, dword [ebp - 4]
push edx
call fcn.0057f0e8
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00457da0
add esp, 8
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
je 0x47a93a
mov eax, dword [ebp + 8]
push eax
push str.SELECT_LEXPRESSION_FROM_BooleanExp_WHERE_B_ID___d
mov ecx, dword [ebp - 4]
push ecx
call fcn.0057f0e8
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00457da0
add esp, 8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 4], 0
je 0x47a878
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax]
cmp dword [ecx + 4], 0
je 0x47a878
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x21c]
push eax
call fcn.0047a7b0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str.SELECT_OPERATOR_FROM_BooleanExp_WHERE_B_ID___d
mov edx, dword [ebp - 4]
push edx
call fcn.0057f0e8
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00457da0
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 4], 0
je 0x47a8c5
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
cmp dword [edx + 4], 0
je 0x47a8c5
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00472cb0
add esp, 8
mov eax, dword [ebp + 8]
push eax
push str.SELECT_REXPRESSION_FROM_BooleanExp_WHERE_B_ID___d
mov ecx, dword [ebp - 4]
push ecx
call fcn.0057f0e8
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00457da0
add esp, 8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 4], 0
je 0x47a938
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax]
cmp dword [ecx + 4], 0
je 0x47a938
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0047a7b0
add esp, 0xc
jmp 0x47a94a
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0047a960
add esp, 8
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
Function at 0x47ab80
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x62c140]
xor eax, ebp
mov dword [ebp - 0x34], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x23c], 0
lea eax, [ebp - 0x238]
mov dword [ebp - 8], eax
push str.RelationalExp
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00440b70
add esp, 8
movzx edx, al
cmp edx, 1
je 0x47abf4
xor eax, eax
jmp 0x47ad54
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00453e90
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00456890
add esp, 4
mov dword [ebp - 0x240], eax
mov edx, dword [ebp + 8]
push edx
push str.SELECT__FROM_RelationalExp_WHERE_R_ID___d
mov eax, dword [ebp - 8]
push eax
call fcn.0057f0e8
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call fcn.00457da0
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x30]
push eax
call fcn.00456dc0
add esp, 4
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 4], 0
je 0x47ad45
mov edx, dword [ebp - 0x14]
push edx
call fcn.004543c0
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
push str.LIDENTIFIER
call fcn.00454460
add esp, 0xc
mov dword [ebp - 0x23c], eax
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0xf
push 0
push 0
mov eax, dword [ebp - 0x23c]
push eax
push 0
push 0
call fcn.00477d50
add esp, 0x20
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
push str.RIDENTIFIER
call fcn.00454460
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call fcn.005846b0
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
push str.OPERATOR
call fcn.00454460
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0
jmp 0x47acf3
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xa
jg 0x47ad1e
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx*4 + 0x625af4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00586760
add esp, 8
test eax, eax
jne 0x47ad1c
mov cl, byte [ebp - 0x18]
mov byte [ebp - 0x1d], cl
jmp 0x47ad1e
jmp 0x47acea
mov edx, dword [ebp + 0xc]
push edx
movzx eax, byte [ebp - 0x1d]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.00477f90
add esp, 0x14
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
jmp 0x47ad54
push str._nInvalid_ID_n
call fcn.0043d390
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.0057ee81
mov esp, ebp
pop ebp
ret
Function at 0x481c68
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x481cb0
call fcn.0048c99d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x481cb0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x481cf3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x481cdc
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x481cdc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x481cf0
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x482ffd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0048c99d
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x483036
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00482c3a
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x483094
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4830b8
cmp dword [edi + 0x74], 0
jne 0x4830b8
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0048c99d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00483055
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x48b513
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x48b55a
call fcn.0048c99d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x48b55a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x48b576
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0048b013
mov esi, eax
test edi, edi
je 0x48b574
test ebx, ebx
je 0x48b574
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x48bd50
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5aaee3
call fcn.0058a8bc
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x48bd75
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x48bdc7
call fcn.00490441
push eax
lea ecx, [ebp - 0x10]
call fcn.00410e70
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00581e24
push eax
call fcn.0048064f
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004017f0
mov eax, esi
call fcn.0058a994
ret 8

Function at 0x50c9ee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x50ca08
call fcn.0048c99d
mov esi, dword [eax + 0xc]
push dword [0x631b8c]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x50ca26
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x50ca1e
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x50ca53
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x50ca20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0050c91c
mov esi, eax
jmp 0x50ca45

Function at 0x55c221
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004898fc
call fcn.004804bf
cmp eax, esi
pop esi
jne 0x55c23d
mov ecx, 0x62fa70
jmp fcn.00494041
ret
Function at 0x55fb2f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x55fb47
mov edi, dword [esi + 0xc]
jmp 0x55fb87
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x55fb60
call fcn.0048d1d6
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x55fb75
call fcn.0048d1d6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x55fb87
call fcn.0048d1d6
call fcn.0048c99d
cmp dword [eax + 0x3c], 0
je 0x55fb9c
push edi
mov ecx, ebx
call fcn.0055e9eb
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0055fa49
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x55fbba
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x55fbc6
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x57ee81
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x62c140]
jne 0x57ee8b
repz ret
jmp fcn.0058d433
Function at 0x59e328
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x62c140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0058ce5b
and dword [ebp - 0x14], 0
cmp dword [0x634224], 0
mov dword [ebp - 0x18], eax
jne 0x59e3db
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x59e483
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5e5468
push ebx
call edi
test eax, eax
je 0x59e483
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5e5458
push ebx
mov dword [0x634224], eax
call edi
push eax
call esi
push 0x5e5444
push ebx
mov dword [0x634228], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x63422c], eax
call edi
push eax
call esi
mov dword [0x634234], eax
test eax, eax
je 0x59e3db
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x634230], eax
mov eax, dword [0x634230]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x59e434
cmp dword [0x634234], ecx
je 0x59e434
push eax
call esi
push dword [0x634234]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x59e434
test ebx, ebx
je 0x59e434
call edi
test eax, eax
je 0x59e42b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x59e42b
test byte [ebp - 8], 1
jne 0x59e434
or dword [ebp + 0x10], 0x200000
jmp 0x59e467
mov eax, dword [0x634228]
cmp eax, dword [ebp - 0x18]
je 0x59e467
push eax
call esi
test eax, eax
je 0x59e467
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x59e467
mov eax, dword [0x63422c]
cmp eax, dword [ebp - 0x18]
je 0x59e467
push eax
call esi
test eax, eax
je 0x59e467
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x634224]
call esi
test eax, eax
je 0x59e483
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x59e485
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ee81
leave
ret