joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100656b7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x1008d4b8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100656fd
cmp word [ebx], dx
jne 0x100656fd
or byte [eax + edi + 0x28], 4
jmp 0x10065702
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10065865
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10065845
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10065743
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10065779
cmp eax, edx
jae 0x10065787
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x1006571e
jmp 0x10065865
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10065840
cmp dword [ebp - 0x18], 0
je 0x10065840
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x1008d4b8]
test byte [eax + edi + 0x28], 0x48
je 0x10065816
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x100657da
mov word [esi], cx
jmp 0x10065811
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x1008d4b8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x1008d4b8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x1008d4b8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10065865
pop eax
cmp word [ebp - 4], ax
jne 0x10065826
cmp esi, ebx
jne 0x10065826
mov word [esi], ax
jmp 0x10065862
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1006683d
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10065865
push 0xd
pop eax
jmp 0x10065821
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1008d4b8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1006585f
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10065865
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10068b96
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x1008c0c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x10068be1
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.10068f32
test al, al
jne 0x10068bdb
sub edx, 2
cmp edx, edi
jne 0x10068bc1
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x10068c03
lea eax, [edi + 2]
cmp edx, eax
je 0x10068c03
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.1006885d
add esp, 0x10
jmp 0x10068cfd
push esi
lea ecx, [ebp - 0x255]
call fcn.10068f32
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10068c46
push dword [ebp - 0x25c]
jmp 0x10068bf3
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x10068c83
cmp word [ebp - 0x226], 0
je 0x10068ca4
cmp word [ebp - 0x226], ax
jne 0x10068c83
cmp word [ebp - 0x224], 0
je 0x10068ca4
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.1006885d
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x10068cf0
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x10068c5d
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x10068cd8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x10068cfd
push 0x1006837c
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.10074680
add esp, 0x10
jmp 0x10068ccd
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001e07f
leave
ret
Function at 0x1006a049
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1006a0e6
push ebx
push esi
call fcn.1006a005
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10069f42
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1006a093
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1006a0e5
push edi
push eax
call fcn.1005c9d6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1006a0b3
call fcn.1005c99c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1006a0e4
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10069f42
add esp, 0x20
test eax, eax
jne 0x1006a0d2
push edi
call fcn.1005c99c
jmp 0x1006a0da
push ebx
call fcn.1005c99c
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1006a0e9
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1006a0fa
pop esi
ret
push ebx
push edi
push esi
call fcn.1006a005
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1005c9d6
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1006a122
push ebx
push esi
push edi
call fcn.1001fe60
add esp, 0xc
push 0
call fcn.1005c99c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1006a9fc
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1006a397

Function at 0x10070b95
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1005f4ee
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10070c04
cmp esi, dword [ebp - 4]
je 0x10070bff
cmp dword [ebp + 0xc], 0
je 0x10070bff
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10070bdc
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100706e7
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10070c06
xor eax, eax
inc eax
jmp 0x10070c06
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x10070c6b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1008c0c0]
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.1005f4ee
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.1005f4ee
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 0x10070ce2
cmp word [ecx], dx
je 0x10070ce2
mov eax, dword [0x100831b4]
push edi
dec eax
push eax
push 0x100830a0
call fcn.10070c0a
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10070d55
cmp word [eax], dx
je 0x10070d55
mov eax, dword [edi]
test eax, eax
je 0x10070d06
cmp word [eax], dx
je 0x10070d06
lea eax, [ebp - 0x10]
push eax
call fcn.100705ed
jmp 0x10070d0f
lea eax, [ebp - 0x10]
push eax
call fcn.10070688
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10070d7f
mov eax, dword [0x1008309c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10082d90
call fcn.10070c0a
add esp, 0xc
test al, al
je 0x10070d7f
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10070d4a
cmp word [eax], di
je 0x10070d4a
lea eax, [ebp - 0x10]
push eax
call fcn.100705ed
pop ecx
jmp 0x10070d81
lea eax, [ebp - 0x10]
push eax
call fcn.10070688
jmp 0x10070d47
mov eax, dword [edi]
test eax, eax
je 0x10070d6c
cmp word [eax], dx
je 0x10070d6c
lea eax, [ebp - 0x10]
push eax
call fcn.10070584
pop ecx
jmp 0x10070d7f
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 0x10070e4a
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10070a8f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10070e4a
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10070e4a
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10070e4a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10070dd7
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100626ce
test ebx, ebx
je 0x10070e45
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100626ce
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10070e4a
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 0x10070e4a
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1005c0f9
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10070e4c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001e07f
leave
ret
Function at 0x10075dfd
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10075c21
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10075f6c
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10075f6c
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10075f21
jg 0x10075e59
test eax, eax
je 0x10075f17
push 1
push 0x1000
call fcn.10066a40
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10075e7c
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10075f0e
push 0x8000
push ebx
call fcn.10075a56
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10075ea5
jg 0x10075ea0
cmp ecx, 0x1000
jb 0x10075ea5
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10073487
add esp, 0x10
cmp eax, 0xffffffff
je 0x10075eea
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10075ea0
jl 0x10075ed1
test ecx, ecx
jne 0x10075e92
push dword [ebp - 0xc]
push ebx
call fcn.10075a56
push esi
call fcn.1005c99c
add esp, 0xc
xor ebx, ebx
jmp 0x10075f7a
cmp byte [edi + 0x24], 0
je 0x10075f01
cmp dword [edi + 0x20], 5
jne 0x10075f01
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10075f0c
mov ebx, dword [edi + 0x18]
jmp 0x10075f0e
xor ebx, ebx
push esi
call fcn.1005c99c
pop ecx
jmp 0x10075f7a
test ecx, ecx
jg 0x10075ee3
jl 0x10075f21
test eax, eax
jae 0x10075ee3
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1006683d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10075f41
cmp byte [edi + 0x1c], 0
je 0x10075ee3
jmp 0x10075f72
push ebx
call fcn.100712aa
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10075ee3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10075f7a
cmp byte [edi + 0x1c], 0
je 0x10075f77
mov ebx, dword [edi + 0x18]
jmp 0x10075f7a
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1006683d
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10076f6c
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10076e40

Function at 0x10078ff0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1007901d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1007901d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40b790
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b95b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b7b9
mov eax, 0x7000000
jmp 0x40b7c1
test eax, eax
je 0x40b936
mov dword [esp + 0x14], eax
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x94], ebx
mov dword [ecx + 0x98], ebp
mov dword [esp], edx
call fcn.0045de40
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x28]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x517ca0]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40b94e
cmp edx, 0x21
jae 0x40b942
movsd qword [esp + 0x18], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], ebp
mov dword [esp], ecx
call fcn.00458840
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.00458910
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x4b78bc]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x4b78fc]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40b911
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x4b7934]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call fcn.0045df00
mov eax, edx
mov ecx, 0x21
call fcn.0045dfa0
nop
call fcn.0045ca90
jmp fcn.0040b790
Function at 0x412bc0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x412dce
sub esp, 0x18
mov eax, dword [0x544830]
test eax, eax
jne 0x412db7
nop
nop
lea eax, [0x544820]
mov dword [esp], eax
call fcn.00409470
mov eax, dword [0x544824]
test eax, eax
je 0x412c08
cmp dword [eax + 8], 0xcc
jne 0x412c7e
mov edx, dword [0x544828]
test edx, edx
jne 0x412c60
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x548fb0]
mov dword [esp + 8], eax
call fcn.0040b970
mov eax, dword [esp + 0xc]
mov dword [0x544828], eax
mov ecx, dword [0x54482c]
mov dword [eax], ecx
mov eax, dword [0x544828]
mov dword [0x54482c], eax
movzx eax, byte [0x544c80]
test al, al
jne 0x412c60
xor eax, eax
jmp 0x412d88
mov edx, dword [0x544828]
mov ebx, dword [edx + 4]
mov dword [0x544828], ebx
mov ebx, dword [0x544824]
mov dword [edx + 4], ebx
mov dword [0x544824], edx
mov edx, dword [0x544824]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x412d67
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402a10
mov eax, dword [0x5449d0]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x412cc8
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
jmp 0x412cde
call fcn.0045dea0
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov eax, dword [0x5449d0]
test eax, eax
jne 0x412d02
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
jmp 0x412d30
call fcn.0045dee0
mov eax, dword [esp + 0x28]
mov dword [edi], eax
mov ebx, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x1c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x14], esi
mov dword [edx + ecx*4 + 0x1c], eax
mov dword [edx + ecx*4 + 0x20], ebx
mov dword [edx + ecx*4 + 0x14], ebp
nop
nop
lea eax, [0x544820]
mov dword [esp], eax
call fcn.00409670
nop
lea eax, [0x54481c]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00402b90
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0045df00
lea edx, [0x517310]
movzx ebx, byte [edx + eax]
lea ebp, [0x544c80]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x412c60
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x412d71
mov ecx, 5
call fcn.0045def0
lea eax, [0x49ce64]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00434320
nop
call fcn.0045ca90
jmp fcn.00412bc0
Function at 0x4208c0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4209a8
sub esp, 0x1c
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x4209a2
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.00420d00
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x10], ax
mov word [esp + 0x12], cx
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], bl
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x10]
mov dword [esp], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00420de0
movzx eax, byte [esp + 0x18]
test al, 2
je 0x420956
cmp word [esp + 0x10], 0x1f0
jbe 0x420956
and eax, 0xfffffffd
nop
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x42099d
mov ecx, dword [edx]
lea eax, [ecx + eax*8]
movzx ecx, word [esp + 0x10]
movzx edx, word [esp + 0x12]
mov ebx, dword [esp + 0x14]
movzx ebp, byte [esp + 0x18]
mov dword [esp], eax
mov word [esp + 4], cx
mov word [esp + 6], dx
mov dword [esp + 8], ebx
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
call fcn.00420d70
add esp, 0x1c
ret
call fcn.0045df00
call fcn.0045df00
nop
call fcn.0045ca90
jmp fcn.004208c0
Function at 0x4209c0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x420af4
sub esp, 0x20
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x420aee
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.00420d00
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x14], ax
mov word [esp + 0x16], cx
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00420ed0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x28]
cmp edx, ecx
jae 0x420ae7
mov ecx, dword [eax]
lea ecx, [ecx + edx*8]
movzx ebx, word [esp + 0x14]
movzx ebp, word [esp + 0x16]
mov esi, dword [esp + 0x18]
movzx edi, byte [esp + 0x1c]
mov dword [esp], ecx
mov word [esp + 4], bx
mov word [esp + 6], bp
mov dword [esp + 8], esi
xchg edi, eax
mov byte [esp + 0xc], al
xchg edi, eax
call fcn.00420d70
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
lea eax, [ecx + eax - 1]
shl eax, 0xd
mov ecx, dword [esp + 0x28]
shl ecx, 0x16
add eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x28], eax
jae 0x420aaa
mov dword [ecx + 0x28], eax
lea eax, [ecx + 0x20]
mov dword [esp], eax
call fcn.0042d080
mov eax, dword [esp + 0x10]
cmp dword [esp + 4], eax
jae 0x420ae3
mov ecx, dword [esp + 0x24]
add ecx, 0x20
nop
mov dword [esp], ecx
xor ecx, ecx
sub ecx, eax
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.00402950
add esp, 0x20
ret
mov eax, edx
call fcn.0045df00
call fcn.0045df00
nop
call fcn.0045ca90
jmp fcn.004209c0
Function at 0x426530
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x426674
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004243b0
mov eax, dword [esp + 4]
test eax, eax
je 0x42665d
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x544900]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov ebx, dword [edx + 0x18]
nop
inc dword [ebx + 0x7c]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp], eax
call fcn.00421fe0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xa], bl
nop
mov ebp, dword [esp + 0x18]
mov dword [esp], ebp
call fcn.00409470
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x4265c7
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x4265f2
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x4265dc
cmp byte [ebp + 6], bl
je 0x4265e7
cmp esi, edx
ja 0x4265ee
jne 0x4265c5
cmp byte [ebp + 6], bl
jbe 0x4265c5
jmp 0x4265ee
mov ebx, 1
jmp 0x4265f4
xor ebx, ebx
jmp 0x4265f4
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x426612
mov ebx, dword [esp + 0x24]
mov word [ebx + 4], dx
mov edx, dword [ecx]
mov dword [ebx], edx
mov dword [ecx], ebx
mov dword [esp], eax
call fcn.00426430
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409670
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x544900]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42664d
movzx eax, byte [ebx + 0x65]
test al, al
je 0x42664d
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x49df25]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00434320
nop
call fcn.0045ca90
jmp fcn.00426530