joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4306c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43bf48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CStdioFile::CStdioFile
lea ecx, [esp + 4]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x30]
push 0
push 0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
je 0x430764
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
je 0x43075b
mov edx, dword [esp + 4]
cmp dword [edx - 8], 5
jle 0x430749
push ecx
lea eax, [esp + 8]
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.0041a3c0
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
jne 0x430727
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [esp + 4]
mov byte [esp + 0x28], 1
call fcn.00434eae
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.00434ef6
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.00434eae
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x4474ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0044722d
pop ecx
xor edx, edx
test eax, eax
pop ecx
jle 0x4474e1
mov ecx, dword [ebp - 4]
add byte [ecx + edx], 0x7a
add ecx, edx
mov ecx, dword [ebp - 4]
xor byte [ecx + edx], 0x19
add ecx, edx
inc edx
cmp edx, eax
jl 0x4474ca
mov eax, dword [ebp - 4]
leave
ret

Function at 0x453029
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
push ebx
push esi
mov ebx, 0x104
push edi
mov edi, dword [0x100010d8]
lea eax, [ebp - 0x118]
push ebx
mov dword [ebp - 0x14], ecx
push eax
call edi
mov esi, dword [0x10001050]
lea eax, [ebp - 0x118]
push 0x10001444
push eax
call esi
mov eax, dword [ebp - 0x14]
add eax, 0x114
push eax
lea eax, [ebp - 0x118]
push eax
call esi
lea eax, [ebp - 0x118]
push 0x10001bd4
push eax
call esi
call dword [0x100010f4]
push eax
lea eax, [ebp - 0x21c]
push 0x10001bc0
push eax
call dword [0x10003604]
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [0x10001190]
push 4
lea eax, [ebp - 0x21c]
push 0
push eax
call dword [0x100010f8]
lea eax, [ebp - 0x320]
push ebx
push eax
call edi
lea eax, [ebp - 0x320]
push 0x10001bb4
push eax
call esi
lea eax, [ebp - 0x320]
push eax
call dword [0x10001078]
mov esi, dword [ebp - 0x14]
and byte [ebp - 4], 0
mov byte [ebp - 0x10], 0x77
mov byte [ebp - 0xf], 0x69
cmp dword [esi + 0x9f58], 0x120
lea eax, [esi + 0x114]
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0xb], 0x67
mov byte [ebp - 0xa], 0x6f
mov byte [ebp - 9], 0x6e
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x78
mov byte [ebp - 5], 0x65
push eax
je 0x45313d
lea eax, [ebp - 0x10]
push eax
call fcn.00450dd9
pop ecx
jmp 0x453142
call fcn.0044ff63
pop ecx
add esi, 0x214
push esi
push 0
push 1
push 0
call dword [0x10001194]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x453245
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x10018da4]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 0x80
push 4
push ebx
push 2
add eax, 0xd
push 0x40000000
push eax
call dword [0x100010bc]
push ebx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
call dword [0x100010b8]
cmp eax, 0x3200000
jae 0x453290
push 2
push ebx
push ebx
push dword [ebp - 4]
call dword [0x100010c4]
push dword [ebp + 8]
call dword [0x10001048]
mov edi, eax
push edi
call fcn.0045e272
cmp edi, ebx
pop ecx
mov esi, eax
jle 0x4532be
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], edi
sub ecx, esi
mov dl, byte [ecx + eax]
xor dl, 0x62
mov byte [eax], dl
inc eax
dec dword [ebp + 8]
jne 0x4532b0
lea eax, [ebp - 8]
push ebx
push eax
push edi
push esi
push dword [ebp - 4]
call dword [0x100010c8]
push dword [ebp - 4]
call dword [0x1000118c]
push esi
call fcn.0045e278
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x453972
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
lea eax, [ebp - 0x110]
xor ebx, ebx
push 0x104
mov dword [ebp - 0xc], ecx
push eax
mov dword [ebp - 4], ebx
call dword [0x100010d8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x110]
push 0x10001bb4
push eax
call dword [0x10001050]
push ebx
push 0x80
push 3
push ebx
push 1
lea eax, [ebp - 0x110]
push 0x80000000
push eax
call dword [0x100010bc]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x453a20
push esi
push edi
push ebx
push eax
call dword [0x100010b8]
mov edi, eax
push edi
call fcn.0045e272
pop ecx
mov esi, eax
lea eax, [ebp - 4]
push ebx
push eax
push edi
push esi
push dword [ebp - 8]
call dword [0x100010c0]
xor eax, eax
cmp edi, ebx
jbe 0x453a0b
xor byte [eax + esi], 0x62
inc eax
cmp eax, edi
jb 0x453a02
mov ecx, dword [ebp - 0xc]
push edi
push esi
call fcn.00453928
push esi
mov ebx, eax
call fcn.0045e278
pop ecx
pop edi
pop esi
push dword [ebp - 8]
call dword [0x1000118c]
mov eax, ebx
pop ebx
leave
ret
Function at 0x454a30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x1001642a
call fcn.0045e28c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x88]
call fcn.00454144
mov edx, dword [ebp + 8]
xor edi, edi
mov eax, edx
mov dword [ebp - 4], edi
dec eax
mov dword [esi], 0x100037dc
je 0x454a7c
sub eax, 3
je 0x454a7c
sub eax, 4
je 0x454a7c
push 8
pop ecx
sub eax, ecx
je 0x454a7c
sub eax, 0x10
je 0x454a7c
mov dword [esi + 0x70], ecx
jmp 0x454a7f
mov dword [esi + 0x70], edx
mov ecx, esi
call fcn.00455179
test al, al
jne 0x454aa0
call dword [0x1000358c]
push eax
mov dword [esi + 0x10c], eax
call dword [0x10003590]
mov dword [esi + 0x44], eax
mov dword [esi + 0x10], 0xcc0020
mov byte [esi + 4], 1
call dword [0x100010f4]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, 0x3e8
xor edx, edx
div ecx
mov ebx, dword [0x10003598]
push edi
mov dword [esi + 8], ecx
mov dword [esi + 0x18], eax
mov al, byte [ebp + 0xc]
mov byte [esi + 0xc], al
call ebx
push 1
mov dword [esi + 0x28], eax
call ebx
push 0x20
mov dword [esi + 0x2c], eax
pop eax
mov ebx, dword [0x10003530]
cdq
idiv dword [esi + 0x70]
push dword [esi + 0x44]
mov dword [esi + 0x30], edi
mov byte [esi + 0x24], al
call ebx
push dword [esi + 0x44]
mov dword [esi + 0x4c], eax
call ebx
push edi
mov dword [esi + 0x80], eax
call ebx
push edi
mov dword [esi + 0x48], eax
call ebx
push 1
lea ebx, [esi + 0x5c]
push dword [esi + 0x28]
mov ecx, esi
mov dword [esi + 0x50], eax
mov dword [ebx], edi
push dword [esi + 0x70]
mov dword [esi + 0x60], edi
call fcn.00454f2d
push dword [esi + 0x2c]
mov ecx, esi
mov dword [esi + 0x64], eax
push dword [esi + 0x28]
push dword [esi + 0x70]
call fcn.00454f2d
push 1
mov ecx, esi
push dword [esi + 0x28]
mov dword [esi + 0x68], eax
push dword [esi + 0x70]
call fcn.00454f2d
push edi
push edi
push ebx
mov ebx, dword [0x10003538]
push edi
mov dword [esi + 0x6c], eax
push dword [esi + 0x64]
push dword [esi + 0x44]
call ebx
mov dword [esi + 0x54], eax
push edi
lea eax, [esi + 0x60]
push edi
push eax
push edi
push dword [esi + 0x68]
push dword [esi + 0x44]
call ebx
mov dword [esi + 0x58], eax
push edi
lea eax, [esi + 0x78]
push edi
push eax
push edi
push dword [esi + 0x68]
push dword [esi + 0x44]
call ebx
push dword [esi + 0x58]
mov ebx, dword [0x10003534]
mov dword [esi + 0x84], eax
push dword [esi + 0x4c]
call ebx
push dword [esi + 0x54]
push dword [esi + 0x48]
call ebx
push dword [esi + 0x84]
push dword [esi + 0x80]
call ebx
push dword [esi + 0x2c]
lea eax, [esi + 0x34]
push dword [esi + 0x28]
push edi
push edi
push eax
call dword [0x10003594]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x14]
shl eax, 1
push eax
call fcn.0045e272
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x68]
xor edx, edx
pop ecx
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0xc]
div dword [esi + 0x2c]
mov dword [esi + 0x20], edi
pop edi
mov dword [esi + 0x74], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4557fb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.004556c7
pop ecx
xor edx, edx
test eax, eax
pop ecx
jle 0x45582e
mov ecx, dword [ebp - 4]
add byte [ecx + edx], 0x7a
add ecx, edx
mov ecx, dword [ebp - 4]
xor byte [ecx + edx], 0x19
add ecx, edx
inc edx
cmp edx, eax
jl 0x455817
mov eax, dword [ebp - 4]
leave
ret

Function at 0x457d73
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x100164d2
call fcn.0045e28c
sub esp, 0x18
push ebx
push esi
mov esi, ecx
call fcn.00457784
test al, al
je 0x457e0c
push 0x18
call fcn.0045e272
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x457da2
call fcn.004575ec
mov ecx, eax
jmp 0x457da4
xor ecx, ecx
mov eax, dword [esi + 0x124]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
mov dword [esi + 0x118], ecx
je 0x457dc6
mov edx, dword [esi + 0x128]
cmp edx, ebx
je 0x457dc6
push edx
push eax
jmp 0x457e00
push 0x120
push 0x160
call fcn.00457803
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x457e13
mov ecx, dword [esi + 0x118]
push 0x90
push 0xb0
call fcn.00457803
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x457e13
mov ecx, dword [esi + 0x118]
push ebx
push ebx
call fcn.00457803
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x457e13
xor al, al
jmp 0x457ea0
push edi
mov dword [ebp - 0x24], 0x3336324d
mov dword [ebp - 0x20], 0x32335649
mov dword [ebp - 0x1c], 0x3234504d
mov dword [ebp - 0x18], 0x64697663
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x24]
push 0x78
call fcn.0045e272
cmp eax, ebx
pop ecx
je 0x457e4d
mov dword [eax], 0x10003814
mov dword [eax + 0x48], ebx
jmp 0x457e4f
xor eax, eax
push dword [edi]
mov ecx, dword [esi + 0x118]
mov dword [esi + 0x11c], eax
push dword [ecx + 8]
mov ecx, eax
call fcn.00457eae
test al, al
jne 0x457e8f
mov ecx, dword [esi + 0x11c]
cmp ecx, ebx
je 0x457e7b
mov eax, dword [ecx]
push 1
call dword [eax]
inc dword [ebp - 0x14]
add edi, 4
cmp dword [ebp - 0x14], 4
mov dword [esi + 0x11c], ebx
jb 0x457e36
jmp 0x457e9c
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x24]
mov dword [esi + 0x120], eax
mov al, byte [ebp - 0xd]
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4832e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x48]
push ebp
push eax
push ecx
lea ecx, [edi + 0x104]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.0047e200
test eax, eax
jne 0x48334c
push ebp
push 0x57af54
mov ecx, edi
call fcn.00482560
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
pop edi
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov edx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
push esi
push ebp
push ebp
push ebx
lea ecx, [edx + 0x14]
call fcn.0047dd80
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.00472130
push ebx
mov dword [esp + 0x4c], ebp
call fcn.0047e3b0
add esp, 4
test eax, eax
je 0x4833ef
add esi, 0x18
push esi
call fcn.00472b80
add esi, eax
push esi
call fcn.00472b80
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x4836f2
jmp dword [ecx*4 + 0x41df60]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.004826a0
mov ebx, dword [esp + 0x58]
mov ebp, eax
lea edi, [esi + 0x18]
mov edx, dword [ebp + 0x28]
lea ecx, [ebx + ebx*4]
mov esi, edi
lea eax, [edx + ecx*4]
push esi
mov dword [esp + 0x5c], eax
call fcn.00472b80
add esi, eax
push esi
call fcn.00472b80
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x483440
mov ecx, dword [esi + 0x1c]
push ecx
call dword [fcn.0047c594]
test eax, eax
je 0x483440
mov eax, 1
jmp 0x483442
xor eax, eax
cmp ebx, 8
jge 0x4836a7
cmp ebx, 7
ja 0x4836f2
jmp dword [ebx*4 + 0x41df70]
test eax, eax
jne 0x4836ba
mov ecx, dword [esp + 0x10]
push eax
push 0x57af40
call fcn.00482560
push 6
call dword [ebp + 0x2c]
lea edx, [esp + 0x1c]
xor ecx, ecx
add ebx, 0xfffffff8
push edx
mov dword [esp + 0x20], ecx
push ebx
push esi
mov dword [esp + 0x2c], ecx
call eax
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.00483c00
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x2c], 0x5670f8
call fcn.00472330
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov edx, edi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
Function at 0x48c2e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x592148]
xor edx, edx
cmp eax, edx
jne 0x48c306
xor eax, eax
mov byte [eax + 0x592048], al
inc eax
cmp eax, 0x100
jl 0x48c2ee
mov dword [0x592148], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x592048
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x48c397
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 0x48c36a
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 0x48c338
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x48c410
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 0x48c463
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 0x48c44a
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 0x490700
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x490921
cmp eax, 8
jg 0x490921
cmp dword [esp + 0x8c], 2
jl 0x490921
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x490921
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x490921
mov eax, dword [esp + 0x80]
test eax, eax
je 0x490787
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x49090a
mov ebp, dword [fcn.0047c4bc]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x4907b9
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x4908f1
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x4907d9
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [fcn.0047c4ac]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x490818
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [fcn.0047c4b0]
lea ecx, [esp + 0x28]
push ecx
call dword [fcn.0047c558]
test eax, eax
jne 0x4908d8
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.0048fd10
cmp eax, 1
jne 0x490902
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004905c0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x4907cd
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x49090a
jmp 0x4907a4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.0048f910
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c
Function at 0x492ea0
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 0x493038
cmp ebp, ebx
jle 0x493038
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 0x492efe
dec eax
or eax, 0xfffffff8
inc eax
je 0x492f05
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x492f14
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x492f1b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004d1e6e
add esp, 4
cmp eax, ebx
je 0x492f3c
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.004d1e6e
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 0x49302e
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 0x493015
mov al, byte [edx]
cmp al, 0xc0
jbe 0x493001
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x492ff6
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 0x493004
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x493004
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x492fa0
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 0x492f91
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 0x49abd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x479d80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.004987d0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x49ac29
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.00495c30
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.00495c20
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0049a280
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [fcn.0047c580]
push 0
lea ecx, [esp + 0x4c]
call fcn.004d8ad2
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.004a9b10
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.00498230
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [fcn.0047c0e0]
mov ecx, ebx
call fcn.00495ba0
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x49acf4
push edi
mov ecx, esi
call fcn.00498340
push eax
push ebp
mov ecx, esi
call fcn.00498500
cmp eax, dword [esp + 0x40]
jg 0x49acf0
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x49acce
mov eax, ebx
jmp 0x49acfa
cmp edi, ebx
jl 0x49acf8
mov eax, ebx
jmp 0x49acfa
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x49ad0b
mov dword [esp + 0x30], eax
jmp 0x49ad16
cmp edi, ebx
jl 0x49ad11
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00495b60
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x49ad5d
push edi
mov ecx, esi
call fcn.00498260
push eax
push ebx
mov ecx, esi
call fcn.00498630
cmp eax, dword [esp + 0x44]
jg 0x49ad55
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x49ad2f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x49ad67
cmp edi, ebp
jl 0x49ad61
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x49ad67
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x49ad70
mov ecx, eax
jmp 0x49ad79
cmp edi, ebp
jl 0x49ad76
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.00498250
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.004d8b44
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc