joyce8/EMBER2024-capa huggingface dataset:
Function at 0x79d461
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00793fa2
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00793fa2
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x79d4d8
cmp word [ecx], dx
je 0x79d4d8
mov eax, dword [0x858c64]
push edi
dec eax
push eax
push 0x858b50
call fcn.0079d400
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x79d54b
cmp word [eax], dx
je 0x79d54b
mov eax, dword [edi]
test eax, eax
je 0x79d4fc
cmp word [eax], dx
je 0x79d4fc
lea eax, [ebp - 0x10]
push eax
call fcn.0079cde3
jmp 0x79d505
lea eax, [ebp - 0x10]
push eax
call fcn.0079ce7e
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x79d575
mov eax, dword [0x858b4c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x858840
call fcn.0079d400
add esp, 0xc
test al, al
je 0x79d575
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x79d540
cmp word [eax], di
je 0x79d540
lea eax, [ebp - 0x10]
push eax
call fcn.0079cde3
pop ecx
jmp 0x79d577
lea eax, [ebp - 0x10]
push eax
call fcn.0079ce7e
jmp 0x79d53d
mov eax, dword [edi]
test eax, eax
je 0x79d562
cmp word [eax], dx
je 0x79d562
lea eax, [ebp - 0x10]
push eax
call fcn.0079cd98
pop ecx
jmp 0x79d575
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x79d640
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0079d285
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x79d640
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x79d640
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x79d640
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x79d5cd
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.007936b5
test ebx, ebx
je 0x79d63b
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.007936b5
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x79d640
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x79d640
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00785dd9
add esp, 0x10
xor eax, eax
inc eax
jmp 0x79d642
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0075c173
leave
ret
Function at 0x7a0b00
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x7a0b43
call fcn.0077d33d
mov dword [eax], 0xf
call fcn.0077d350
mov dword [eax], 0xd
call fcn.0077d588
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
leave
ret
test eax, eax
jne 0x7a0b4a
inc eax
jmp 0x7a0b37
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x7a0b35
xor eax, eax
cmp ecx, 1
setne al
jmp 0x7a0b37

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x32b303f3
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..rsrc
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x28b2783c
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401dc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
mov eax, dword [0x97ffc0]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov esi, dword [esp + 0x84]
push edi
mov edi, dword [esp + 0x84]
push 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
call fcn.00461e10
push 0x461dd0
push 0x4613b0
push 0
mov dword [esp + 0x28], eax
call fcn.00462320
mov dword [esp + 0x2c], eax
lea eax, [ebp + 0x18]
push edi
push eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], esi
call fcn.004056d0
push dword [ebp + 0x178]
push str.inputs:__u_n
push edi
call fcn.00401010
push dword [ebp + 0x180]
push str.outputs:__u_n
push edi
call fcn.00401010
push dword [ebp + 0x17c]
push str.uniforms:__u_n
push edi
call fcn.00401010
mov eax, dword [ebp + 0x188]
add esp, 0x3c
test eax, eax
je 0x401e90
push eax
push str.scratch:__u_n
push edi
call fcn.00401010
add esp, 0xc
mov eax, dword [ebp + 0x190]
test eax, eax
je 0x401ea9
push eax
push str.constants:__u_n
push edi
call fcn.00401010
add esp, 0xc
mov edi, 0x12
push ebx
mov ebx, 1
mov dword [esp + 0x10], edi
nop dword [eax + eax]
cmp ebx, 0x8000
je 0x401f99
cmp ebx, 4
je 0x401f1b
cmp ebx, 8
je 0x401f1b
mov esi, dword [ebp + 4]
cmp dword [esi], 0
je 0x401f99
test esi, esi
je 0x401f99
nop word [eax + eax]
mov eax, dword [esi + 0x10]
and eax, ebx
test eax, 0x3ffff
je 0x401f0a
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00406850
add esp, 8
mov esi, dword [esi]
cmp dword [esi], 0
je 0x401f99
test esi, esi
jne 0x401ef0
jmp 0x401f99
xor edi, edi
nop dword [eax]
push 0x40
lea eax, [esp + 0x40]
push 0
push eax
call fcn.004f0580
mov eax, dword [ebp + 4]
add esp, 0xc
cmp dword [eax], 0
je 0x401f6a
test eax, eax
je 0x401f6a
nop dword [eax]
mov ecx, dword [eax + 0x10]
and ecx, ebx
test ecx, 0x3ffff
je 0x401f5f
cmp dword [eax + 0x2c], edi
jne 0x401f5f
mov ecx, dword [eax + 0x14]
shr ecx, 3
and ecx, 3
mov dword [esp + ecx*4 + 0x3c], eax
mov eax, dword [eax]
cmp dword [eax], 0
je 0x401f6a
test eax, eax
jne 0x401f40
xor esi, esi
nop dword [eax]
mov eax, dword [esp + esi*4 + 0x3c]
test eax, eax
je 0x401f86
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.00406850
add esp, 8
inc esi
cmp esi, 0x10
jb 0x401f70
inc edi
cmp edi, 0x80
jb 0x401f20
mov edi, dword [esp + 0x10]
rol ebx, 1
sub edi, 1
mov dword [esp + 0x10], edi
jne 0x401ec0
mov esi, dword [ebp + 0x168]
xor eax, eax
pop ebx
cmp dword [esi], eax
cmove esi, eax
test esi, esi
je 0x401fd9
nop word [eax + eax]
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00403750
mov esi, dword [esi]
add esp, 8
cmp dword [esi], 0
je 0x401fd9
test esi, esi
jne 0x401fc0
push 0
push dword [esp + 0x1c]
call fcn.00461640
push 0
push dword [esp + 0x28]
call fcn.004623b0
mov ecx, dword [esp + 0x88]
add esp, 0x10
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004eee25
add esp, 0x70
ret
Function at 0x41e570
Capabilities:
Hash data using murmur3

Disassembly:
mov ecx, dword [esp + 4]
shr ecx, 0xf
xor ecx, dword [esp + 4]
imul ecx, ecx, 0x85ebca77
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret

Function at 0x41e5a0
Capabilities:
Hash data using murmur3

Disassembly:
mov eax, dword [esp + 0xc]
and eax, 0xf
jmp dword [eax*4 + 0x41e7e8]
Function at 0x422d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x40]
push edi
push ebp
push 0x1b6
push esi
call fcn.0041d8d0
push ebp
push 0x1b7
push esi
mov dword [esp + 0x54], eax
call fcn.0041d8d0
mov edi, dword [esp + 0x64]
mov ebx, eax
push edi
push 0x1b6
push esi
mov dword [esp + 0x68], ebx
call fcn.0041d8d0
push edi
push 0x1b7
push esi
mov dword [esp + 0x40], eax
call fcn.0041d8d0
movzx ecx, byte [ebp + 0x10]
push 0x20
push ecx
push dword [esi + 0x10]
mov dword [esp + 0x68], eax
call fcn.00409c50
mov edi, eax
push edi
push esi
call fcn.0041dcb0
add esp, 0x44
lea eax, [edi + 0x18]
mov dword [esp + 0x14], eax
movzx eax, byte [ebp + 0x10]
push 0x20
push eax
push dword [esi + 0x10]
call fcn.00409c50
mov edi, eax
push edi
push esi
call fcn.0041dcb0
push dword [esp + 0x24]
lea ebp, [edi + 0x18]
mov dword [esp + 0x4c], ebx
push ebx
push 0x19a
push esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x5c], ebp
call fcn.0041d920
push 0
push 0
push dword [esp + 0x58]
mov edi, eax
push esi
call fcn.00410a00
push edi
push eax
push 0x125
push esi
call fcn.0041d920
add esp, 0x44
mov edi, eax
mov dword [esp + 0x1c], edi
push 1
push 0
push 0
call fcn.0040fdb0
push 1
push 1
push dword [esi + 0x10]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edx
call fcn.00409c50
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x422e17
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x24]
push ebx
push esi
mov dword [ebx + 0x34], eax
call fcn.0041dcb0
add esp, 8
add ebx, 0x18
movzx eax, byte [edi + 0x10]
movzx eax, byte [eax + 0x4233db]
jmp dword [eax*4 + 0x4233bc]
Function at 0x426f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x1c
movzx eax, byte [eax + 0x42762b]
push ebx
push ebp
push esi
push edi
jmp dword [eax*4 + 0x427614]
Function at 0x428ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x1c
movzx eax, byte [eax + 0x429593]
push ebx
push ebp
push esi
push edi
jmp dword [eax*4 + 0x42957c]
Function at 0x42b770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x1c
movzx eax, byte [eax + 0x42be63]
push ebx
push ebp
push esi
push edi
jmp dword [eax*4 + 0x42be4c]
Function at 0x42d680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x1c
movzx eax, byte [eax + 0x42dd6f]
push ebx
push ebp
push esi
push edi
jmp dword [eax*4 + 0x42dd58]
Function at 0x42f700
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x1c
movzx eax, byte [eax + 0x42fdf3]
push ebx
push ebp
push esi
push edi
jmp dword [eax*4 + 0x42fddc]
Function at 0x431600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x1c
movzx eax, byte [eax + 0x431cef]
push ebx
push ebp
push esi
push edi
jmp dword [eax*4 + 0x431cd8]
Function at 0x433700
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x1c
movzx eax, byte [eax + 0x433e1b]
push ebx
push ebp
push esi
push edi
jmp dword [eax*4 + 0x433e04]
Function at 0x435720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x1c
movzx eax, byte [eax + 0x435e2f]
push ebx
push ebp
push esi
push edi
jmp dword [eax*4 + 0x435e18]
Function at 0x440ef0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
sub esp, 8
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x10]
push edi
cmp ecx, 0x10
je 0x440ffc
cmp ecx, 0x20
je 0x440f8b
mov edi, dword [esp + 0x18]
xor ecx, ecx
test edi, edi
je 0x4410d8
movsd xmm1, qword [0x533f30]
test eax, 0x4000
jne 0x440f4e
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
movsd xmm0, qword [eax + ecx*8]
xorps xmm0, xmm1
movsd qword [esi + ecx*8], xmm0
inc ecx
cmp ecx, edi
jb 0x440f34
pop edi
pop esi
add esp, 8
ret
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
movsd xmm0, qword [eax + ecx*8]
xorps xmm0, xmm1
movsd qword [esi + ecx*8], xmm0
mov edx, dword [esi + ecx*8 + 4]
test edx, 0x7ff00000
jne 0x440f80
and edx, 0x80000000
mov dword [esi + ecx*8], 0
mov dword [esi + ecx*8 + 4], edx
inc ecx
cmp ecx, edi
jb 0x440f50
pop edi
pop esi
add esp, 8
ret
mov edx, dword [esp + 0x18]
xor ecx, ecx
test edx, edx
je 0x4410d8
mov edi, dword [esp + 0x20]
movss xmm1, dword [0x533f40]
test eax, 0x2000
jne 0x440fca
nop dword [eax]
mov eax, dword [edi]
movss xmm0, dword [eax + ecx*8]
xorps xmm0, xmm1
movss dword [esi + ecx*8], xmm0
inc ecx
cmp ecx, edx
jb 0x440fb0
pop edi
pop esi
add esp, 8
ret
xor ecx, ecx
nop dword [eax]
mov eax, dword [edi]
movss xmm0, dword [eax + ecx*8]
xorps xmm0, xmm1
movss dword [esi + ecx*8], xmm0
mov eax, dword [esi + ecx*8]
test eax, 0x7f800000
jne 0x440ff1
and eax, 0x80000000
mov dword [esi + ecx*8], eax
inc ecx
cmp ecx, edx
jb 0x440fd0
pop edi
pop esi
add esp, 8
ret
xor edi, edi
cmp dword [esp + 0x18], edi
jbe 0x4410d8
mov ecx, eax
and ecx, 0x1000
mov dword [esp + 0x1c], ecx
test eax, 0x40000
jne 0x44107e
nop dword [eax + eax]
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
movzx eax, word [eax + edi*8]
push eax
call fcn.00460f90
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
xorps xmm0, xmmword [0x533f40]
movss dword [esp], xmm0
call fcn.00460ed0
add esp, 4
mov word [esi + edi*8], ax
cmp dword [esp + 0x1c], 0
je 0x441071
mov ecx, eax
xor edx, edx
and ecx, 0x7c00
cmp dx, cx
jne 0x441071
and eax, 0x8000
mov word [esi + edi*8], ax
inc edi
cmp edi, dword [esp + 0x18]
jb 0x441020
pop edi
pop esi
add esp, 8
ret
xor edi, edi
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
movzx eax, word [eax + edi*8]
push eax
call fcn.00460f90
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
xorps xmm0, xmmword [0x533f40]
movss dword [esp], xmm0
call fcn.00460eb0
add esp, 4
mov word [esi + edi*8], ax
cmp dword [esp + 0x1c], 0
je 0x4410d1
mov ecx, eax
xor edx, edx
and ecx, 0x7c00
cmp dx, cx
jne 0x4410d1
and eax, 0x8000
mov word [esi + edi*8], ax
inc edi
cmp edi, dword [esp + 0x18]
jb 0x441080
pop edi
pop esi
add esp, 8
ret

Function at 0x446230
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
movzx eax, byte [eax + 0x4463a3]
push esi
push edi
jmp dword [eax*4 + 0x44638c]

Function at 0x44b660
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
movzx eax, byte [eax + 0x44b7c7]
push esi
push edi
jmp dword [eax*4 + 0x44b7b0]
Function at 0x44cf30
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
movzx eax, byte [eax + 0x44d097]
push esi
push edi
jmp dword [eax*4 + 0x44d080]

Function at 0x460fe0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push edi
mov edi, dword [esp + 0x10]
mov ebx, dword [edi]
push ebx
call fcn.004ff1f7
mov ebp, eax
add esp, 4
test ebp, ebp
jle 0x46102a
lea ecx, [ebp + 1]
push esi
push ecx
call fcn.004f7720
push 0
push 0
push ebx
mov esi, eax
call fcn.004feb65
push ebx
push ebp
push 1
push esi
call fcn.004fe739
mov byte [esi + ebp], 0
add esp, 0x20
mov eax, dword [edi + 4]
mov dword [eax], esi
mov eax, dword [edi + 8]
pop esi
mov dword [eax], ebp
lea eax, [edi + 0xc]
push eax
call fcn.004ff227
push ebx
call fcn.004f3684
add esp, 8
pop edi
pop ebp
pop ebx
ret

Function at 0x461040
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x97ffc0]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push esi
mov esi, dword [esp + 0x114]
lea eax, [esp + 8]
push eax
push 0x104
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x102
ja 0x4610f3
push edi
lea edi, [esi + 0xc]
push edi
push 0
push 0x53976c
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x4610d9
push 0x539778
push edi
call fcn.004f376b
mov ecx, eax
add esp, 8
test ecx, ecx
setne al
test ecx, ecx
je 0x4610c1
mov dword [esi], ecx
mov ecx, dword [esp + 0x11c]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x120]
mov dword [esi + 8], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004eee25
add esp, 0x108
ret
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004eee25
add esp, 0x108
ret
mov ecx, dword [esp + 0x10c]
mov al, bl
pop esi
pop ebx
xor ecx, esp
call fcn.004eee25
add esp, 0x108
ret
Function at 0x465050
Capabilities:
Query environment variable

Disassembly:
push esi
xor esi, esi
cmp byte [0x980b98], 0
jne 0x46507a
push 0x980b98
push 0x464ed0
push 0x980b9c
call fcn.00464e70
add esp, 0xc
mov byte [0x980b98], 1
push 0x980ba0
call fcn.0046aef0
add esp, 4
cmp byte [0x980b94], 0
je 0x4650c5
mov ecx, dword [0x9835f8]
mov eax, dword fs:[0x2c]
push 0x7fff
mov eax, dword [eax + ecx*4]
lea esi, [eax + 0x18]
push esi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
xor ecx, ecx
cmp eax, 0x7ffd
cmova esi, ecx
jmp 0x465150
mov eax, dword [0x980bb8]
test eax, eax
jne 0x4650fc
push 0x461dd0
push 0x4613b0
push eax
call fcn.00461500
add esp, 0xc
mov dword [0x980bb8], eax
test eax, eax
je 0x465150
push 0x464f80
call fcn.004f00ba
mov eax, dword [0x980bb8]
add esp, 4
push edi
mov edi, dword [esp + 0xc]
push edi
push eax
call fcn.00461af0
add esp, 8
test eax, eax
je 0x465114
mov esi, dword [eax + 8]
jmp 0x46514f
push ebx
push edi
push dword [0x980bb8]
call fcn.00460830
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x46514e
push edi
call fcn.00465010
push eax
push dword [0x980bb8]
call fcn.00460830
mov esi, eax
push esi
push ebx
push dword [0x980bb8]
call fcn.00461770
add esp, 0x18
pop ebx
pop edi
cmp byte [0x980b98], 0
jne 0x465177
push 0x980b98
push 0x464ed0
push 0x980b9c
call fcn.00464e70
add esp, 0xc
mov byte [0x980b98], 1
push 0x980ba0
call fcn.0046af00
add esp, 4
mov eax, esi
pop esi
ret

Function at 0x465190
Capabilities:
Print debug messages

Disassembly:
cmp dword [0x980b90], 0
jne 0x4651a8
push 2
call fcn.004f33f4
add esp, 4
mov dword [0x980b90], eax
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test eax, eax
je 0x4651f1
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x4651f1
push 1
call fcn.004f33f4
push eax
call fcn.004f6ed8
push dword [0x980b90]
push esi
call fcn.004f727f
push dword [0x980b90]
call fcn.004f6ed8
add esp, 0x14
pop esi
ret
push 2
call fcn.004f33f4
mov ecx, dword [0x980b90]
add esp, 4
cmp ecx, eax
je 0x46521a
push ecx
push esi
call fcn.004f727f
push dword [0x980b90]
call fcn.004f6ed8
add esp, 0xc
pop esi
ret
Function at 0x476350
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
xorps xmm0, xmm0
movlpd qword [esp + 0xc], xmm0
mov esi, dword [edi + 0x28]
mov eax, esi
mov ebx, dword [edi + 0x2c]
and eax, 1
or eax, 0
je 0x47637c
mov ecx, 4
xor edx, edx
jmp 0x476384
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov eax, dword [edi + 8]
cmp byte [eax + 0x44], 4
jne 0x476399
test byte [eax + 0x141], 2
je 0x476399
or ecx, 8
test byte [edi + 0x30], 1
je 0x4763a2
or ecx, 0x10
mov eax, esi
and eax, 0x10
or eax, 0
je 0x4763af
or ecx, 0x20
mov eax, esi
and eax, 0x20
or eax, 0
je 0x4763bc
or ecx, 0x40
mov eax, esi
and eax, 0x2000
or eax, 0
je 0x4763ce
or ecx, 0x200
mov eax, esi
and eax, 0x400
or eax, 0
je 0x4763e0
or ecx, 0x400
mov eax, esi
and eax, 0x200
or eax, 0
je 0x4763f2
or ecx, 0x800
mov eax, esi
and eax, 0x100
or eax, 0
je 0x476404
or ecx, 0x1000
mov eax, esi
and eax, 0x800
or eax, 0
je 0x476416
or ecx, 0x2000
mov eax, esi
and eax, 8
or eax, 0
je 0x476426
or ecx, 0x8000
mov eax, esi
and eax, 4
or eax, 0
je 0x476436
or ecx, 0x10000
mov eax, esi
and eax, 2
or eax, 0
je 0x476446
or ecx, 0x20000
mov eax, esi
and eax, 0x1000
or eax, 0
je 0x476458
or ecx, 0x40000
mov eax, esi
and eax, 0x4000
or eax, 0
je 0x47646a
or ecx, 0x80000
mov eax, esi
and eax, 0x8000
or eax, 0
je 0x47647c
or ecx, 0x100000
mov eax, esi
and eax, 0x10000
or eax, 0
je 0x47648e
or ecx, 0x200000
mov eax, esi
and eax, 0x20000
or eax, 0
je 0x4764a0
or ecx, 0x400000
mov eax, esi
and eax, 0x40000
or eax, 0
je 0x4764b2
or ecx, 0x800020
mov eax, esi
and eax, 0x80000
or eax, 0
je 0x4764c4
or ecx, 0x1000000
mov eax, esi
and eax, 0x100000
or eax, 0
je 0x4764d6
or ecx, 0x2000000
mov eax, esi
and eax, 0x200000
or eax, 0
je 0x4764e8
or ecx, 0x4000000
mov eax, esi
and eax, 0x400000
or eax, 0
je 0x4764fa
or ecx, 0x8000000
mov eax, esi
and eax, 0x800000
or eax, 0
je 0x47650c
or ecx, 0x10000000
mov eax, esi
and eax, 0x1000000
or eax, 0
je 0x47651e
or ecx, 0x20000000
mov eax, esi
and eax, 0x2000000
or eax, 0
je 0x476530
or ecx, 0x40000000
mov eax, esi
and eax, 0x4000000
or eax, 0
je 0x476542
or ecx, 0x80000000
mov eax, esi
and eax, 0x10000000
or eax, 0
je 0x476551
or edx, 1
mov eax, esi
and eax, 0x20000000
or eax, 0
je 0x476560
or edx, 4
mov eax, esi
and eax, 0x40000000
or eax, 0
je 0x47656f
or edx, 8
and esi, 0x80000000
or esi, 0
je 0x47657d
or edx, 0x20
and ebx, 1
xor eax, eax
or eax, ebx
je 0x476589
or edx, 0x40
mov eax, dword [edi + 4]
cmp byte [eax + 2], 0
je 0x476595
or ecx, 2
mov eax, ecx
or eax, edx
jne 0x4765b3
cmp dword [edi + 0x1c], 7
jb 0x4765b3
cmp dword [edi + 0x63fe0], eax
jbe 0x4765b3
pop edi
pop esi
lea edx, [eax + 2]
pop ebx
add esp, 8
ret
pop edi
pop esi
mov eax, ecx
pop ebx
add esp, 8
ret