joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6a3690
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x208
test eax, eax
push ebx
push esi
push edi
jne 0x6a36bb
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
jne 0x6a36e3
mov byte [esp + 0xc], al
jmp 0x6a36e3
mov edi, dword [esp + 0x21c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0xc]
mov cl, byte [esp + ecx + 0xb]
cmp cl, 0x5c
je 0x6a3701
mov byte [eax], 0x5c
mov esi, dword [sym.imp.user32.dll_wsprintfA]
mov edi, dword [sym.imp.kernel32.dll_GetTickCount]
mov ebx, dword [sym.imp.shlwapi.dll_PathFileExistsA]
call edi
lea ecx, [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x118]
push str._s_x.tmp
push edx
call esi
add esp, 0x10
lea eax, [esp + 0x110]
push eax
call ebx
test eax, eax
jne 0x6a3713
lea edi, [esp + 0x110]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.006a2020
mov edx, eax
lea edi, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
add esp, 0x208
ret

Function at 0x6a39e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
xor edi, edi
push edi
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x6a3a30
push esi
push 1
call dword [sym.imp.user32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x6a3a25
push esi
call dword [sym.imp.kernel32.dll_GlobalLock]
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.006a5080
add esp, 8
mov edi, eax
push esi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
call dword [sym.imp.user32.dll_CloseClipboard]
mov eax, edi
pop esi
pop edi
ret
mov eax, edi
pop edi
ret
Function at 0x6a49d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push eax
push 0x104
xor esi, esi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x6a4a13
push edi
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xc]
push ecx
call fcn.006a5080
add esp, 8
pop edi
pop esi
add esp, 0x104
ret
mov eax, esi
pop esi
add esp, 0x104
ret

Function at 0x6b0fb0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0xbe6f4c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x6b0fc3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x6b1004
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0xbe6ff4]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x6b1036
mov bl, byte [esp + ecx + 0x4c]
jmp 0x6b103a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x6b102b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x6b1058
mov bl, byte [esp + ecx + 0x4c]
jmp 0x6b105c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x6b104d
xor ecx, ecx
mov eax, 0xbe6f5c
xor ebx, ebx
mov bl, byte [ecx + 0xbe7004]
cmp byte [esp + ebx + 0x14], 0
je 0x6b1087
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0xbe701c]
cmp byte [esp + ebx + 0x14], 0
je 0x6b109e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x6b106e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x6b0ff7
lea edx, [esp + 0x84]
push edx
call fcn.006b10e0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x6cdf12
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x6cdf4a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.006cbf29
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.006cbf01
jmp 0x6cdf56
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x6cf603
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x6cf645
call fcn.006d52f3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x6cf645
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x6cf63c
xor eax, eax
jmp 0x6cf64d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.006cf653
pop edi
pop esi
pop ebx
ret 4

Function at 0x6d5823
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection_1]
cmp dword [esp + 0x10], 0
jne 0x6d5851
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue_1]
test eax, eax
je 0x6d586f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.006d5789
jmp 0x6d586f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x6d586f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.006d5789
test edi, edi
mov eax, edi
jne 0x6d5859
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection_1]
pop esi
pop ebx
ret 8
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x46f569e0
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x243a114a
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x412890
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x4128b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4128b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4128a8
mov eax, 1
add ebx, ebx
jne 0x4128cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4128c0
jne 0x4128dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4128c0
xor ecx, ecx
sub eax, 3
jb 0x4128f0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x412962
mov ebp, eax
add ebx, ebx
jne 0x4128fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412908
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41292c
inc ecx
add ebx, ebx
jne 0x412918
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41290d
jne 0x412929
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41290d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41294c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41293d
jmp 0x4128ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41294c
add edi, ecx
jmp 0x4128ae
pop esi
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x4129b4
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412969
mov ecx, edi
jns 0x412998
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12068]
or eax, eax
je 0x4129ae
mov dword [ebx], eax
add ebx, 4
jmp 0x412986
call dword [esi + 0x12078]
mov ebp, dword [esi + 0x1206c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4129e8
sub esp, 0xffffff80
jmp 0x40fcac

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x63a71cae
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x555a4800
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40105b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44c004]
jne 0x401065
repz ret
jmp fcn.00401684

Function at 0x40495b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44c004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040382b
and dword [ebp - 0x14], 0
cmp dword [0x44e928], 0
mov dword [ebp - 0x18], eax
jne 0x404a0e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404ab6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404ab6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44e928], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44e92c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44e930], eax
call edi
push eax
call esi
mov dword [0x44e938], eax
test eax, eax
je 0x404a0e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44e934], eax
mov eax, dword [0x44e934]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404a67
cmp dword [0x44e938], ecx
je 0x404a67
push eax
call esi
push dword [0x44e938]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404a67
test ebx, ebx
je 0x404a67
call edi
test eax, eax
je 0x404a5e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x404a5e
test byte [ebp - 8], 1
jne 0x404a67
or dword [ebp + 0x10], 0x200000
jmp 0x404a9a
mov eax, dword [0x44e92c]
cmp eax, dword [ebp - 0x18]
je 0x404a9a
push eax
call esi
test eax, eax
je 0x404a9a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x404a9a
mov eax, dword [0x44e930]
cmp eax, dword [ebp - 0x18]
je 0x404a9a
push eax
call esi
test eax, eax
je 0x404a9a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44e928]
call esi
test eax, eax
je 0x404ab6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404ab8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040105b
leave
ret
Function at 0x43a30a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x43a317
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x3c]
push ebx
push ebp
push edi
mov ebx, dword [eax + esi + 0x78]
xor edi, edi
add ebx, esi
mov ebp, dword [ebx + 0x20]
add ebp, esi
cmp dword [ebx + 0x18], edi
jbe 0x43a34b
mov eax, dword [ebp + edi*4]
push dword [esp + 0x18]
add eax, esi
push eax
call fcn.0043a399
pop ecx
pop ecx
test al, al
jne 0x43a352
inc edi
cmp edi, dword [ebx + 0x18]
jb 0x43a32f
xor eax, eax
pop edi
pop ebp
pop ebx
pop esi
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x43a34d

Function at 0x43a369
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push esi
mov esi, dword [eax + 0xc]
add esi, 0xc
mov esi, dword [esi]
cmp dword [esi + 0x30], 0
je 0x43a376
cmp dword [esp + 8], 0
je 0x43a394
push dword [esi + 0x30]
call fcn.0043a421
pop ecx
cmp dword [esp + 8], eax
jne 0x43a376
mov eax, dword [esi + 0x18]
pop esi
ret

Function at 0x43a44d
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor edi, edi
push edi
call fcn.0043a369
push dword [0x441fd4]
mov ebp, eax
call fcn.0043a369
pop ecx
pop ecx
push dword [0x441fc4]
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x104
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call fcn.0043a3c0
mov esi, dword [0x441f9c]
mov edi, eax
pop ecx
cmp dword [esi], 0
je 0x43a4c4
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp al, byte [esi]
je 0x43a4b3
cmp al, byte [esi + 1]
je 0x43a4b3
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
call fcn.0043a402
pop ecx
cmp eax, dword [esi + 4]
je 0x43a4c4
cmp eax, dword [esi + 8]
jne 0x43a4ab
push dword [0x441fc4]
xor edi, edi
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov edx, edi
cmp dword [0x441fa4], edi
jbe 0x43a505
mov ecx, dword [str.VirtualProtect]
mov ecx, dword [ecx + edx]
mov dword [edx + esi], ecx
mov eax, dword [0x441fbc]
add edx, eax
cmp edx, dword [0x441fa4]
jb 0x43a4ea
push esi
push ebx
call fcn.0043a30a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x43a4ab
mov esi, dword [0x441fb0]
lea eax, [esp + 0x10]
push eax
push dword [0x441fa4]
push dword [0x441fdc]
push esi
call edi
mov edx, dword [0x441fb4]
add edx, ebp
push 8
pop ecx
mov ebx, dword [edx + 4]
cmp dword [0x441fdc], ecx
jbe 0x43a55b
mov eax, dword [edx + ecx]
add eax, ebx
mov dword [esi + ecx], eax
mov eax, dword [0x441fbc]
add ecx, eax
cmp ecx, dword [0x441fdc]
jb 0x43a544
mov eax, dword [0x441fd8]
mov dword [esi + 8], eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push dword [0x441fdc]
push esi
call edi
mov eax, dword [0x441fb8]
mov ecx, dword [esi + 0xc]
add ecx, eax
mov eax, dword [0x441fb8]
add ecx, esi
add esi, eax
push esi
call ecx
pop ecx
jmp 0x43a4ab
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x43590c74
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x42e1d0
nop
mov ecx, 0x57677ceb
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4dd4c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x90000]
lea eax, [edi + 0xbd684]
push dword [eax]
mov dword [eax], 0xe00f43b3
push eax
push edi
or ebp, 0xffffffff
jmp 0x4dd4f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4dd4f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd4e8
mov eax, 1
add ebx, ebx
jne 0x4dd50b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4dd51c
jne 0x4dd53b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd53b
dec eax
add ebx, ebx
jne 0x4dd528
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4dd500
add ebx, ebx
jne 0x4dd537
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4dd58d
xor ecx, ecx
sub eax, 3
jb 0x4dd553
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4dd5c2
sar eax, 1
mov ebp, eax
jmp 0x4dd55e
add ebx, ebx
jne 0x4dd55e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd52c
inc ecx
add ebx, ebx
jne 0x4dd56c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd52c
add ebx, ebx
jne 0x4dd579
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4dd56e
jne 0x4dd58a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4dd56e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4dd5ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4dd59e
jmp 0x4dd4ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4dd5ac
add edi, ecx
jmp 0x4dd4ee
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x33d5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4dd5ce
cmp byte [edi], 0x19
jne 0x4dd5ce
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4dd5d3
lea edi, [esi + 0xd6000]
mov eax, dword [edi]
or eax, eax
je 0x4dd642
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe99d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe9a68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4dd600
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe9a70]
or eax, eax
je 0x4dd63c
mov dword [ebx], eax
add ebx, 4
jmp 0x4dd61d
call dword [esi + 0xe9a6c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4dd673
cmp al, 0xef
ja 0x4dd666
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4dd648
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4dd655
mov ebp, dword [esi + 0xe9a74]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x25f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4dd6a7
sub esp, 0xffffff80
jmp 0x448b70
Function at 0x1001e990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b6650
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.100aba57
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10020240
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x1001e9e4
jmp dword [ecx*4 + 0x1001eb4c]
mov al, byte [esi]
test al, al
je 0x1001ea12
cmp al, 0x20
je 0x1001e9fe
cmp al, 0xa1
jne 0x1001ea12
cmp byte [esi + 1], al
jne 0x1001ea12
test al, 0x80
je 0x1001ea0a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x1001ea12
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1001e9f1
test ecx, ecx
je case.default.0x1001e9e4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x1001e9e4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x1001ea58
cmp dl, 0xa1
jne 0x1001ea4c
cmp byte [eax + 1], 0xa1
jne 0x1001ea4c
test ecx, ecx
jne 0x1001ea44
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1001ea6c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x1001ea86
jmp 0x1001ea6c
cmp dl, 0x20
jne 0x1001ea6a
test ecx, ecx
jne 0x1001ea63
mov edi, eax
mov ecx, 1
jmp 0x1001ea6c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1001ea2c
cmp ecx, 1
jne case.default.0x1001e9e4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1001e9e4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1001e9e4
mov al, byte [esi]
test al, al
je 0x1001eade
test al, 0x80
mov byte [esp + 0x3c], al
je 0x1001eac4
mov cl, byte [esi + 1]
test cl, cl
je 0x1001eade
cmp al, 0xa1
jne 0x1001eab4
cmp cl, al
je 0x1001eac1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10020510
inc esi
jmp 0x1001ead6
cmp al, 0x20
je 0x1001ead6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10020550
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1001ea9d
push 0
lea ecx, [esp + 0x14]
call fcn.10020550
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1002eee0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x1001eb11
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x1406a0e0
call fcn.10020440
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100ab9e9
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret