joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010241
Capabilities:
Get session user name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1013024]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp + 0x14]
xor edx, edx
push 0x7e
mov dword [ebp - 0x208], eax
pop ecx
mov dword [ebp - 0x204], edx
xor eax, eax
lea edi, [ebp - 0x200]
rep stosd dword es:[edi], eax
push edx
mov dword [ebp - 0x214], edx
stosw word es:[edi], ax
call esi
xor edi, edi
inc edi
cmp dword [ebp + 0x1c], edi
jne 0x10102bc
cmp dword [ebp - 0x208], 0
je 0x10102bc
push 0x100129c
push dword [ebp - 0x208]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1010393
and dword [ebp - 0x210], 0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x10102e5
push eax
push eax
push dword [ebp - 0x20c]
mov dword [ebp - 0x210], edi
call fcn.01010220
mov edi, eax
jmp 0x1010313
mov eax, dword [ebp + 0x1c]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x208]
push eax
push ebx
push dword [ebp - 0x20c]
call fcn.01010220
cmp dword [ebp + 0x1c], 0
mov edi, eax
jne 0x1010313
mov dword [ebp - 0x210], 1
test edi, edi
jne 0x1010330
cmp dword [ebp - 0x210], 1
jne 0x1010477
push 0x50010001
call esi
jmp 0x1010477
mov eax, 0x4c3
cmp edi, eax
ja 0x1010371
je 0x101047f
cmp edi, 0x34
je 0x1010351
cmp edi, 0x56
je 0x101038d
cmp edi, 0x4be
jne 0x1010360
push 0x4c6
call esi
call fcn.0100e003
push edi
call esi
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100db46
leave
ret 0x18
cmp edi, 0x4cf
jb 0x1010360
cmp edi, 0x4d1
jbe 0x1010351
cmp edi, 0x52e
jne 0x1010457
cmp dword [ebp + 0x1c], 0
je 0x1010360
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call edi
test eax, eax
jne 0x10103b7
lea eax, [ebp + 0x10]
push eax
push ebx
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x10103b7
call fcn.0100e003
jmp 0x1010360
push ebx
push 0x157d
call fcn.0100ec7a
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
call edi
push eax
lea eax, [ebp - 0x204]
push eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0x40
push dword [ebp - 0x208]
call fcn.0100e49c
push dword [ebp - 0x208]
push ebx
push dword [ebp - 0x20c]
call fcn.01010220
mov edi, eax
test edi, edi
je 0x1010477
cmp edi, 0x34
je 0x1010351
cmp edi, 0x4be
je 0x1010351
mov eax, 0x4c3
cmp edi, eax
je 0x101047f
cmp edi, 0x4ce
jbe 0x1010360
cmp edi, 0x4d1
jbe 0x1010351
mov eax, 0xa0010001
cmp edi, eax
jne 0x1010360
push eax
call esi
push 0x157e
call fcn.0100ec7a
push eax
call fcn.0100dd7c
xor eax, eax
inc eax
jmp 0x1010362
push eax
jmp 0x1010329
Function at 0x1011f9b
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x10015a0
call fcn.0101219c
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1011fd6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1011fd6
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1011fee
cmp eax, 0x20b
je 0x1011fdb
mov dword [ebp - 0x1c], edi
jmp 0x1012002
cmp dword [ecx + 0x84], 0xe
jbe 0x1011fd6
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1011ffc
cmp dword [ecx + 0x74], 0xe
jbe 0x1011fd6
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1013064], 0xffffffff
or dword [0x1013068], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x101305c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1013058]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x101306c], eax
call fcn.01012194
cmp dword [0x1013030], edi
jne 0x101205d
push fcn.01012194
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0101217d
push 0x1013010
push 0x101300c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1013054]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1013050]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
push 0x1013008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0100b5c9
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x10120d4
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1012109
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010121d7
ret
Function at 0x7ce058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x7ce1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x7ce07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7ce06a
add dl, dl
jne 0x7ce089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7ce0dc
xor eax, eax
add dl, dl
jne 0x7ce096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7ce17d
add dl, dl
jne 0x7ce0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7ce0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7ce0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7ce0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x7ce0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x7ce075
mov eax, 1
add dl, dl
jne 0x7ce0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7ce0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7ce0e1
sub eax, ebx
mov ebx, 1
jne 0x7ce128
mov ecx, 1
add dl, dl
jne 0x7ce10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7ce119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7ce105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7ce075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7ce13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7ce14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7ce136
cmp eax, 0x7d00
jae 0x7ce16d
cmp eax, 0x500
jb 0x7ce168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7ce075
cmp eax, 0x7f
ja 0x7ce170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7ce075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x7ce19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x7ce075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1002057
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1002558
call fcn.010021e4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1004378
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1001e69
cmp eax, esi
jne 0x1001e5c
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1001e6c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1001e43
xor esi, esi
inc esi
mov eax, dword [0x1004374]
cmp eax, esi
jne 0x1001e7f
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1001eba
mov eax, dword [0x1004374]
test eax, eax
jne 0x1001eb4
mov dword [0x1004374], esi
push 0x1001190
push 0x1001184
call fcn.01001dc0
pop ecx
pop ecx
test eax, eax
je 0x1001eba
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1001f84
mov dword [0x1004038], esi
mov eax, dword [0x1004374]
cmp eax, esi
jne 0x1001ede
push 0x1001180
push 0x1001178
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1004374], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1001eeb
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100437c], ebx
je 0x1001f0c
push 0x100437c
call fcn.01002159
pop ecx
test eax, eax
je 0x1001f0c
push ebx
push 2
push ebx
call dword [0x100437c]
push dword [0x1004020]
push dword [0x1004024]
push dword [0x100401c]
call fcn.01001d45
add esp, 0xc
mov dword [0x1004034], eax
cmp dword [0x1004028], ebx
jne 0x1001f6a
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1004038], ebx
jne 0x1001f78
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1004034]
call fcn.01002229
ret
call fcn.01002331
jmp 0x1001e21
Function at 0x71cdde
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x467c18
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, reloc.MSVCRT.dll_strncpy
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.00717cde
test eax, eax
jne 0x71ce4a
push ebp
push 0x48cf24
mov ecx, edi
call fcn.0071c05e
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.0071770e
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.0070ebde
push ebx
mov dword [esp + 0x4c], ebp
call fcn.00717e8e
add esp, 4
test eax, eax
je 0x71ceed
add esi, 0x18
push esi
call fcn.0070f62e
add esi, eax
push esi
call fcn.0070f62e
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x71d1f0
jmp dword [ecx*4 + 0x416270]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.0071c19e
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.0070f62e
add esi, eax
push esi
call fcn.0070f62e
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x71cf3e
mov ecx, dword [esi + 0x1c]
push ecx
call dword [fcn.0046b400]
test eax, eax
je 0x71cf3e
mov eax, 1
jmp 0x71cf40
xor eax, eax
cmp ebx, 8
jge 0x71d1a5
cmp ebx, 7
ja 0x71d1f0
jmp dword [ebx*4 + 0x416280]
test eax, eax
jne 0x71d1b8
mov ecx, dword [esp + 0x10]
push eax
push 0x48cf10
call fcn.0071c05e
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.0071d6fe
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x48], reloc.MSVCRT.dll_strncpy
mov dword [esp + 0x2c], 0x47a878
call fcn.0070edde
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 0x725cee
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4a3890]
xor edx, edx
cmp eax, edx
jne 0x725d14
xor eax, eax
mov byte [eax + 0x4a3790], al
inc eax
cmp eax, 0x100
jl 0x725cfc
mov dword [0x4a3890], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4a3790
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x725da5
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 0x725d78
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 0x725d46
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x725e1e
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 0x725e71
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 0x725e58
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 0x72a10e
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 0x72a32f
cmp eax, 8
jg 0x72a32f
cmp dword [esp + 0x8c], 2
jl 0x72a32f
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 0x72a32f
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x72a32f
mov eax, dword [esp + 0x80]
test eax, eax
je 0x72a195
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 0x72a318
mov ebp, dword [fcn.0046b444]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x72a1c7
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x72a2ff
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x72a1e7
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.0046b454]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x72a226
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [fcn.0046b450]
lea ecx, [esp + 0x28]
push ecx
call dword [fcn.0046b410]
test eax, eax
jne 0x72a2e6
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.0072971e
cmp eax, 1
jne 0x72a310
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.00729fce
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x72a1db
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x72a318
jmp 0x72a1b2
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.0072931e
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 0x72c8ae
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 0x72ca46
cmp ebp, ebx
jle 0x72ca46
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x72c90c
dec eax
or eax, 0xfffffff8
inc eax
je 0x72c913
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x72c922
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x72c929
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.007630f2
add esp, 4
cmp eax, ebx
je 0x72c94a
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.007630f2
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 0x72ca3c
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 0x72ca23
mov al, byte [edx]
cmp al, 0xc0
jbe 0x72ca0f
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x72ca04
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 0x72ca12
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x72ca12
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x72c9ae
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 0x72c99f
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 0x73410e
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x469028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.00734c8e
lea edx, [esp + 0x18]
push eax
push edx
call dword [fcn.0046b5ec]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [fcn.0046b410]
test eax, eax
je 0x7341b7
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00733d9e
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [fcn.0046b444]
push edi
lea ecx, [esp + 0x4c]
call fcn.00769d50
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.0074359e
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [fcn.0046b0e8]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [fcn.0046b3dc]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [fcn.0046b450]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], reloc.MSVCRT.dll_strncpy
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.00769dc2
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14