joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455d4e
Capabilities:
Enumerate browser history

Disassembly:
call fcn.00445ae2
jmp fcn.004455bf

Function at 0x455dd7
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
lea eax, [ebp - 0x18]
push edi
mov edi, dword [sym.imp.USER32.dll_GetCursorPos]
mov esi, ecx
push eax
call edi
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 6
push eax
push 0
push 0x1111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [esi + 8], eax
je 0x455f72
push eax
mov ecx, esi
call fcn.004549ad
mov ebx, eax
cmp ebx, 3
je 0x455e64
cmp ebx, 4
je 0x455e64
cmp ebx, 7
je 0x455e64
cmp ebx, 9
je 0x455e64
cmp ebx, 8
je 0x455e55
cmp ebx, 2
je 0x455e55
cmp ebx, 6
jne 0x455f72
xor eax, eax
cmp dword [ebp + 8], eax
setne al
add eax, 0xa0
jmp 0x455e73
cmp dword [ebp + 8], 0
mov eax, 0x9f
jne 0x455f72
push eax
push dword [0x531f10]
call dword [sym.imp.USER32.dll_LoadMenuA]
push 0
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
call edi
test ebx, ebx
je 0x455ea9
push 3
push 0x802d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_EnableMenuItem]
cmp dword [ebp + 8], 0
jne 0x455f45
mov al, byte [0x45e298]
push 0x40
mov byte [ebp - 0x14c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x14b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp ebx, 3
mov eax, 0xc41
je 0x455ee2
cmp ebx, 4
je 0x455ee2
cmp ebx, 2
jne 0x455ee7
mov eax, 0xc40
lea ecx, [ebp - 0x14c]
push 0x104
push ecx
push eax
push dword [0x531f10]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0xc
xor eax, eax
pop ecx
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14c]
lea edi, [ebp - 0x14c]
mov dword [ebp - 0x24], eax
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp - 0x48], 0x30
repne scasb al, byte es:[edi]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], 0x40
push eax
push 1
not ecx
push 2
dec ecx
push dword [ebp - 4]
mov dword [ebp - 0x20], ecx
call dword [sym.imp.USER32.dll_SetMenuItemInfoA]
push dword [ebp - 4]
mov ecx, 0x4606d0
call fcn.00431f84
xor eax, eax
push eax
push dword [esi + 0xc]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_DestroyMenu]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45736b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov dl, byte [0x45e298]
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x10b]
mov byte [ebp - 0x10c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x20f]
mov byte [ebp - 0x210], dl
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.00446f8b
pop ecx
lea eax, [ebp - 0x210]
pop ecx
push esi
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
or ebx, 0xffffffff
lea edi, [ebp - 0x210]
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, 0x410664
sub esi, ecx
mov edi, edx
mov ecx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jbe 0x457435
mov edi, edx
mov ecx, ebx
repne scasb al, byte es:[edi]
lea esi, [ebp - 0x210]
not ecx
mov eax, esi
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, eax
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x210]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor edi, edi
cmp dword [0x531f58], edi
je 0x457456
mov ecx, dword [ebp - 4]
push 1
push edi
push edi
lea eax, [ebp - 0x10c]
push edi
push eax
push edi
call fcn.00456787
jmp 0x4574a8
lea eax, [ebp - 0x10c]
test eax, eax
jne 0x457464
xor ebx, ebx
jmp 0x457499
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0045c140
mov ebx, esp
push esi
push ebx
lea eax, [ebp - 0x10c]
push 0xffffffffffffffff
push eax
push edi
push edi
mov word [ebx], di
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 4]
push 1
push edi
push edi
push edi
push ebx
push edi
call fcn.00456cc4
lea esp, [ebp - 0x21c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4576da
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc]
stosw word es:[edi], ax
xor eax, eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 1
push eax
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x10], 0x454
mov dword [ebp - 6], 0x45e298
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
pop edi
inc eax
leave
ret 8
Function at 0x45a857
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe60
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x3e8
mov ebx, ecx
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x18]
push eax
push edi
call esi
lea eax, [ebp - 0x10]
push eax
push edi
call esi
mov eax, dword [ebp - 0xc]
xor esi, esi
sub eax, dword [ebp - 0x14]
push esi
push dword [0x531f10]
push 0x7000
push edi
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x52010a44
push esi
push 0x40a954
push 0x60010
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
cmp edi, esi
mov dword [ebp - 0x1c], edi
jne 0x45a8dc
xor eax, eax
jmp 0x45aa27
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push dword [0x473eac]
push 0x30
push edi
call esi
push 0
push 0xfffffffffffffffc
push 4
push edi
call fcn.004480d0
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
movzx eax, ax
mov ecx, eax
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x43b
push edi
call esi
push 0
push 0x14
push 0x41e
push edi
call esi
push dword [ebx + 0xe0]
push 0
push 0x430
push edi
call esi
push 0xc0002
push 0
push 0x457
push edi
call esi
push 0
push 0
push 0x420
push edi
call esi
mov eax, 0xffffff
mov dword [ebp - 0x28], 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0x2002
push edi
call esi
and dword [ebp - 8], 0
cmp dword [ebx + 0xa8], 0
jle 0x45a9f5
lea eax, [ebp - 0xe60]
lea edi, [ebp - 0x11c]
mov dword [ebp + 8], eax
lea eax, [ebx + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push 0x104
push dword [ebp + 8]
mov dword [edi - 0x10], eax
mov eax, dword [ebp - 4]
push dword [eax]
push dword [0x531f10]
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [ebp + 8]
add dword [ebp - 4], 4
mov dword [edi], eax
mov eax, dword [ebp - 8]
add dword [ebp + 8], 0x104
add edi, 0x14
lea ecx, [eax + 0x7000]
mov dword [edi - 0x20], ecx
mov byte [edi - 0x1c], 4
mov byte [edi - 0x1b], 0x40
and dword [edi - 0x18], 0
inc eax
cmp eax, dword [ebx + 0xa8]
mov dword [ebp - 8], eax
jl 0x45a99c
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x12c]
push eax
push dword [ebx + 0xa8]
push 0x414
push edi
call esi
push 0
push 0
push 0x421
push edi
call esi
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebx + 0xe8], edi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45aa55
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi + edi*4 + 0x74]
test eax, eax
je 0x45aa79
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x45ab04
push ebx
push 0x3e9
push dword [esi + 0xe4]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0xe4]
call ebx
lea eax, [ebp - 8]
push eax
push dword [esi + 0xe4]
call ebx
movzx eax, word [esi + edi*4 + 0x40]
push esi
push dword [esi + edi*4 + 0xac]
push dword [esi + 0xe4]
push eax
push dword [0x531f10]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
sub edx, ecx
sub edx, 4
push 4
push edx
mov edx, dword [ebp - 0x10]
sub ebx, edx
add ecx, 2
sub ebx, 4
add edx, 2
push ebx
push ecx
push edx
push 0
push eax
mov dword [esi + edi*4 + 0x74], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop ebx
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [esi + edi*4 + 0x74]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0xc]
lea eax, [edi + 0x7000]
push eax
push 0x402
push dword [esi + 0xe8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp + 0xc], 0
je 0x45ab48
mov dword [esi + 0xec], edi
mov dword [0x472814], edi
jmp 0x45ab4f
or dword [esi + 0xec], 0xffffffff
pop edi
pop esi
leave
ret 8

Function at 0x45adc0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x5367e0
call fcn.0045b100
push 0x40
push 0x403210
push 0x5367e0
push 0x5367e0
call fcn.0045b020
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x45ae4b
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x410888]
mov ecx, 8
mov esi, eax
mov edi, 0x536820
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0045af60
mov ecx, dword [0x410884]
mov edx, dword [0x410888]
push 0x20
push ecx
push edx
call fcn.0045b070
mov edi, dword [0x410884]
add esp, 0x14
mov ecx, 8
mov esi, 0x536820
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x45adff
jmp 0x45aea4
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x410884]
mov ecx, 8
mov esi, eax
mov edi, 0x536820
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0045af60
mov ecx, dword [0x410888]
mov edx, dword [0x410884]
push 0x20
push ecx
push edx
call fcn.0045b070
mov edi, dword [0x410888]
add esp, 0x14
mov ecx, 8
mov esi, 0x536820
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x45ae5a
push 0x40
push 0x403250
push 0x5367e0
push 0x5367e0
call fcn.0045b020
mov eax, dword [esp + 0x24]
push 0x40
push 0x5367e0
push eax
call fcn.0045b140
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x45aee0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x536890
call fcn.0045b100
push 0x38
push str.91__
push 0x536890
push 0x536890
call fcn.0045b020
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x403348]
mov edx, dword [0x41088c]
push ecx
push 0x1c
push edx
call fcn.0045b0a0
movsx eax, byte [esi + 0x403348]
mov ecx, dword [0x410890]
push eax
push 0x1c
push ecx
call fcn.0045b0a0
push 0x30
push 0x403318
push 0x536890
push edi
call fcn.0045b020
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x45af12
pop edi
pop esi
ret

Function at 0x45af60
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x403290
push esi
push 0x536840
call fcn.0045b020
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x536840
call fcn.0045b070
push 0x536840
push esi
call fcn.0045afb0
push 0x20
push 0x4032c0
push esi
push esi
call fcn.0045b020
add esp, 0x34
pop esi
ret

Function at 0x45b070
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x45b092
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x45b084
pop ebx
pop esi
ret

Function at 0x45b20f
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.0045b245
test eax, eax
je 0x45b226
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x52cbb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bdf58
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.00527ab0
test eax, eax
jne 0x52cc1c
push ebp
push 0x53ffc8
mov ecx, edi
call fcn.0052be30
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.00527470
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.00517090
push ebx
mov dword [esp + 0x4c], ebp
call fcn.00527c60
add esp, 4
test eax, eax
je 0x52ccbf
add esi, 0x18
push esi
call fcn.00568cb0
add esi, eax
push esi
call fcn.00568cb0
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x52cfc2
jmp dword [ecx*4 + 0x448400]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.0052bf70
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.00568cb0
add esi, eax
push esi
call fcn.00568cb0
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x52cd10
mov ecx, dword [esi + 0x1c]
push ecx
call dword [fcn.004c3570]
test eax, eax
je 0x52cd10
mov eax, 1
jmp 0x52cd12
xor eax, eax
cmp ebx, 8
jge 0x52cf77
cmp ebx, 7
ja 0x52cfc2
jmp dword [ebx*4 + 0x448410]
test eax, eax
jne 0x52cf8a
mov ecx, dword [esp + 0x10]
push eax
push 0x53ffb4
call fcn.0052be30
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.0052d4d0
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], 0x5274a8
call fcn.00517290
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 0x535b70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x55ac00]
xor edx, edx
cmp eax, edx
jne 0x535b96
xor eax, eax
mov byte [eax + 0x55ab00], al
inc eax
cmp eax, 0x100
jl 0x535b7e
mov dword [0x55ac00], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x55ab00
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x535c27
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 0x535bfa
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 0x535bc8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x535ca0
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 0x535cf3
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 0x535cda
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 0x539f90
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 0x53a1b1
cmp eax, 8
jg 0x53a1b1
cmp dword [esp + 0x8c], 2
jl 0x53a1b1
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 0x53a1b1
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x53a1b1
mov eax, dword [esp + 0x80]
test eax, eax
je 0x53a017
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 0x53a19a
mov ebp, dword [fcn.004c34c8]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x53a049
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x53a181
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x53a069
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.004c34b8]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x53a0a8
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [fcn.004c34bc]
lea ecx, [esp + 0x28]
push ecx
call dword [fcn.004c3534]
test eax, eax
jne 0x53a168
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.005395a0
cmp eax, 1
jne 0x53a192
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.00539e50
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x53a05d
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x53a19a
jmp 0x53a034
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.005391a0
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 0x53c730
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 0x53c8c8
cmp ebp, ebx
jle 0x53c8c8
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 0x53c78e
dec eax
or eax, 0xfffffff8
inc eax
je 0x53c795
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x53c7a4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x53c7ab
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.005960d4
add esp, 4
cmp eax, ebx
je 0x53c7cc
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.005960d4
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 0x53c8be
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 0x53c8a5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x53c891
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x53c886
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 0x53c894
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x53c894
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x53c830
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 0x53c821
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