joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403030
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x421f78
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x42c2c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
cmp dword [esp + 0x20], 3
jl 0x4030d2
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 4]
push eax
call fcn.0040a670
mov ecx, dword [edi + 8]
push ecx
mov esi, eax
call fcn.0040a670
mov edx, dword [0x42d80c]
mov ebx, eax
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x42d80c
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
push esi
mov dword [esp + 0x1c], 0
call fcn.004029a0
add esp, 4
test eax, eax
je 0x4030ea
push 0x429228
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4030d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
push 0x429238
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp ebx, 1
sete cl
movzx edx, cl
push edx
mov ecx, esi
call fcn.00402e10
mov esi, eax
lea eax, [edi - 0x10]
add esp, 4
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40312f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x405ae0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42156b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42c2c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00409f5a
push 4
mov dword [esp + 0x20], 0
call fcn.0040a47d
mov edi, eax
add esp, 4
test edi, edi
je 0x405b5e
call fcn.0040981f
mov dword [edi], eax
call fcn.0040964d
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00409571
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x405b53
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00409599
jmp 0x405b60
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x4077c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x421a58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x42c2c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.004047c0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x407816
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea ecx, [esp + 0x10]
call fcn.004081e0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.004047c0
cmp dword [esp + 0x24], 8
jb 0x40785f
mov edx, dword [esp + 0x10]
push edx
call fcn.0040a02d
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x408a20
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x421bf9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x42c2c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0x1c], 0
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
call fcn.00408fc0
mov dword [esp + 0x1c], 0
cmp dword [esi + 0x18], 8
mov dword [esp + 0xc], 1
lea edi, [esi + 4]
jb 0x408a7d
mov eax, dword [edi]
jmp 0x408a7f
mov eax, edi
push 0
push eax
call fcn.0040a81c
add esp, 8
test eax, eax
je 0x408a9a
push 2
mov eax, 0x4293c4
call fcn.00404870
push 5
mov eax, 0x4293cc
mov ecx, esi
call fcn.004081e0
cmp dword [esi + 0x18], 8
jb 0x408ab2
mov eax, dword [edi]
jmp 0x408ab4
mov eax, edi
push 0
push eax
call fcn.0040a81c
add esp, 8
test eax, eax
je 0x408ad4
cmp dword [esi + 0x18], 8
jb 0x408acb
mov edi, dword [edi]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x408ec0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x408ed7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x408f08
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x408f04
cmp esi, eax
jae 0x408f08
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x408ef4
cmp esi, eax
jb 0x408f0e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x408fc0
Capabilities:
Get common file path
Get startup folder

Disassembly:
sub esp, 0x210
mov eax, dword [0x42c2c0]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x12]
push ecx
mov dword [esp + 0x10], 0
mov word [esp + 0x14], ax
call fcn.0040b360
add esp, 0xc
push 1
push 5
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409025
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc]
call fcn.00404870
mov ecx, dword [esp + 0x210]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040a038
add esp, 0x210
ret

Function at 0x40a038
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c2c0]
jne 0x40a042
repz ret
jmp fcn.0040eabe

Function at 0x40a793
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 0x40a7c4
call fcn.0040db09
mov dword [eax], esi
call fcn.0040daf6
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0040a624
add esp, 0x14
push 0x16
pop eax
jmp 0x40a819
test dword [ebp + 0xc], 0xfffffff9
jne 0x40a7a0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40a7f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040db1c
pop ecx
call fcn.0040daf6
mov eax, dword [eax]
jmp 0x40a819
test al, 0x10
jne 0x40a817
test al, 1
je 0x40a817
test byte [ebp + 0xc], 2
je 0x40a817
call fcn.0040db09
mov dword [eax], 5
call fcn.0040daf6
mov dword [eax], 0xd
jmp 0x40a7e8
xor eax, eax
pop esi
pop ebp
ret
Function at 0x41abd7
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.0040feca
and dword [ebp - 4], 0
cmp dword [0x42e63c], 0
mov ebx, eax
jne 0x41ac88
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41ad39
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41ad39
push eax
call fcn.0040fe58
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42e63c], eax
call esi
push eax
call fcn.0040fe58
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42e640], eax
call esi
push eax
call fcn.0040fe58
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42e644], eax
call esi
push eax
call fcn.0040fe58
pop ecx
mov dword [0x42e64c], eax
test eax, eax
je 0x41ac88
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040fe58
pop ecx
mov dword [0x42e648], eax
mov eax, dword [0x42e648]
cmp eax, ebx
je 0x41ace0
cmp dword [0x42e64c], ebx
je 0x41ace0
push eax
call fcn.0040fed3
push dword [0x42e64c]
mov esi, eax
call fcn.0040fed3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41ace0
test edi, edi
je 0x41ace0
call esi
test eax, eax
je 0x41acd7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41acd7
test byte [ebp - 0xc], 1
jne 0x41ace0
or dword [ebp + 0x10], 0x200000
jmp 0x41ad19
mov eax, dword [0x42e640]
cmp eax, ebx
je 0x41ad19
push eax
call fcn.0040fed3
pop ecx
test eax, eax
je 0x41ad19
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41ad19
mov eax, dword [0x42e644]
cmp eax, ebx
je 0x41ad19
push eax
call fcn.0040fed3
pop ecx
test eax, eax
je 0x41ad19
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42e63c]
call fcn.0040fed3
pop ecx
test eax, eax
je 0x41ad39
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41ad3b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41bbf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x2c]
push ebp
push esi
mov ebp, dword [edi + 0x3c]
sub ebp, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub ebp, eax
cmp eax, edx
jb 0x41bc6e
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.0040d670
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x41bc41
sub eax, ebx
jmp 0x41bc43
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x41bc32
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x41bc62
sub eax, ebx
jmp 0x41bc64
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x41bc53
add ebp, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x41bcc9
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, ebp
add edx, dword [edi + 0x38]
push edx
call fcn.0041b980
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
add esp, 4
cmp edx, 3
jb 0x41bcb5
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x41bcc9
mov edx, dword [edi]
cmp dword [edx + 4], 0
jne 0x41bbf6
pop esi
pop ebp
pop ebx
ret
Function at 0x41cfe0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x853980]
xor edx, edx
cmp eax, edx
jne 0x41d006
xor eax, eax
mov byte [eax + 0x853880], al
inc eax
cmp eax, 0x100
jl 0x41cfee
mov dword [0x853980], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x853880
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41d097
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41d06a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x41d038
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41d110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x41d163
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41d14a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423ba0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x423d38
cmp ebp, ebx
jle 0x423d38
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x423bfe
dec eax
or eax, 0xfffffff8
inc eax
je 0x423c05
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x423c14
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x423c1b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0045a9e5
add esp, 4
cmp eax, ebx
je 0x423c3c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0045a9e5
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x423d2e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x423d15
mov al, byte [edx]
cmp al, 0xc0
jbe 0x423d01
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x423cf6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x423d04
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x423d04
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x423ca0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x423c91
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x431d40
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x467ef8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x431d79
inc eax
mov dword [esi + 0x10], eax
jmp 0x431e8c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x431d8d
mov eax, 0xffffffc7
jmp 0x431e8e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x431d9e
cmp dword [esi + 8], eax
jne 0x431d8d
cmp dword [esi + 8], eax
jne 0x431db7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x431db7
mov eax, 0xffffffc7
jmp 0x431e8e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x431dcb
push eax
mov ecx, ebx
call fcn.00431570
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00404a80
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x431dfc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00404aa0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00430ce0
test eax, eax
mov dword [esp + 0x38], eax
je 0x431e2f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x8298a8
call fcn.00404c80
mov eax, dword [esp + 0x38]
jmp 0x431e8e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00431ba0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x431e73
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00431bc0
mov esi, eax
test esi, esi
jne 0x431ea3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00431ba0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x431e45
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x8298a8
call fcn.00404c80
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x8298a8
call fcn.00404c80
mov eax, esi
jmp 0x431e8e
Function at 0x43e480
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43e4b3
push esi
call fcn.00441590
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43e4ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43e539
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43e522
mov eax, dword [esi + 8]
test eax, eax
je 0x43e4d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43e51e
cmp eax, 2
je 0x43e522
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43e4ca
cmp eax, 3
je 0x43e4fd
cmp eax, 1
jne 0x43e4ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43e4ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43e4ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043e560
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43e548
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043e560
add esp, 4
pop esi
ret
Function at 0xd82750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0xd82768
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0xd8279a
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0xd82796
cmp esi, eax
jae 0xd8279a
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0xd82788
cmp esi, eax
jb 0xd827a0
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0xd827b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
mov ecx, 0xdc5f74
call fcn.00d9c3b5
mov ebx, eax
mov dword [ebp - 4], 1
test ebx, ebx
je 0xd82864
test esi, esi
jne 0xd82864
mov eax, dword [ebp + 8]
shr eax, 4
inc eax
push esi
movzx ecx, ax
push ecx
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
je 0xd82848
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0xd82842
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0xd82842
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
add eax, esi
and ecx, 0xf
jbe 0xd82831
cmp esi, eax
jae 0xd82835
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0xd82823
cmp esi, eax
jb 0xd82839
xor eax, eax
jmp 0xd82842
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
mov esi, eax
test eax, eax
jne 0xd8286d
mov edi, dword [ebp - 4]
push edi
mov ecx, 0xdc5f74
call fcn.00d9c3b5
mov ebx, eax
inc edi
mov dword [ebp - 4], edi
test ebx, ebx
jne 0xd827d5
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xd82da0
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call edi
cmp eax, 2
jne 0xd82e13
mov eax, dword [0xdc6de4]
cmp dword [eax - 4], 1
jle 0xd82dec
mov eax, dword [eax - 0xc]
push eax
push 0xdc6de4
call fcn.00d92df0
mov eax, dword [0xdc6de4]
mov dword [ebp - 4], eax
call edi
mov ecx, dword [ebp - 4]
push eax
push ebx
push str.IsFileExist_:_The_File_Name__s_is_not_found__d_n
push ecx
call fcn.00d82a40
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
jne 0xd82e5a
mov esi, dword [0xdc6de4]
cmp dword [esi - 4], 1
jle 0xd82e38
mov edx, dword [esi - 0xc]
push edx
push 0xdc6de4
call fcn.00d92df0
mov esi, dword [0xdc6de4]
call edi
push eax
push ebx
push str.IsFileExist_:_Invalid_Handle_returned_for__s____d_n
push esi
call fcn.00d82a40
add esp, 0x10
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov eax, dword [0xdc6de4]
cmp dword [eax - 4], 1
jle 0xd82e83
mov eax, dword [eax - 0xc]
push eax
push 0xdc6de4
call fcn.00d92df0
mov eax, dword [0xdc6de4]
push edi
push ebx
push str.IsFileExist_:_The_File__s_size_is_given_by_:__d_n
push eax
call fcn.00d82a40
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0xd82ed3
mov eax, dword [0xdc6de4]
cmp dword [eax - 4], 1
jle 0xd82ebc
mov ecx, dword [eax - 0xc]
push ecx
push 0xdc6de4
call fcn.00d92df0
mov eax, dword [0xdc6de4]
push ebx
push str.IsFileExist_:_The_required_file___s__size_is_0_bytes._Hence_returning_file_not_found._n
push eax
call fcn.00d82a40
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret