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

Disassembly:
mov ecx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
xor esi, edi
ror esi, 0x1c
bswap esi
cmp ecx, 0xc
jbe 0x40f7f0
mov eax, dword [esp + 0xc]
add ecx, 0xfffffff4
push ebx
push ebp
mov ebp, dword [esp + 0x20]
add ecx, ebp
mov dword [esp + 0x1c], ecx
mov ebx, ecx
nop
add esi, dword [ebx + 4]
add edi, dword [ebx + 8]
mov edx, esi
add eax, dword [ebx]
xor edi, esi
ror edx, 0x12
mov ebx, ebp
sub edi, edx
add ebp, 0xc
mov ecx, edi
xor eax, edi
ror ecx, 0x15
sub eax, ecx
mov edx, eax
xor esi, eax
ror edx, 7
sub esi, edx
cmp ebx, dword [esp + 0x1c]
jb 0x40f7a0
mov ecx, esi
mov edx, esi
ror ecx, 0x10
xor edx, edi
sub edx, ecx
mov ecx, edx
xor eax, edx
ror ecx, 0x1c
sub eax, ecx
pop ebp
mov ecx, eax
xor eax, esi
pop ebx
ror ecx, 0x12
pop edi
sub eax, ecx
pop esi
ret
pop edi
mov eax, esi
pop esi
ret

Function at 0x411aa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
movzx eax, byte [ebp + 0x24]
lea edx, [eax*4 + 0x14]
call fcn.0040d810
mov esi, eax
lea ecx, [ebp + 0x40]
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov word [esi + 5], 8
mov byte [esi + 7], 0
movzx ecx, byte [ebp + 0x25]
add ecx, 0x20
mov eax, ecx
shr eax, 3
and al, 0x20
sub cl, al
mov al, byte [ebp + 0x24]
mov byte [ebp + 0x25], cl
mov byte [esp + 0x18], al
movzx ecx, al
test al, al
je 0x411b51
push ebx
lea ebx, [esi + 0x14]
mov esi, ecx
mov ecx, dword [esp + 0x18]
mov edx, 0x18
call fcn.0040d810
lea ebx, [ebx + 4]
lea ecx, [eax + 8]
mov word [eax + 5], 0x105
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0xffffffff
mov ecx, dword [ebp + 0x14]
movzx edx, word [ecx + edi*2]
inc edi
mov ecx, edx
shl edx, 0x18
shr ecx, 0xe
xor edx, ebp
and cl, 1
mov dword [eax + 0x14], edx
mov byte [eax + 7], cl
mov dword [ebx - 4], eax
cmp edi, esi
jb 0x411b02
mov esi, dword [esp + 0x10]
mov al, byte [esp + 0x1c]
pop ebx
mov byte [esi + 7], al
mov eax, esi
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x416630
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov eax, dword [0x4f1d78]
push esi
mov esi, ecx
test eax, eax
jne 0x41666a
push eax
push eax
push 0x4d7ce0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
je 0x4166ff
push str.SystemFunction036
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4f1d78], eax
test eax, eax
je 0x4166ff
push 0x20
push esi
call eax
test al, al
je 0x4166ff
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
ja 0x416692
jb 0x416687
cmp eax, 2
jae 0x416692
add eax, 2
mov dword [esi], eax
adc ecx, 0
mov dword [esi + 4], ecx
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
test ecx, ecx
ja 0x4166af
jb 0x4166a3
cmp eax, 0x40
jae 0x4166af
add eax, 0x40
mov dword [esi + 8], eax
adc ecx, 0
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
test ecx, ecx
ja 0x4166d0
jb 0x4166c2
cmp eax, 0x200
jae 0x4166d0
add eax, 0x200
mov dword [esi + 0x10], eax
adc ecx, 0
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
test ecx, ecx
ja 0x4166f1
jb 0x4166e3
cmp eax, 0x20000
jae 0x4166f1
add eax, 0x20000
mov dword [esi + 0x18], eax
adc ecx, 0
mov dword [esi + 0x1c], ecx
mov ecx, esi
call fcn.00416710
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x41a1d0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, 0xa
mov al, byte [esi]
test al, al
je 0x41a216
movsx ecx, al
inc esi
cmp ecx, 0x66
je 0x41a1fe
cmp ecx, 0x69
je 0x41a2ab
cmp ecx, 0x6c
jne 0x41a210
mov eax, dword [ebx + 8]
push ebx
mov dword [eax + 0xb18], ecx
call fcn.00414d90
add esp, 4
mov al, byte [esi]
test al, al
jne 0x41a1e7
mov esi, dword [0x4f1d80]
lea ebp, [ebx + 8]
test esi, esi
je 0x41a2e4
cmp dword [ebp], esi
jne 0x41a2dc
push 0xffffffffffffffff
push dword [0x4f1dcc]
mov dword [0x4f1dd0], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x4f1db4
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
and byte [esi + 0x55], 0x7f
push esi
call fcn.0040a370
push ebx
mov dword [esi + 0xb18], 0
call fcn.00414d90
mov ecx, dword [0x4f1d94]
mov eax, dword [0x4f1d90]
sub eax, ecx
sub dword [esi + 8], eax
push 0
push eax
mov eax, dword [esi]
push ecx
push dword [esi + 4]
call eax
add esp, 0x18
mov dword [0x4f1d90], 0
mov dword [0x4f1d8c], 0
mov dword [0x4f1d80], 0
jmp 0x41a2e4
mov al, byte [esi]
xor edi, edi
cmp al, 0x30
jl 0x41a2d2
cmp al, 0x39
ja 0x41a2ca
movzx eax, al
lea edi, [edi + edi*4]
inc esi
lea edi, [edi - 0x18]
lea edi, [eax + edi*2]
mov al, byte [esi]
cmp al, 0x30
jge 0x41a2b3
test edi, edi
jg 0x41a210
mov edi, 1
jmp 0x41a210
test esi, esi
jne 0x41a3c6
cmp dword [0x4f1da8], 0
mov eax, dword [ebp]
mov dword [0x4f1d80], eax
mov eax, dword [esp + 0x1c]
mov dword [0x4f1d84], eax
mov eax, dword [esp + 0x20]
mov dword [0x4f1d9c], edi
mov dword [0x4f1d88], eax
mov dword [0x4f1da0], 0
mov dword [0x4f1d98], ebx
mov dword [0x4f1d94], 0
mov dword [0x4f1d90], 0
mov dword [0x4f1d8c], 0
jne 0x41a394
push 0
push 0
push str.winmm.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [0x4f1da8], eax
test eax, eax
je 0x41a394
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.timeBeginPeriod
push eax
call esi
push str.timeEndPeriod
push dword [0x4f1da8]
mov dword [0x4f1dac], eax
call esi
cmp dword [0x4f1dac], 0
mov dword [0x4f1db0], eax
je 0x41a385
test eax, eax
jne 0x41a394
pop edi
pop esi
pop ebp
mov dword [0x4f1da8], 0
pop ebx
ret
push 0x4f1db4
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 0x4f1d80
push 0x41a460
push 0
push 0
mov dword [0x4f1dd0], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4f1dcc], eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x434620
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
or ecx, 0xffffffff
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov dword [esp + 0xc], ecx
test esi, esi
jne 0x434663
mov eax, dword [ebx]
test eax, eax
je 0x434652
mov edx, dword [esp + 0x24]
bsf ecx, eax
cmp ecx, edx
jb 0x43465b
mov ecx, edx
shr eax, cl
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
shr eax, cl
sub edx, ecx
mov dword [ebx], eax
jmp 0x434667
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov eax, 1
push ebp
cmp edx, 0x12
jbe 0x434706
mov eax, dword [esp + 0x2c]
mov ebp, eax
shr ebp, 0x18
and al, 0x30
lea ecx, [ebp - 1]
mov dword [esp + 0x18], ecx
cmp al, 0x20
jne 0x4346ad
mov eax, 0x38e38e39
mov ebp, 0x3f
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov dword [esp + 0x14], ebp
jmp 0x434720
bsr ecx, dword [ebx + esi*4]
imul eax, esi, 0x1d
sub eax, edx
add eax, ecx
mov ecx, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4d9bc0]
cvttsd2si eax, xmm0
sub ecx, eax
mov eax, 0x38e38e39
sub ecx, ebp
imul ecx
mov eax, dword [esp + 0x18]
mov ecx, esi
sar edx, 1
mov ebp, edx
add edx, 0x3e
shr ebp, 0x1f
add ebp, edx
cdq
and edx, 7
mov dword [esp + 0x14], ebp
add eax, edx
sar eax, 3
sub ecx, eax
add ecx, 0x3d
mov dword [esp + 0x10], ecx
jmp 0x434720
or ecx, 0xffffffff
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], ecx
cmp edx, 9
jb 0x4347ae
nop
mov ecx, dword [ebx + esi*4]
mov edx, esi
mov eax, ecx
and ecx, 0x1ff
shr eax, 9
imul ebp, ecx, 0x1dcd65
mov dword [ebx + esi*4], eax
cmp esi, edi
je 0x434761
nop dword [eax]
dec edx
and edx, 0x3f
mov ecx, dword [ebx + edx*4]
mov eax, ecx
shr eax, 9
and ecx, 0x1ff
add eax, ebp
imul ebp, ecx, 0x1dcd65
mov dword [ebx + edx*4], eax
cmp edx, edi
jne 0x434740
mov eax, dword [esp + 0x10]
cmp edi, dword [esp + 0x14]
je 0x434782
cmp edi, eax
je 0x434782
test ebp, ebp
je 0x43477a
dec edi
and edi, 0x3f
mov dword [ebx + edi*4], ebp
cmp dword [ebx + esi*4], 0
jne 0x434795
jmp 0x43478c
cmp dword [ebx + esi*4], 0
jne 0x434795
cmp esi, edi
je 0x43480b
dec esi
and esi, 0x3f
dec eax
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
sub edx, 9
mov dword [esp + 0x24], edx
cmp edx, 9
jae 0x434720
mov eax, 1
test edx, edx
je 0x43480b
mov ebp, dword [ebx + esi*4]
mov ecx, edx
shl eax, cl
dec eax
mov dword [esp + 0x14], eax
mov eax, 0x3b9aca00
sar eax, cl
mov dword [esp + 0x10], eax
mov eax, ebp
and ebp, dword [esp + 0x14]
imul ebp, dword [esp + 0x10]
shr eax, cl
mov dword [ebx + esi*4], eax
cmp esi, edi
je 0x434800
mov ecx, dword [esp + 0x24]
dec esi
and esi, 0x3f
mov edx, dword [ebx + esi*4]
mov eax, edx
shr eax, cl
add eax, ebp
mov ebp, edx
and ebp, dword [esp + 0x14]
imul ebp, dword [esp + 0x10]
mov dword [ebx + esi*4], eax
cmp esi, edi
jne 0x4347e1
test ebp, ebp
je 0x43480b
dec edi
and edi, 0x3f
mov dword [ebx + edi*4], ebp
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x436bc0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov eax, dword [edx]
push esi
mov ebp, dword [ebx + 0x20]
movzx esi, word [ebx + 6]
lea eax, [eax*4]
add eax, ebp
mov dword [esp + 0x14], eax
mov eax, esi
push edi
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 0x1c]
lea edi, [eax + ecx*4]
lea eax, [edx + 0xc]
mov dword [esp + 0x14], edi
cmp eax, edi
jne 0x436c00
mov eax, dword [ebx + 0x18]
jmp 0x436c02
mov eax, dword [eax]
lea eax, [eax*4]
add eax, ebp
cmp byte [ebx + 0x76], 0
mov dword [esp + 0x24], eax
movzx eax, byte [edx + 0xa]
mov dword [esp + 0x10], eax
mov al, byte [edx + 8]
mov byte [esp + 0x30], al
movzx eax, al
mov dword [esp + 0x20], eax
jge 0x436c37
mov ecx, dword [ebx + 0x18]
lea eax, [esi + 1]
mov word [ebx + 6], ax
jmp 0x436c41
mov ecx, dword [edi - 0xc]
sub edi, 0xc
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x34]
xor ebp, ebp
mov byte [ebx + 0x76], 0
mov dword [edi], ecx
mov ax, word [ebx + 8]
mov word [edi + 4], ax
xor eax, eax
mov word [edi + 6], ax
mov al, byte [esp + 0x30]
mov byte [edi + 8], al
movzx eax, byte [edx + 9]
mov byte [edi + 9], al
mov byte [edi + 0xb], 0
mov eax, dword [ebx + 0x20]
lea edi, [eax + ecx*4]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], eax
cmp dword [esp + 0x10], eax
jbe 0x436ce9
mov edx, dword [esp + 0x18]
mov ebx, dword [esi + eax*4]
mov esi, ebx
shr esi, 0x18
inc eax
mov edx, dword [edx + ebp*4]
mov edi, edx
shr edi, 0x18
cmp esi, edi
jae 0x436ca4
mov dword [esp + 0x30], eax
jmp 0x436ccf
cmovne eax, dword [esp + 0x30]
movzx esi, dx
mov dword [esp + 0x30], eax
cmp esi, 0x8000
jb 0x436ccc
mov eax, dword [esp + 0x38]
and edx, 0xfffb0000
movzx eax, word [eax + esi*2]
or edx, eax
mov eax, dword [esp + 0x30]
inc ebp
mov ebx, edx
lea edx, [ecx + 1]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x34]
mov dword [edi + ecx*4], ebx
mov ecx, edx
cmp ebp, dword [esp + 0x10]
jb 0x436c85
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
lea edx, [esi + eax*4]
mov esi, dword [edx]
mov eax, esi
shr eax, 0x18
cmp eax, ebp
jae 0x436d12
nop dword [eax + eax]
mov dword [edi + ecx*4], esi
lea edx, [edx + 4]
mov esi, dword [edx]
inc ecx
mov eax, esi
shr eax, 0x18
cmp eax, ebp
jb 0x436d00
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov byte [eax + 0xa], cl
lea eax, [edi + ecx*4]
mov ecx, dword [esp + 0x10]
lea edx, [edx + ecx*4]
cmp edx, ebp
jae 0x436d3e
nop
mov ecx, dword [edx]
add edx, 4
mov dword [eax], ecx
add eax, 4
cmp edx, ebp
jb 0x436d30
sub eax, dword [ebx + 0x20]
pop edi
pop esi
sar eax, 2
pop ebp
mov dword [ebx + 0x18], eax
pop ebx
add esp, 0x18
ret
Function at 0x437970
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push ebx
push ebp
movzx eax, word [ecx]
mov ebp, dword [esp + 0x18]
movzx ecx, word [ecx + 2]
push esi
mov esi, dword [esp + 0x14]
push edi
mov dword [esp + 0x10], ecx
mov edi, dword [esi + 8]
lea ebx, [edi - 1]
mov dword [esi + 8], ebx
movzx edx, word [edx + eax*2]
movzx eax, word [ebp + eax*8 + 6]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
cmp ebx, dword [esi + 0x114]
jb 0x4379c1
mov ecx, esi
call fcn.00451df0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x10]
mov dword [esi + 8], edi
mov edi, 0x6400
mov word [eax + ebx*8 + 4], di
mov edi, dword [esp + 0x20]
mov word [eax + ebx*8], di
mov word [eax + ebx*8 + 2], dx
mov edi, dword [esi + 8]
movzx ebp, word [ebp + ecx*8 + 6]
cmp edi, dword [esi + 0x114]
jb 0x4379f9
mov ecx, esi
call fcn.00451df0
mov ecx, dword [esp + 0x10]
lea eax, [edi + 1]
mov edx, 0x6400
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + edi*8 + 4], dx
mov word [eax + edi*8], bx
mov word [eax + edi*8 + 2], bp
mov eax, dword [esp + 0x1c]
mov ebx, dword [esi + 8]
movzx ebp, word [eax + ecx*2]
cmp ebx, dword [esi + 0x114]
jb 0x437a2f
mov ecx, esi
call fcn.00451df0
lea eax, [ebx + 1]
mov ecx, 0x6400
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + ebx*8 + 4], cx
mov word [eax + ebx*8], di
mov word [eax + ebx*8 + 2], bp
mov edi, dword [esi + 8]
cmp edi, dword [esi + 0x114]
jb 0x437a5d
mov ecx, esi
call fcn.00451df0
lea eax, [edi + 1]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + edi*8], bx
movzx ebx, di
mov ebp, ebx
lea ecx, [eax + edi*8]
mov eax, 0x5f13
mov word [ecx + 4], ax
mov ax, word [esp + 0x28]
mov word [ecx + 2], ax
mov eax, dword [esp + 0x24]
mov word [eax + 6], bx
mov edi, dword [esi + 8]
cmp edi, dword [esi + 0x114]
jb 0x437a9e
mov ecx, esi
call fcn.00451df0
lea ecx, [edi + 1]
mov eax, 0x1013
mov dword [esi + 8], ecx
mov ecx, dword [esi + 0x10]
mov word [ecx + edi*8 + 4], ax
mov eax, edi
mov word [ecx + edi*8], bx
mov word [ecx + edi*8 + 2], bp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4387e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x68]
and eax, 0x10f0000
cmp eax, 0x10f0000
jne 0x438917
cmp word [esi + 0x1e8], 0
jne 0x438824
cmp word [esi + 0x1ea], 0
jne 0x438824
cmp word [esi + 0x1ec], 0
jne 0x438824
cmp word [esi + 0x1ee], 0
je 0x438917
cmp dword [esi + 0x11c], 0
push ebx
push edi
jne 0x438869
movzx eax, word [esi + 6]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x1c]
movzx edi, byte [eax + ecx*4 - 2]
lea edx, [eax + ecx*4]
mov ecx, dword [edx - 0xc]
mov eax, dword [esi + 0x20]
lea ebx, [eax + ecx*4]
xor ecx, ecx
test edi, edi
je 0x438869
movzx edx, word [ebx + ecx*4]
cmp edx, 0x8000
jb 0x438864
mov eax, dword [esi + 0x10]
or byte [eax + edx*8 + 4], 0x20
inc ecx
cmp ecx, edi
jb 0x438850
push esi
call fcn.00438a00
add esp, 4
cmp dword [esi + 0x11c], 0
je 0x43890c
push ebp
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
cmp byte [edx + eax*8 - 3], 0x13
lea ecx, [edx + eax*8]
mov dword [esp + 0x14], 0
lea eax, [ecx - 8]
jne 0x43890b
nop dword [eax + eax]
movzx ecx, word [eax]
mov bl, byte [edx + ecx*8 + 4]
lea edi, [edx + ecx*8]
movzx ecx, word [eax + 2]
mov bh, byte [edx + ecx*8 + 4]
lea ebp, [edx + ecx*8]
mov cl, bl
xor cl, bh
test cl, 0x20
jne 0x4388c8
mov cx, word [edi + 6]
cmp cx, word [ebp + 6]
je 0x4388f6
mov ebp, dword [esp + 0x14]
movzx edx, bl
or bl, 0x20
movzx ecx, bh
and edx, ecx
mov byte [edi + 4], bl
mov ecx, dword [esi + 0x10]
not edx
and edx, 0x20
or ebp, edx
movzx edx, word [eax + 2]
mov dword [esp + 0x14], ebp
or byte [ecx + edx*8 + 4], 0x20
mov edx, dword [esi + 0x10]
jmp 0x4388fa
mov ebp, dword [esp + 0x14]
sub eax, 8
cmp byte [eax + 5], 0x13
je 0x4388a0
test ebp, ebp
jne 0x438880
pop ebp
push esi
call fcn.00438d50
add esp, 4
pop edi
pop ebx
pop esi
ret
Function at 0x440480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x58]
cmp eax, dword [edi + 0x920]
jne 0x4404f3
mov eax, dword [edi + 0xbc]
add eax, dword [edi + 0xb8]
jne 0x4404f3
cmp dword [edi + 0x924], eax
jne 0x4404f3
cmp dword [edi + 0x928], eax
jne 0x4404f3
cmp dword [edi + 8], 0x8002
ja 0x4404ce
jne 0x4404f3
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x4000d], 0x15
je 0x4404f3
movzx eax, word [edi + 0x40]
push eax
push 2
push edi
mov dword [edi + 0xac], 0
call fcn.0043ed20
add esp, 0xc
mov eax, 2
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
push edi
mov dword [edi + 0x6c], esi
call fcn.004394d0
mov eax, dword [edi + 0x64]
lea ecx, [esi - 2]
add esp, 4
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x440519
push ecx
push edi
call fcn.00441eb0
add esp, 8
mov dword [esp + 0x38], eax
lea ecx, [esi*4]
mov eax, dword [edi + 0x64]
mov dword [esp + 0xc], ecx
mov eax, dword [ecx + eax - 4]
test eax, eax
jne 0x440556
mov ax, word [edi + 0x70]
dec esi
add ax, si
mov dword [edi + 0x7a], 0x47930044
mov ecx, edi
mov word [edi + 0x78], ax
call fcn.00451d80
mov ecx, dword [edi + 0x64]
mov dword [ecx + esi*4], eax
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], 3
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x48], 1
mov edx, dword [eax + 0x10]
mov eax, dword [edx + esi*8 - 0x10]
mov ecx, dword [edx + esi*8 - 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [edx + esi*8 - 8]
mov dword [esp + 0x18], eax
sbb eax, eax
neg eax
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + esi*8 - 4]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x24], ecx
call fcn.0043df60
add eax, esi
mov byte [edi + 0x75], 1
add esp, 8
mov dword [edi + 0x6c], eax
test dword [esp + 0x3c], 0x1f000000
je 0x4405fc
mov eax, dword [edi + 0x64]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
or ecx, 0x100000
mov dword [eax + edx - 4], ecx
mov eax, dword [edi + 0x64]
mov ecx, dword [esp + 0x3c]
mov dword [edx + eax], ecx
mov ecx, dword [edi + 0x64]
mov eax, dword [esp + 0x40]
mov dword [ecx + edx + 4], eax
mov ecx, dword [edi + 0x58]
movzx eax, word [ecx + 6]
add eax, 0xffff8002
lea eax, [ecx + eax*4]
mov dword [edi + 0x58], eax
mov eax, 2
pop edi
pop esi
mov esp, ebp
pop ebp
ret
add dword [edi + 0x58], 8
lea eax, [esi - 3]
mov dword [edi + 0x6c], eax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x446ce0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
mov edx, dword [esi + 0x48]
movzx eax, word [edi + 2]
lea ecx, [edx + eax*8]
movzx eax, word [ecx]
lea eax, [edx + eax*8]
mov dword [esp + 0x18], eax
movzx eax, word [ecx + 2]
lea ebp, [eax + eax*2]
shl ebp, 3
cmp byte [edi + 6], 0
jge 0x446d1d
cmp byte [edi + 7], 0
jne 0x446d1d
mov ebx, 0x80
jmp 0x446d2e
push 0xef
push edi
push esi
call fcn.0044d4a0
add esp, 0xc
mov ebx, eax
movzx edx, word [edi]
mov ecx, dword [esi + 0x48]
movzx eax, byte [ecx + edx*8 + 6]
mov dword [esp + 0x14], eax
test al, al
jns 0x446d54
push 0xef
push edx
push esi
call fcn.0044d3c0
add esp, 0xc
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x60]
btr ecx, eax
mov dword [esi + 0x60], ecx
test bl, bl
js 0x446db0
test ebp, ebp
je 0x446d8d
push ebp
cmp ebx, eax
jne 0x446d7b
push ebx
push 0x838100
push esi
call fcn.0044c170
add esp, 0x10
jmp 0x446db0
push eax
push ebx
push 0x8d0000fe
push esi
call fcn.0044c580
add esp, 0x14
jmp 0x446db0
cmp ebx, eax
je 0x446db0
mov ecx, dword [esi + 0x40]
and al, 7
and bl, 7
sub al, 0x40
shl bl, 3
add bl, al
mov byte [ecx - 1], bl
lea eax, [ecx - 2]
mov dword [ecx - 5], 0x8b0000fe
mov dword [esi + 0x40], eax
push 5
push esi
call fcn.00445b00
mov ecx, dword [esp + 0x20]
add esp, 8
mov ebx, dword [esi + 0x40]
mov al, byte [ecx + 4]
and al, 0x1f
cmp al, 0xe
jne 0x446e3d
mov ecx, dword [ecx + 8]
movsx eax, cl
cmp ecx, eax
jne 0x446de4
lea eax, [ebx - 1]
mov dword [esi + 0x40], eax
mov byte [eax], cl
mov ecx, 0x830000fe
jmp 0x446df0
mov dword [ebx - 4], ecx
mov ecx, 0x810000fe
add dword [esi + 0x40], 0xfffffffc
mov edi, dword [esp + 0x14]
lea eax, [ebp + 8]
push eax
push edi
push 7
push ecx
push esi
call fcn.0044c580
mov ecx, dword [esi + 0x40]
add esp, 0x14
sub bl, cl
mov byte [ecx - 2], 0x75
lea eax, [ecx - 2]
mov byte [ecx - 1], bl
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
movsx eax, dl
cmp edx, eax
jne 0x446e2f
lea eax, [ecx - 3]
mov dword [esi + 0x40], eax
mov byte [eax], dl
jmp 0x446e7c
mov dword [ecx - 6], edx
mov ecx, 0x810000fe
add dword [esi + 0x40], 0xfffffffc
jmp 0x446e81
mov edi, dword [esp + 0x14]
cmp al, 2
jbe 0x446e69
push dword [ecx]
lea eax, [ebp + 8]
push eax
push edi
push 0x838107
push esi
call fcn.0044c110
mov eax, dword [esi + 0x40]
add esp, 0x14
sub bl, al
mov byte [eax - 2], 0x75
mov byte [eax - 1], bl
lea ebx, [eax - 2]
mov eax, dword [esp + 0x18]
lea ecx, [ebx - 1]
mov dword [esi + 0x40], ecx
mov al, byte [eax + 4]
and al, 0x1f
not al
mov byte [ecx], al
mov ecx, 0x830000fe
lea eax, [ebp + 0xc]
push eax
push edi
push 7
push ecx
push esi
call fcn.0044c580
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x44bc30
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x14]
push 0xef
push ebp
push edi
call fcn.0044d4a0
mov ebx, eax
mov ecx, 0x8000
movzx eax, word [ebp]
add esp, 0xc
cmp ax, cx
jae 0x44bc92
movzx ecx, byte [ebp + 3]
mov edx, eax
mov eax, dword [edi + 0x48]
and bl, 7
mov esi, dword [edi + 0x40]
shl bl, 3
mov eax, dword [eax + edx*8]
mov eax, dword [eax + ecx*4 + 0x14]
add eax, 0x10
add bl, 5
mov dword [esi - 4], eax
lea eax, [esi - 6]
mov byte [esi - 5], bl
mov dword [esi - 9], 0x8b0000fe
mov dword [edi + 0x40], eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [edi + 0x58]
and eax, 0xef
jne 0x44bd15
mov eax, dword [edi + 4]
or ecx, 0xffffffff
cmp dword [edi], 0xffffffff
mov esi, dword [edi + 0x18]
cmovb ecx, dword [edi]
cmp eax, ecx
cmovae eax, ecx
mov ecx, dword [edi + 8]
cmp ecx, eax
cmovae ecx, eax
mov eax, dword [edi + 0xc]
cmp eax, ecx
cmovae eax, ecx
mov ecx, dword [edi + 0x14]
cmp ecx, eax
cmovae ecx, eax
cmp esi, ecx
cmovae esi, ecx
mov ecx, dword [edi + 0x1c]
cmp ecx, esi
movzx eax, si
movzx edx, cx
cmovae edx, eax
movzx esi, dx
cmp esi, 0x8000
jb 0x44bd07
mov eax, dword [edi + 0x60]
mov edx, eax
and edx, 0xef
je 0x44bd07
mov ecx, dword [edi + 0x48]
mov cl, byte [ecx + esi*8 + 6]
shr eax, cl
test al, 1
jne 0x44bd07
bsf eax, edx
movzx esi, word [edi + eax*4]
push esi
push edi
call fcn.0044dd30
add esp, 8
mov esi, eax
jmp 0x44bd18
bsr esi, eax
mov eax, dword [edi + 0x5c]
bts eax, esi
mov dword [edi + 0x5c], eax
movzx ecx, word [ebp]
mov eax, dword [edi + 0x48]
movzx eax, byte [eax + ecx*8 + 6]
mov dword [esp + 0x18], eax
test al, al
jns 0x44bd48
push 0xef
push ecx
push edi
call fcn.0044d3c0
add esp, 0xc
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0x60]
btr ecx, eax
mov dword [edi + 0x60], ecx
cmp byte [ebp + 5], 0x3d
jne 0x44bd89
push 8
push esi
push ebx
push 0x8d0000fe
push edi
call fcn.0044c580
push 5
push edi
call fcn.00445b00
add esp, 0x1c
mov ebx, 7
dec dword [edi + 0x40]
mov eax, dword [edi + 0x40]
lea ecx, [ebx - 1]
mov byte [eax], 1
mov eax, 0x800000fe
jmp 0x44bd93
mov eax, 0x8b0000fe
mov ecx, 0x10
push ecx
push esi
push ebx
push eax
push edi
call fcn.0044c580
movzx eax, byte [ebp + 3]
lea eax, [eax*4 + 0x14]
push eax
push dword [esp + 0x30]
push esi
push 0x8b0000fe
push edi
call fcn.0044c580
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
ret