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

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
mov ebp, dword [edx + 0x1050]
push edi
mov edi, dword [edx + 0x105c]
imul edi, ebp
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x18]
add edi, eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jae 0x413c8e
push ebx
push esi
mov esi, 0xff00
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x1058]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], ebx
add ebp, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
jae 0x413c68
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
movzx eax, word [ebp + 2]
movzx ebp, word [ebp]
mov dword [esp + 0x18], edx
mov ebx, eax
mov ecx, 0xff
and bx, cx
and dx, cx
add ebx, edx
mov edx, ebp
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, eax
and cx, si
and eax, esi
lea edx, [ebx + edx + 2]
mov ebx, dword [esp + 0x18]
and bx, si
shr edx, 2
add ecx, ebx
mov ebx, ebp
and bx, si
and ebp, esi
add ecx, ebx
mov ebx, edi
and bx, si
and edi, esi
lea ecx, [ecx + ebx + 0x200]
mov ebx, dword [esp + 0x1c]
shr ecx, 2
xor dl, cl
mov ecx, dword [esp + 0x18]
and ecx, esi
add eax, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea eax, [eax + edi + 0x200]
shr eax, 2
and edx, 0xffff00ff
xor edx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
add ebx, 4
add ebp, 4
cmp ebx, dword [esp + 0x28]
mov word [eax], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jb 0x413bb3
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x1050]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x1050]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x413b8a
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x413c96
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x105c]
push edi
mov edi, dword [edx + 0x1050]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x413dcc
push ebx
mov edx, dword [edx + 0x1058]
add edx, eax
add edi, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x413da7
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0xf
pop ecx
and edx, ecx
mov ebx, ebp
and ebx, ecx
add edx, ebx
mov ebx, edi
and ebx, ecx
add edx, ebx
mov ebx, esi
and ebx, ecx
lea edx, [edx + ebx + 2]
mov ecx, eax
and ecx, 0xffff00f0
mov ebx, ebp
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00f0
shr edx, 2
lea ecx, [ecx + ebx + 0x20]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xf0
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0xf
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x20]
shr eax, 2
xor dl, al
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
inc ebx
inc ebx
inc edi
inc edi
cmp ebx, dword [esp + 0x24]
mov byte [eax], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jb 0x413cf5
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1050]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1050]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x413cd1
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret

Function at 0x41c75c
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x41c789
push esi
call fcn.0042c269
cmp byte [esi + 0x40], 0
pop ecx
je 0x41c782
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x41c7f8
mov eax, dword [esi + 0x18c]
cmp byte [eax + 0x10], 0
je 0x41c7ed
mov eax, dword [esi + 8]
test eax, eax
je 0x41c7aa
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x18c]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x41c7e9
cmp eax, 2
je 0x41c7ed
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41c79f
cmp eax, 3
je 0x41c7ce
cmp eax, 1
jne 0x41c79f
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x41c79f
mov edx, dword [esi + 0x118]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x41c79f
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x41c816
cmp eax, 0xcc
je 0x41c816
mov eax, dword [esi]
mov dword [eax + 0x14], 0x12
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.0041c62f
pop esi
ret
Function at 0x42db73
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x42db81
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 8
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x42dc55
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [edx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, ecx
mov esi, dword [ebx*4 + 0x6243b8]
xor ebx, ebx
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x6243b8]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x6243b8]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x6243b8]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x6243b8]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x6243b8]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x6243b8]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x6243b8]
shr esi, 8
xor esi, edi
inc edx
dec eax
jne 0x42db9e
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x42dc75
xor eax, eax
mov al, byte [edx]
xor eax, esi
and eax, ecx
mov eax, dword [eax*4 + 0x6243b8]
shr esi, 8
xor esi, eax
inc edx
dec dword [ebp + 0x10]
jne 0x42dc5b
mov eax, esi
not eax
pop esi
pop ebp
ret
Function at 0x43c4d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
push eax
push 0x1000
push 1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
push edx
call fcn.005caf95
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
ja 0x43c565
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x24]
test ecx, ecx
je 0x43c52c
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [eax + 0x14], 0x2a
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax]
call ecx
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [eax + 0x14], 0x78
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
call ecx
add esp, 8
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
mov byte [eax], 0xff
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
mov byte [edx + 1], 0xd9
mov dword [ebp - 4], 2
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 8]
mov byte [edx + 0x24], 0
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x459aa0
Capabilities:
Contain obfuscated stackstrings
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6a1450]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x11
mov dword [ebp - 0x28], 4
call fcn.005ca164
push 0x280
mov ebx, eax
call fcn.005ca164
mov esi, eax
add esp, 8
test esi, esi
jne 0x459aea
pop esi
mov eax, 0x641586
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c9914
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x459b0b
push dword [ebp - 0x28]
call fcn.005ca164
mov esi, eax
add esp, 4
test esi, esi
je 0x459ad5
movdqa xmm0, xmmword [0x65e9d0]
lea eax, [ebp - 0x28]
push eax
push esi
movdqu xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x3a583230
mov dword [ebp - 0x10], 0x58323025
mov dword [ebp - 0xc], 0x3230253a
mov word [ebp - 8], 0x58
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x459b91
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.005ca1f6
add esp, 0x20
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c9914
mov esp, ebp
pop ebp
ret
push esi
call fcn.005ca27a
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop esi
pop ebx
call fcn.005c9914
mov esp, ebp
pop ebp
ret
Function at 0x45c730
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x6a1450]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
mov edi, ecx
push eax
push 3
call fcn.005390a0
test al, al
jne 0x45c767
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c9914
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00539000
movzx ecx, word [ebp - 0x1f]
cmp ecx, eax
jg 0x45c754
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
push 7
call fcn.00539280
test al, al
je 0x45c7b7
mov eax, dword [ebp - 0x2b]
mov ecx, dword [ebp - 0x29]
add eax, 0xfffffff9
movzx ebx, ax
push ebx
mov dword [ebp - 0x24], ecx
call fcn.005c8ca5
add esp, 4
mov esi, eax
mov ecx, edi
push esi
push ebx
call fcn.00539280
test al, al
jne 0x45c7ca
push esi
call fcn.0045d2b0
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c9914
mov esp, ebp
pop ebp
ret
cmp dword [0x6a5574], 0x10
mov eax, 0x6a5560
cmovae eax, dword [0x6a5560]
push eax
call fcn.0052b570
mov ecx, dword [ebp - 0x24]
add esp, 4
call fcn.0045b740
push eax
lea ecx, [ebp - 0x1c]
call fcn.0045b980
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x64cb98
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.005ca5ef
mov edi, eax
add esp, 8
test edi, edi
jne 0x45c823
push esi
call fcn.0045d2b0
add esp, 4
xor bl, bl
jmp 0x45c83e
push edi
push 1
push ebx
push esi
call fcn.005ca75d
push edi
call fcn.005ca84b
push esi
call fcn.0045d2b0
add esp, 0x18
mov bl, 1
lea ecx, [ebp - 0x1c]
call fcn.0045a9a0
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c9914
mov esp, ebp
pop ebp
ret
Function at 0x45d4a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 1
call dword [sym.imp.DevIL.dll_ilGenImages]
push dword [ebp - 4]
call dword [sym.imp.DevIL.dll_ilBindImage]
push 0x600
call dword [sym.imp.DevIL.dll_ilEnable]
push 0x602
call dword [sym.imp.DevIL.dll_ilOriginFunc]
mov edi, dword [ebp + 8]
push edi
push 0
call dword [sym.imp.DevIL.dll_ilLoad]
test al, al
jne 0x45d4f6
mov eax, dword [ebp + 0xc]
pop edi
pop ebx
mov dword [eax], 2
xor al, al
mov esp, ebp
pop ebp
ret 8
push esi
mov esi, dword [sym.imp.DevIL.dll_ilGetInteger]
push 0xde4
call esi
cmp eax, 0x40
je 0x45d51d
mov eax, dword [ebp + 0xc]
pop esi
pop edi
pop ebx
mov dword [eax], 3
xor al, al
mov esp, ebp
pop ebp
ret 8
push 0xde5
call esi
cmp eax, 0x80
je 0x45d53f
mov eax, dword [ebp + 0xc]
pop esi
pop edi
pop ebx
mov dword [eax], 4
xor al, al
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 4]
push eax
push 1
call dword [sym.imp.DevIL.dll_ilDeleteImages]
call dword [sym.imp.DevIL.dll_ilShutDown]
push 0x64cbc8
push edi
call fcn.005ca5ef
mov esi, eax
add esp, 8
test esi, esi
jne 0x45d56e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 2
push 2
push 0
push esi
call fcn.005ca951
push esi
call fcn.005cad64
push 0
push 0
push esi
mov dword [ebx + 0x394], eax
call fcn.005ca951
push dword [ebx + 0x394]
call fcn.005c8ca5
push esi
push 1
push dword [ebx + 0x394]
mov dword [ebx + 0x39c], eax
push eax
call fcn.005caf95
push esi
call fcn.005ca84b
push edi
call fcn.0052be50
add esp, 0x38
mov dword [ebx + 0x398], eax
mov al, 1
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x463540
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x600f28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6a1450]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
call fcn.004611e0
test eax, eax
je 0x46358a
add eax, 0x1dc
jmp 0x46358c
xor eax, eax
push eax
lea ecx, [esp + 0xc]
call fcn.00587b00
lea eax, [esp + 8]
mov dword [esp + 0x30], 0
push eax
lea ecx, [esi + 0x1dc]
call fcn.00587910
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.00587b70
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005c9914
mov esp, ebp
pop ebp
ret 4
Function at 0x465fd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp ecx, edx
jbe 0x465fe0
mov eax, ecx
mov ecx, edx
mov edx, eax
xor eax, eax
mov dword [ebp - 4], edx
push esi
mov dword [ebp - 8], ecx
lea edx, [ebp - 8]
lea esi, [eax + 8]
nop
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
xor eax, ecx
dec esi
jne 0x465ff0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46a530
Capabilities:
Access peb ldr_data
Create directory
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60123f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [0x6f86a8], ebx
mov dword [ebp - 4], 0
mov dword [ebx], vtable.CGuildMarkManager.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.004632c0
mov dword [ebx + 4], eax
mov byte [ebp - 4], 1
lea ecx, [ebx + 0xc]
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
call fcn.004632c0
mov dword [ebx + 0xc], eax
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x14]
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
call fcn.00467800
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x30], 0xf
mov dword [ebx + 0x2c], 0
mov byte [ebx + 0x1c], 0
mov byte [ebp - 4], 4
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
call fcn.0046b280
mov dword [ebx + 0x34], eax
push str.mark
mov byte [ebp - 4], 5
call fcn.005cbc1d
add esp, 4
xor esi, esi
mov dword [ebp - 0x10], esi
movzx eax, byte [0x6f7df8]
lea ecx, [ebx + 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00467ab0
inc esi
mov dword [ebp - 0x10], esi
cmp esi, 0x1900
jb 0x46a602
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46c5c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046c5d0

Function at 0x46c5d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
lea ecx, [esi + 0x18]
movzx eax, byte [edi + 0x20]
mov byte [esi + 0x20], al
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
lea eax, [edi + 0x18]
push eax
call fcn.0045ae90
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x70]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x74]
mov dword [esi + 0x74], eax
movzx eax, word [edi + 0x78]
mov word [esi + 0x78], ax
movzx eax, word [edi + 0x86]
mov word [esi + 0x86], ax
movzx eax, byte [edi + 0x7a]
mov byte [esi + 0x7a], al
mov eax, dword [edi + 0x7c]
mov dword [esi + 0x7c], eax
mov eax, dword [edi + 0x80]
mov dword [esi + 0x80], eax
movzx eax, byte [edi + 0x84]
mov byte [esi + 0x84], al
mov eax, dword [edi + 0x88]
mov dword [esi + 0x88], eax
cmp esi, edi
je 0x46c6c3
push 0xffffffffffffffff
push 0
push edi
mov ecx, esi
call fcn.0045ad40
pop edi
pop esi
pop ebp
ret 4
Function at 0x46d230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebx + 0x18]
mov edx, edi
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x46d264
mov ecx, dword [esi]
jmp 0x46d250
cmp dword [eax + 0x10], ecx
jae 0x46d25a
mov eax, dword [eax + 8]
jmp 0x46d25e
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x46d250
cmp edx, edi
je 0x46d272
mov eax, dword [esi]
mov dword [ebp + 8], edx
cmp eax, dword [edx + 0x10]
jae 0x46d275
mov dword [ebp + 8], edi
lea eax, [ebp + 8]
mov eax, dword [eax]
cmp edi, eax
je 0x46d381
lea edi, [eax + 0x14]
mov ecx, ebx
push edi
call fcn.0046ca60
mov ebx, eax
test ebx, ebx
je 0x46d324
push dword [esi + 8]
mov ecx, ebx
call fcn.00461f80
push dword [esi + 0x14]
mov ecx, ebx
push dword [esi + 0xc]
call fcn.00461f40
push dword [esi + 0x10]
mov ecx, ebx
call fcn.004612d0
push dword [esi + 0x30]
mov ecx, ebx
push dword [esi + 4]
call fcn.0045f1b0
push dword [esi + 0x14]
mov ecx, ebx
call fcn.00461e90
lea eax, [esi + 0x3c]
push eax
call fcn.004667c0
push dword [esi + 0x18]
mov ecx, ebx
call fcn.00468d60
push dword [esi + 0x1c]
mov ecx, ebx
call fcn.00468d00
movzx eax, word [esi + 0x20]
mov ecx, ebx
push eax
call fcn.004609d0
movzx eax, word [esi + 0x34]
mov ecx, ebx
push eax
call fcn.004609f0
push dword [esi + 0x24]
mov ecx, ebx
call fcn.00460a10
movzx eax, byte [esi + 0x28]
mov ecx, ebx
push eax
call fcn.00460a30
push dword [esi + 0x38]
mov ecx, ebx
call fcn.00460a90
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x80], eax
movzx eax, byte [esi + 0x30]
mov byte [edi + 0x84], al
mov eax, dword [esi + 0x18]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x6c], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x70], eax
movzx eax, word [esi + 0x20]
mov word [edi + 0x78], ax
movzx eax, word [esi + 0x34]
mov word [edi + 0x86], ax
movzx eax, byte [esi + 0x28]
mov byte [edi + 0x7a], al
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x46dcf0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6014c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6a1450]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], edx
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x46ddff
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0052b270
push 0x224
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.005cd520
add esp, 0x10
mov dword [ebp - 0x250], 0x224
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x46dde7
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
lea ebx, [ebx]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x130]
cmovae edx, dword [ebp - 0x28]
call fcn.0046dca0
test eax, eax
jne 0x46de1d
push 0x224
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.005cd520
add esp, 0xc
mov dword [ebp - 0x250], 0x224
lea eax, [ebp - 0x250]
push eax
push esi
call edi
test eax, eax
jne 0x46dda0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0x10
jb 0x46ddff
push dword [ebp - 0x28]
call fcn.004dbb70
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9914
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0x130], 0
jne 0x46de2a
xor ecx, ecx
jmp 0x46de3c
lea ecx, [ebp - 0x130]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46de33
sub ecx, edx
push ecx
lea eax, [ebp - 0x130]
mov ecx, ebx
push eax
call fcn.0045a870
mov ecx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x23c]
push esi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0x10
jb 0x46de71
push dword [ebp - 0x28]
call fcn.004dbb70
add esp, 4
mov al, 1
jmp 0x46de01