joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419fa0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, 0xa
mov al, byte [esi]
test al, al
je 0x419fe5
movsx ecx, al
inc esi
cmp ecx, 0x66
je 0x419fcd
cmp ecx, 0x69
je 0x41a128
cmp ecx, 0x6c
jne 0x419fdf
mov eax, dword [ebx + 8]
push ebx
mov dword [eax + 0xb18], ecx
call fcn.00414d40
add esp, 4
mov al, byte [esi]
test al, al
jne 0x419fb6
mov esi, dword [0x4efd80]
test esi, esi
je 0x41a075
cmp dword [ebx + 8], esi
jne 0x41a18b
push 0xffffffffffffffff
push dword [0x4efdcc]
mov dword [0x4efdd0], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x4efdb4
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.00414d40
mov ecx, dword [0x4efd94]
mov eax, dword [0x4efd90]
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 [0x4efd90], 0
mov dword [0x4efd8c], 0
mov dword [0x4efd80], 0
cmp dword [0x4efda8], 0
mov eax, dword [ebx + 8]
mov dword [0x4efd80], eax
mov eax, dword [esp + 0x18]
mov dword [0x4efd84], eax
mov eax, dword [esp + 0x1c]
mov dword [0x4efd9c], edi
mov dword [0x4efd88], eax
mov dword [0x4efda0], 0
mov dword [0x4efd98], ebx
mov dword [0x4efd94], 0
mov dword [0x4efd90], 0
mov dword [0x4efd8c], 0
jne 0x41a159
push 0
push 0
push str.winmm.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [0x4efda8], eax
test eax, eax
je 0x41a159
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.timeBeginPeriod
push eax
call esi
push str.timeEndPeriod
push dword [0x4efda8]
mov dword [0x4efdac], eax
call esi
cmp dword [0x4efdac], 0
mov dword [0x4efdb0], eax
je 0x41a11a
test eax, eax
jne 0x41a159
pop edi
pop esi
mov dword [0x4efda8], 0
pop ebx
ret
mov al, byte [esi]
xor edi, edi
cmp al, 0x30
jl 0x41a14f
cmp al, 0x39
ja 0x41a147
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 0x41a130
test edi, edi
jg 0x419fdf
mov edi, 1
jmp 0x419fdf
push 0x4efdb4
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 0x4efd80
push 0x41a220
push 0
push 0
mov dword [0x4efdd0], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4efdcc], eax
pop edi
pop esi
pop ebx
ret
Function at 0x435630
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 0x435673
mov eax, dword [ebx]
test eax, eax
je 0x435662
mov edx, dword [esp + 0x24]
bsf ecx, eax
cmp ecx, edx
jb 0x43566b
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 0x435677
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov eax, 1
push ebp
cmp edx, 0x12
jbe 0x435716
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 0x4356bd
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 0x435730
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 [0x4d8bb0]
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 0x435730
or ecx, 0xffffffff
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], ecx
cmp edx, 9
jb 0x4357be
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 0x435771
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 0x435750
mov eax, dword [esp + 0x10]
cmp edi, dword [esp + 0x14]
je 0x435792
cmp edi, eax
je 0x435792
test ebp, ebp
je 0x43578a
dec edi
and edi, 0x3f
mov dword [ebx + edi*4], ebp
cmp dword [ebx + esi*4], 0
jne 0x4357a5
jmp 0x43579c
cmp dword [ebx + esi*4], 0
jne 0x4357a5
cmp esi, edi
je 0x43581b
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 0x435730
mov eax, 1
test edx, edx
je 0x43581b
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 0x435810
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 0x4357f1
test ebp, ebp
je 0x43581b
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 0x437b80
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
movzx esi, word [ebx + 6]
push edi
mov edi, dword [ebx + 0x20]
lea eax, [edi + eax*4]
mov dword [esp + 0x18], eax
mov eax, esi
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 0x1c]
lea ebp, [eax + ecx*4]
lea eax, [edx + 0xc]
mov dword [esp + 0x14], ebp
cmp eax, ebp
jne 0x437bba
mov eax, dword [ebx + 0x18]
jmp 0x437bbc
mov eax, dword [eax]
cmp byte [ebx + 0x76], 0
lea eax, [edi + eax*4]
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 0x437beb
mov ecx, dword [ebx + 0x18]
lea eax, [esi + 1]
mov word [ebx + 6], ax
jmp 0x437bf5
mov ecx, dword [ebp - 0xc]
sub ebp, 0xc
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x34]
mov byte [ebx + 0x76], 0
mov dword [ebp], ecx
mov ax, word [ebx + 8]
mov word [ebp + 4], ax
xor eax, eax
mov word [ebp + 6], ax
mov al, byte [esp + 0x30]
mov byte [ebp + 8], al
movzx eax, byte [edx + 9]
mov byte [ebp + 9], al
mov byte [ebp + 0xb], 0
xor ebp, ebp
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 0x437ca4
nop word [eax + eax]
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 0x437c5f
mov dword [esp + 0x30], eax
jmp 0x437c8a
cmovne eax, dword [esp + 0x30]
movzx esi, dx
mov dword [esp + 0x30], eax
cmp esi, 0x8000
jb 0x437c87
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 0x437c40
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 0x437cc8
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 0x437cb6
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 0x437cf3
mov ecx, dword [edx]
add edx, 4
mov dword [eax], ecx
add eax, 4
cmp edx, ebp
jb 0x437ce5
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 0x438900
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
movzx eax, word [ecx]
movzx ecx, word [ecx + 2]
push esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x18]
push edi
mov ebx, dword [esi + 8]
lea edi, [ebx - 1]
mov dword [esi + 8], edi
movzx ecx, word [ecx + eax*2]
movzx eax, word [ebp + eax*8 + 6]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
cmp edi, dword [esi + 0x114]
jb 0x43894d
mov ecx, esi
call fcn.004530e0
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x10]
mov edx, 0x6400
mov dword [esi + 8], ebx
mov ebx, dword [esp + 0x10]
mov word [eax + edi*8 + 4], dx
mov edx, dword [esp + 0x20]
mov word [eax + edi*8], dx
mov word [eax + edi*8 + 2], cx
movzx eax, word [ebp + ebx*8 + 6]
mov ebp, dword [esi + 8]
mov dword [esp + 0x18], eax
cmp ebp, dword [esi + 0x114]
jb 0x438989
mov ecx, esi
call fcn.004530e0
lea eax, [ebp + 1]
mov ecx, 0x6400
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + ebp*8 + 4], cx
mov ecx, dword [esp + 0x18]
mov word [eax + ebp*8], di
mov word [eax + ebp*8 + 2], cx
mov eax, dword [esp + 0x1c]
movzx edi, word [eax + ebx*2]
mov ebx, dword [esi + 8]
cmp ebx, dword [esi + 0x114]
jb 0x4389c3
mov ecx, esi
call fcn.004530e0
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], bp
mov word [eax + ebx*8 + 2], di
mov edi, dword [esi + 8]
cmp edi, dword [esi + 0x114]
jb 0x4389f1
mov ecx, esi
call fcn.004530e0
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 0x438a32
mov ecx, esi
call fcn.004530e0
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 0x4398b0
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 0x4399ca
cmp word [esi + 0x1e8], 0
jne 0x4398f4
cmp word [esi + 0x1ea], 0
jne 0x4398f4
cmp word [esi + 0x1ec], 0
jne 0x4398f4
cmp word [esi + 0x1ee], 0
je 0x4399ca
cmp dword [esi + 0x11c], 0
push ebx
push edi
jne 0x439939
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 0x439939
movzx edx, word [ebx + ecx*4]
cmp edx, 0x8000
jb 0x439934
mov eax, dword [esi + 0x10]
or byte [eax + edx*8 + 4], 0x20
inc ecx
cmp ecx, edi
jb 0x439920
push esi
call fcn.00439ab0
add esp, 4
cmp dword [esi + 0x11c], 0
je 0x4399bf
push ebp
nop dword [eax]
mov eax, dword [esi + 0x10]
xor ebp, ebp
mov ecx, dword [esi + 8]
cmp byte [eax + ecx*8 - 3], 0x13
lea ecx, [eax + ecx*8]
lea eax, [ecx - 8]
jne 0x4399be
mov edx, dword [esi + 0x10]
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 edx, [edx + ecx*8]
mov cl, bl
xor cl, bh
test cl, 0x20
jne 0x439990
mov cx, word [edi + 6]
cmp cx, word [edx + 6]
je 0x4399b1
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]
or byte [ecx + edx*8 + 4], 0x20
sub eax, 8
cmp byte [eax + 5], 0x13
je 0x439965
test ebp, ebp
jne 0x439950
pop ebp
push esi
call fcn.00439de0
add esp, 4
pop edi
pop ebx
pop esi
ret
Function at 0x441490
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 0x441503
mov eax, dword [edi + 0xbc]
add eax, dword [edi + 0xb8]
jne 0x441503
cmp dword [edi + 0x924], eax
jne 0x441503
cmp dword [edi + 0x928], eax
jne 0x441503
cmp dword [edi + 8], 0x8002
ja 0x4414de
jne 0x441503
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x4000d], 0x15
je 0x441503
movzx eax, word [edi + 0x40]
push eax
push 2
push edi
mov dword [edi + 0xac], 0
call fcn.0043fd40
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.0043a560
mov eax, dword [edi + 0x64]
lea ecx, [esi - 2]
add esp, 4
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x441525
mov dword [esp + 0x38], edx
jmp 0x441536
push ecx
push edi
call fcn.00442e60
mov dword [esp + 0x40], eax
add esp, 8
mov eax, dword [edi + 0x64]
lea ecx, [esi*4]
mov eax, dword [ecx + eax - 4]
mov dword [esp + 0xc], ecx
test eax, eax
jne 0x44156c
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.00453070
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.0043f000
add eax, esi
mov byte [edi + 0x75], 1
add esp, 8
mov dword [edi + 0x6c], eax
test dword [esp + 0x3c], 0x1f000000
je 0x441612
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 0x447df0
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 0x447e2d
cmp byte [edi + 7], 0
jne 0x447e2d
mov ebx, 0x80
jmp 0x447e41
push 0xef
push edi
push esi
call fcn.0044e690
mov edx, dword [esi + 0x48]
add esp, 0xc
mov ebx, eax
movzx ecx, word [edi]
movzx eax, byte [edx + ecx*8 + 6]
mov dword [esp + 0x14], eax
test al, al
jns 0x447e64
push 0xef
push ecx
push esi
call fcn.0044e5d0
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 0x447ec0
test ebp, ebp
je 0x447e9d
push ebp
cmp ebx, eax
jne 0x447e8b
push ebx
push 0x838100
push esi
call fcn.0044d3e0
add esp, 0x10
jmp 0x447ec0
push eax
push ebx
push 0x8d0000fe
push esi
call fcn.0044d7f0
add esp, 0x14
jmp 0x447ec0
cmp ebx, eax
je 0x447ec0
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.00446b30
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 0x447f4d
mov ecx, dword [ecx + 8]
movsx eax, cl
cmp ecx, eax
jne 0x447ef4
lea eax, [ebx - 1]
mov dword [esi + 0x40], eax
mov byte [eax], cl
mov ecx, 0x830000fe
jmp 0x447f00
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.0044d7f0
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 0x447f3f
lea eax, [ecx - 3]
mov dword [esi + 0x40], eax
mov byte [eax], dl
jmp 0x447f8c
mov dword [ecx - 6], edx
mov ecx, 0x810000fe
add dword [esi + 0x40], 0xfffffffc
jmp 0x447f91
mov edi, dword [esp + 0x14]
cmp al, 2
jbe 0x447f79
push dword [ecx]
lea eax, [ebp + 8]
push eax
push edi
push 0x838107
push esi
call fcn.0044d380
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.0044d7f0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x44ce90
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.0044e690
mov ebx, eax
mov ecx, 0x8000
movzx eax, word [ebp]
add esp, 0xc
cmp ax, cx
jae 0x44cef2
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 0x44cf90
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 edx, cx
movzx eax, si
cmovae edx, eax
movzx ecx, dx
mov dword [esp + 0x18], ecx
cmp ecx, 0x8000
jb 0x44cf82
mov edx, dword [edi + 0x60]
mov esi, edx
and esi, 0xef
je 0x44cf82
mov eax, dword [edi + 0x48]
mov cl, byte [eax + ecx*8 + 6]
shr edx, cl
test dl, 1
jne 0x44cf7e
bsf eax, esi
movzx ecx, word [edi + eax*4]
push ecx
push edi
call fcn.0044eff0
add esp, 8
mov esi, eax
jmp 0x44cf93
mov ecx, dword [esp + 0x18]
push ecx
push edi
call fcn.0044eff0
add esp, 8
mov esi, eax
jmp 0x44cf93
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 0x44cfc3
push 0xef
push ecx
push edi
call fcn.0044e5d0
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 0x44d004
push 8
push esi
push ebx
push 0x8d0000fe
push edi
call fcn.0044d7f0
push 5
push edi
call fcn.00446b30
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 0x44d00e
mov eax, 0x8b0000fe
mov ecx, 0x10
push ecx
push esi
push ebx
push eax
push edi
call fcn.0044d7f0
movzx eax, byte [ebp + 3]
lea eax, [eax*4 + 0x14]
push eax
push dword [esp + 0x30]
push esi
push 0x8b0000fe
push edi
call fcn.0044d7f0
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4527a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
dec esi
mov eax, dword [edi + 0x10]
lea esi, [eax + esi*8]
cmp esi, dword [edi + 0x14]
jae 0x4528ea
mov eax, dword [esi + 4]
cmp eax, 0xfffffff2
jbe 0x4528cc
cmp eax, 0xfffffff5
jne 0x4528ba
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0xfc]
mov dword [esp + 0xc], ecx
mov dword [ecx + 0xc], edi
mov eax, dword [esi]
mov esi, dword [ecx]
movzx edx, word [eax + 6]
lea edi, [eax + 8]
mov eax, edx
add eax, eax
mov ecx, dword [esi + eax*8]
mov eax, ecx
and eax, 0xf0800000
cmp eax, 0x20800000
jne 0x452808
mov edi, dword [edi]
movzx ecx, cx
cmovne ecx, edx
shl ecx, 4
add ecx, esi
mov edx, dword [ecx]
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x45283b
movzx ecx, dx
shl ecx, 4
add ecx, esi
mov edx, dword [ecx]
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x452823
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x50000000
jne 0x452853
movzx ecx, dx
shl ecx, 4
add ecx, esi
mov edx, dword [ecx]
and edx, 0xfc800000
cmp edx, 0x800000
jne 0x452877
cmp dword [ecx + 4], 8
jne 0x452877
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xc
mov eax, 0xc
jmp 0x45288b
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
test eax, eax
jne 0x45288b
mov dword [edx], 0xb
mov eax, 0xb
mov edx, dword [ebp + 0xc]
shl edx, 8
push edx
push edi
lea edx, [esp + 0x18]
shl eax, 4
push edx
push ecx
mov ecx, dword [esp + 0x1c]
add eax, dword [ecx]
push eax
push ecx
call fcn.0044fdc0
mov eax, dword [esp + 0x28]
add esp, 0x18
mov edx, dword [esp + 0x14]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0xfffffffb
jne 0x4528ea
mov ecx, dword [esi]
mov edx, esi
call fcn.0041a510
test eax, eax
je 0x4528ea
movsd xmm0, qword [esi]
xor edx, edx
addsd xmm0, qword [0x4d8f88]
pop edi
pop esi
movsd qword [esp + 8], xmm0
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
push 3
push dword [ebp + 0xc]
push edi
call fcn.00409550
int3