joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x51f620]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 7
xor eax, eax
mov esi, ecx
call fcn.00448670
xor eax, eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
lea eax, [ebp - 0x14]
lea edx, [esi + 8]
push eax
mov ecx, 0x10
mov byte [ebp - 0x14], 0
call fcn.00446a20
push 0x10
lea edi, [ebp - 0x14]
call fcn.00449e10
lea ecx, [ebp - 0x120]
push ecx
lea eax, [esi + 8]
push 0x80
push eax
mov byte [ebp - 0x25], 0
call fcn.004dd540
add esp, 0x18
test eax, eax
jge 0x448799
mov byte [ebp - 0x25], 1
push 0
mov ecx, 7
mov eax, esi
call fcn.004486c0
add esp, 4
cmp byte [ebp - 0x25], 0
je 0x4487c3
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d9d8
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
mov esi, edi
and esi, 0xf
jle 0x4487e6
mov edx, ebx
sub edx, esi
lea eax, [ebp - 0x24]
lea edx, [edx + edi - 0x10]
push eax
mov ecx, 0x10
call fcn.00446a20
add esp, 4
push 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x120]
push edx
mov eax, edi
sub eax, esi
push eax
push ebx
push ebx
call fcn.004dcc30
add esp, 0x18
xor eax, eax
test esi, esi
jle 0x44881c
sub ebx, esi
add ebx, edi
lea esp, [esp]
mov cl, byte [ebp + eax - 0x24]
xor byte [ebx], cl
inc eax
inc ebx
cmp eax, esi
jl 0x448810
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0046d9d8
mov esp, ebp
pop ebp
ret
Function at 0x449e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
call fcn.00471a91
mov ebx, eax
shl ebx, 0x10
call fcn.00471a91
or eax, ebx
ror edi, 0xd
mov dword [ebp + 8], edi
mov dword [esi + 8], eax
xor edi, edi
call fcn.00471a91
mov ebx, eax
shl ebx, 0x10
call fcn.00471a91
mov ecx, dword [esi + 4]
or eax, ebx
mov dword [edi + ecx], eax
call fcn.00471a91
mov ecx, dword [esi + 4]
shl eax, 4
cdq
and edx, 0x7fff
add eax, edx
mov edx, dword [esi + 8]
xor edx, dword [ebp + 8]
sar eax, 0xf
mov dword [esi], eax
mov dword [ecx + eax*4], edx
xor dword [esi], 0xd0036751
add edi, 4
cmp edi, 0x40
jl 0x449e94
pop edi
mov eax, esi
pop ebx
pop ebp
ret

Function at 0x449ef0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push 0x40
call fcn.00450212
add esp, 4
mov dword [esi + 4], eax
call fcn.00471a91
mov edi, eax
shl edi, 0x10
call fcn.00471a91
or eax, edi
mov dword [esi + 8], eax
xor edi, edi
call fcn.00471a91
mov ebx, eax
shl ebx, 0x10
call fcn.00471a91
mov ecx, dword [esi + 4]
or eax, ebx
mov dword [edi + ecx], eax
call fcn.00471a91
mov ecx, dword [esi + 8]
shl eax, 4
cdq
and edx, 0x7fff
add eax, edx
mov edx, dword [esi + 4]
sar eax, 0xf
mov dword [esi], eax
mov dword [edx + eax*4], ecx
xor dword [esi], 0xd0036751
add edi, 4
cmp edi, 0x40
jl 0x449f15
pop edi
mov eax, esi
pop ebx
ret

Function at 0x449f60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
xor ecx, ecx
test edx, edx
jbe 0x449f8f
push ebx
push edi
jmp 0x449f70
movzx edi, byte [ecx + esi]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x521a18]
inc ecx
cmp ecx, edx
jb 0x449f70
pop edi
pop ebx
not eax
ret
Function at 0x44d1b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x44d1be
xor eax, eax
pop ebp
ret
push esi
not eax
cmp edx, 8
jb 0x44d294
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x510e50]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x510e50]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x510e50]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x510e50]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x510e50]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x510e50]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x510e50]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x510e50]
inc ecx
sub edx, 8
sub esi, 1
jne 0x44d1d0
pop edi
test edx, edx
je 0x44d2bb
jmp 0x44d2a0
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x510e50]
inc ecx
sub edx, 1
jne 0x44d2a0
not eax
pop esi
pop ebp
ret

Function at 0x44d2c0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x510e50]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x510e50]
mov dword [edx + 8], ecx
ret

Function at 0x44d310
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x510e50]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x510e50]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0x44da80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ebx
imul esi, dword [ebp + 0x10]
cmp byte [edi], 0
je 0x44dabb
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44dab0
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
pop esi
div ebx
pop ebx
pop ebp
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x44dacc
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.00475820
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
pop ebp
ret
Function at 0x44dc80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [esi], 0
je 0x44dcc7
cmp byte [esi + 1], 0
je 0x44dccf
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebx
je 0x44dce2
cmp byte [esi + 1], 0
je 0x44dcd6
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, eax
sub ebx, dword [esi + 0xc]
mov dword [ebp - 4], ebx
jmp 0x44dcea
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
jmp 0x44dca1
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
jmp 0x44dcea
mov eax, dword [esi + 0x1c]
mov dword [ebp - 4], eax
mov ebx, eax
push edi
mov edi, 0xffff
mov dword [ebp - 8], edi
cmp ebx, edi
jae 0x44dcfc
mov dword [ebp - 8], ebx
mov edi, ebx
push 0x404
call fcn.0046de61
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x44dd19
pop edi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x14], 0xffffffff
cmp edi, eax
jbe 0x44de2f
jmp 0x44dd39
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
add eax, 0x400
mov dword [ebp - 0xc], edi
cmp eax, edi
ja 0x44dd48
mov dword [ebp - 0xc], eax
mov eax, ebx
sub eax, dword [ebp - 0xc]
sub ebx, eax
mov dword [ebp - 0x1c], eax
cmp ebx, 0x404
jbe 0x44dd5f
mov ebx, 0x404
cmp byte [esi], 0
je 0x44dd84
cmp byte [esi + 1], 0
je 0x44de2f
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x44dd87
mov dword [esi + 0x1c], eax
cmp byte [esi], 0
mov edi, ebx
je 0x44ddb0
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44ddab
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x44ddd9
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x44ddc1
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x14]
mov edx, dword [ebp - 0x10]
push edi
add ecx, eax
push ecx
push edx
call fcn.00475820
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div ebx
cmp eax, 1
jne 0x44de2f
lea eax, [ebx - 3]
test eax, eax
jl 0x44de1d
lea esp, [esp]
mov ecx, dword [ebp - 0x10]
dec eax
cmp byte [eax + ecx], 0x50
jne 0x44de0f
cmp byte [eax + ecx + 1], 0x4b
jne 0x44de0f
cmp byte [eax + ecx + 2], 5
jne 0x44de0f
cmp byte [eax + ecx + 3], 6
je 0x44de15
test eax, eax
jge 0x44ddf0
jmp 0x44de1d
mov ecx, dword [ebp - 0x1c]
add eax, ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x44de2f
mov edx, dword [ebp - 8]
cmp dword [ebp - 0xc], edx
jb 0x44dd30
mov eax, dword [ebp - 0x10]
push eax
call fcn.0046dbc6
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ea10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
push edi
jne 0x44eaae
cmp dword [esi + 4], 0xffffffff
jne 0x44eaae
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44ea40
sub eax, edx
sar eax, 1
movzx eax, word [esi + eax*2 + 0x242]
cmp ax, 0x5c
je 0x44ea79
cmp ax, 0x2f
je 0x44ea79
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44ea66
mov eax, dword [0x513610]
mov dword [edi], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
push ecx
call fcn.0044d9e0
add esp, 4
test eax, eax
jne 0x44ea94
mov eax, dword [ebp + 8]
pop edi
pop ebp
ret 4
call fcn.0044de50
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
pop ebp
ret 4
mov eax, 0x1000000
pop edi
pop ebp
ret 4

Function at 0x44f150
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x51f620]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x44f184
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44f184
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x44f26e
mov ecx, ebx
mov edx, ebx
movzx eax, ax
cmp ax, 0x2f
je 0x44f1a3
cmp ax, 0x5c
jne 0x44f1a5
mov ecx, edx
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x44f197
push edi
cmp ecx, ebx
je 0x44f1e6
sub ecx, ebx
sar ecx, 1
add ecx, ecx
mov edi, ecx
push edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00475820
lea edx, [ebp - 0x414]
push edx
xor ecx, ecx
push esi
mov word [ebp + edi - 0x414], cx
call fcn.0044f150
add esp, 0x14
xor eax, eax
mov word [ebp - 0x20c], ax
test esi, esi
je 0x44f20f
lea edx, [ebp - 0x20c]
mov eax, esi
sub edx, esi
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x44f200
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44f213
lea edi, [ebp - 0x20c]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x44f230
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
cmp eax, 0xffffffff
jne 0x44f26e
push 0
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d9d8
mov esp, ebp
pop ebp
ret
Function at 0x44fed0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
je 0x44ffbb
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44ff07
cmp dword [esi + 0x40], edi
jae 0x44ff07
push eax
call fcn.0045024c
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x44ff1f
lea eax, [edi + edi]
push eax
call fcn.00450241
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ecx
call fcn.00475820
add esp, 0xc
xor ebx, ebx
test edi, edi
jbe 0x44ffb8
mov edx, dword [esi + 0x3c]
mov cl, byte [ebx + edx]
mov edi, dword [esi + 0x30]
mov byte [ebp + 8], cl
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x50f670]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x38]
shr edi, 8
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x30], ecx
movzx ecx, cl
add ecx, dword [esi + 0x34]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x34], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x50f670]
and edx, 0xfffd
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, byte [ebp + 8]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, dword [ebp + 0xc]
jb 0x44ff37
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x44fffa
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x44ffdf
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push eax
add ecx, edx
push ecx
call fcn.00475820
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x45001c
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x458007
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 0x45804f
call fcn.0045782b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45804f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x458092
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 0x45807b
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 0x45807b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x45808f
mov ecx, dword [esi + 0x4c]
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 0x45f55a
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 0x45f5a1
call fcn.0045782b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45f5a1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x45f5bd
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0045f0d2
mov esi, eax
test edi, edi
je 0x45f5bb
test ebx, ebx
je 0x45f5bb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4603ad
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4e3340
call fcn.004733ab
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4603d2
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x460418
lea ecx, [ebp - 0x10]
call fcn.00409220
mov ecx, dword [esi + 0x50]
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.004503aa
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004071d0
mov eax, esi
call fcn.00473483
ret 8
Function at 0x462c1b
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 + 0x58], ebx
test ebx, 0xffff0000
jne 0x462c3f
cmp dword [edi + 0x54], 0
jne 0x462c3f
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0045782b
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.00462bdc
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 0x46d9d8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x51f620]
jne 0x46d9e2
repz ret
jmp fcn.00475712

Function at 0x471b46
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x471b77
call fcn.0047354e
mov dword [eax], esi
call fcn.0047353b
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0046dddc
add esp, 0x14
push 0x16
pop eax
jmp 0x471bcc
test dword [ebp + 0xc], 0xfffffff9
jne 0x471b53
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x471ba4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00473561
pop ecx
call fcn.0047353b
mov eax, dword [eax]
jmp 0x471bcc
test al, 0x10
jne 0x471bca
test al, 1
je 0x471bca
test byte [ebp + 0xc], 2
je 0x471bca
call fcn.0047354e
mov dword [eax], 5
call fcn.0047353b
mov dword [eax], 0xd
jmp 0x471b9b
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4810bc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00475076
and dword [ebp - 4], 0
cmp dword [0x527590], 0
mov ebx, eax
jne 0x48116d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x48121e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4ebcc0
push edi
call esi
test eax, eax
je 0x48121e
push eax
call fcn.00475004
mov dword [esp], 0x4ebcb0
push edi
mov dword [0x527590], eax
call esi
push eax
call fcn.00475004
mov dword [esp], 0x4ebc9c
push edi
mov dword [0x527594], eax
call esi
push eax
call fcn.00475004
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x527598], eax
call esi
push eax
call fcn.00475004
pop ecx
mov dword [0x5275a0], eax
test eax, eax
je 0x48116d
push 0x4ebc68
push edi
call esi
push eax
call fcn.00475004
pop ecx
mov dword [0x52759c], eax
mov eax, dword [0x52759c]
cmp eax, ebx
je 0x4811c5
cmp dword [0x5275a0], ebx
je 0x4811c5
push eax
call fcn.0047507f
push dword [0x5275a0]
mov esi, eax
call fcn.0047507f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4811c5
test edi, edi
je 0x4811c5
call esi
test eax, eax
je 0x4811bc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4811bc
test byte [ebp - 0xc], 1
jne 0x4811c5
or dword [ebp + 0x10], 0x200000
jmp 0x4811fe
mov eax, dword [0x527594]
cmp eax, ebx
je 0x4811fe
push eax
call fcn.0047507f
pop ecx
test eax, eax
je 0x4811fe
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4811fe
mov eax, dword [0x527598]
cmp eax, ebx
je 0x4811fe
push eax
call fcn.0047507f
pop ecx
test eax, eax
je 0x4811fe
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x527590]
call fcn.0047507f
pop ecx
test eax, eax
je 0x48121e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x481220
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x486200
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x527618], 0
je 0x486216
xor eax, eax
jmp 0x486432
cmp dword [0x527614], 0
je 0x486229
mov eax, dword [0x527614]
jmp 0x486432
push 0x24
push 0
push 0x5275f0
call fcn.004737c0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x5275f0], eax
push 0
push 0
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x5275f4], eax
cmp dword [0x5275f4], 0
jne 0x4862ce
mov dword [0x527618], 1
cmp dword [0x5275f4], 0
je 0x486281
mov eax, dword [0x5275f4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x5275f8], 0
mov dword [0x5275fc], 0
mov dword [0x527600], 0
mov dword [0x527604], 0
mov dword [0x527608], 0
mov dword [0x52760c], 0
mov dword [0x527610], 0
xor eax, eax
jmp 0x486432
push str.ImagehlpApiVersionEx
mov ecx, dword [0x5275f4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5275f8], eax
push str.SymInitialize
mov edx, dword [0x5275f4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5275fc], eax
push str.SymSetOptions
mov eax, dword [0x5275f4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x527600], eax
push str.SymGetOptions
mov ecx, dword [0x5275f4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x527604], eax
push str.SymLoadModule64
mov edx, dword [0x5275f4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x527608], eax
push str.SymGetModuleInfo64
mov eax, dword [0x5275f4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x52760c], eax
push str.SymFromName
mov ecx, dword [0x5275f4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x527610], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call fcn.004737c0
add esp, 0xc
mov eax, 0xb
mov word [ebp - 8], ax
cmp dword [0x5275f8], 0
je 0x4863b3
cmp dword [0x5275fc], 0
je 0x4863b3
cmp dword [0x527608], 0
je 0x4863b3
cmp dword [0x52760c], 0
je 0x4863b3
cmp dword [0x527610], 0
jne 0x4863b8
jmp 0x486262
lea ecx, [ebp - 8]
push ecx
call dword [0x5275f8]
movzx edx, word [ebp - 8]
cmp edx, 0xb
jge 0x4863d0
jmp 0x486262
push 0
push 0
mov eax, dword [0x5275f0]
push eax
call dword [0x5275fc]
test eax, eax
jne 0x4863e9
jmp 0x486262
cmp dword [0x527604], 0
je 0x486423
cmp dword [0x527600], 0
je 0x486423
call dword [0x527604]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0xfffffff8
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
or edx, 0x2704
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call dword [0x527600]
mov dword [0x527614], 0x5275f0
mov eax, dword [0x527614]
mov esp, ebp
pop ebp
ret