joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472320
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1cc8
push 0x47f484
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.0047d5f0
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4724d0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x9c
push eax
call esi
test eax, eax
jne 0x472511
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push ecx
call esi
test eax, eax
je 0x47257e
cmp dword [esp + 0x1c], 2
jne 0x47257e
cmp dword [esp + 0x10], 5
jne 0x47257e
cmp dword [esp + 0x14], 1
jne 0x47257e
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x472568
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x472559
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
jmp 0x472561
mov dword [esp + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
test eax, eax
je 0x47257e
pop edi
mov eax, 1
pop esi
add esp, 0xa0
ret
pop edi
xor eax, eax
pop esi
add esp, 0xa0
ret

Function at 0x473110
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2820
call fcn.0047df20
mov eax, dword [esp + 0x2824]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x20]
push str..PhysicalDrive_d
push ecx
call fcn.0047ec4e
add esp, 0xc
lea edx, [esp + 0x1c]
push 0
push 0
push 3
push 0
push 3
push 0
push edx
Function at 0x496450
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b2aa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.0048b55c
mov eax, dword [0x4c5730]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.0048b48e
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.00496f50
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4964f7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4964ee
cmp al, 0xff
je 0x4964ee
dec al
mov byte [ecx], al
jmp 0x4964f7
push ecx
call fcn.0049ff91
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x496528
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x49651f
cmp al, 0xff
je 0x49651f
dec al
mov byte [ecx], al
jmp 0x496528
push ecx
call fcn.0049ff91
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4a2641
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a2679
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.004a06ce
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a06a6
jmp 0x4a2685
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a3d2f
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 0x4a3d71
call fcn.004a9cd9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a3d71
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a3d68
xor eax, eax
jmp 0x4a3d79
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a3d7f
pop edi
pop esi
pop ebx
ret 4

Function at 0x4aa209
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]
cmp dword [esp + 0x10], 0
jne 0x4aa237
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4aa255
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004aa16f
jmp 0x4aa255
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4aa255
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004aa16f
test edi, edi
mov eax, edi
jne 0x4aa23f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40892d
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
mov edi, edi
sub edi, 0x9ec3efa6
call fcn.00408958
or edi, ebx
dec ebx
xor dword [ecx], edx
inc ebx
inc ecx
and ebx, edi
and ebx, ebx
cmp ecx, eax
jne fcn.0040892d
mov edi, ebx
sub esp, 4
mov dword [esp], ebx
pop ebx
ret
Function at 0x401950
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 8], esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0x10]
cmp esi, 0x10000
ja 0x401ad0
mov eax, dword [ebx + 4]
test eax, eax
je 0x40199c
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._TerminateThread_8
mov eax, dword [ebx + 4]
sub esp, 8
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [ebx]
test eax, eax
je 0x4019ad
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
xor eax, eax
test esi, esi
jne 0x4019c0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._memset
xor eax, eax
mov dword [ebx + eax], 0
add eax, 4
cmp eax, 0x18
jb 0x4019d9
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov dword [0x40a034], eax
mov eax, edi
mov dword [0x40a030], edx
shr eax, 1
xor edx, edx
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call dbg.__udivdi3
mov edx, dword [ebp + 0x14]
mov dword [0x40a03c], esi
lea eax, [edx + eax*2]
mov dword [0x40a038], eax
call sym._GetCurrentProcess_0
mov edi, eax
call sym._GetCurrentThread_0
mov esi, eax
call sym._GetCurrentProcess_0
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._DuplicateHandle_28
sub esp, 0x1c
test eax, eax
je 0x401ae5
lea eax, [ebp - 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], sym._profthr_func_4
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateThread_24
sub esp, 0x18
mov dword [ebx + 4], eax
mov dword [esp + 4], 0xf
mov dword [esp], eax
call sym._SetThreadPriority_8
mov eax, dword [ebx + 4]
sub esp, 8
test eax, eax
je 0x401afa
xor eax, eax
jmp 0x4019b3
call sym.__errno
mov dword [eax], 0x16
mov eax, 0xffffffff
jmp 0x4019b3
call sym.__errno
mov dword [eax], 3
mov eax, 0xffffffff
jmp 0x4019b3
mov eax, dword [ebx]
mov dword [esp], eax
call sym._CloseHandle_4
mov dword [ebx], 0
sub esp, 4
call sym.__errno
mov dword [eax], 0xb
mov eax, 0xffffffff
jmp 0x4019b3

Function at 0x401b60
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e8
mov dword [esp], eax
mov dword [ebp - 8], ebx
mov ebx, 0xffffffff
mov dword [ebp - 4], esi
mov esi, eax
call sym._SuspendThread_4
sub esp, 4
cmp eax, 0xffffffff
je 0x401bbb
lea eax, [ebp - 0x2d4]
mov dword [ebp - 0x2d4], 0x10003
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._GetThreadContext_8
sub esp, 8
cmp eax, 1
sbb ebx, ebx
mov dword [esp], esi
or ebx, dword [ebp - 0x21c]
call sym._ResumeThread_4
sub esp, 4
mov eax, ebx
mov esi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x401d00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x401d26
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401dba
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401d75
cmp eax, 0x40
je 0x401d75
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401d19
cmp eax, 0x40
je 0x401d19
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
jmp 0x401d19
mov dword [esp + 8], 0x34
mov dword [esp + 4], 0x40906c
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sym.__assert
lea esi, [esi]
lea edi, [edi]
Function at 0x403faa
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x45106c]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 8]
mov edx, 0x104
push ebx
push esi
push edi
push ecx
push ecx
xor edi, edi
mov dword [esp + 0x1c], eax
push ecx
lea ecx, [esp + 0x24]
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.00402cce
push 0x446aac
lea ecx, [esp + 0x1c]
call fcn.00402c33
lea eax, [esp + 0x18]
push eax
push edi
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x404029
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x404061
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xc9
call fcn.00403cea
pop ecx
mov edi, eax
jmp 0x404061
lea edx, [esp + 0x10]
mov dword [esp + 0x10], edi
mov ecx, esi
call fcn.00403e7f
mov ebx, eax
test ebx, ebx
jns 0x404053
push ebx
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xcf
call fcn.00403caa
pop ecx
pop ecx
mov edi, ebx
jmp 0x404061
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
test esi, esi
je 0x40406b
push esi
call fcn.00403d8c
mov ecx, dword [esp + 0x224]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00415b79
mov esp, ebp
pop ebp
ret
Function at 0x40653d
Capabilities:
Read file via mapping

Disassembly:
push 0x34
mov eax, 0x437657
call fcn.004166c3
mov ebx, edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ecx
mov esi, dword [0x456620]
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x40659d
mov ebx, ecx
push ebx
lea eax, [edi + 0x10]
push eax
call fcn.00408272
test al, al
je 0x406575
mov edi, dword [edi + 8]
jmp 0x406579
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x406562
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
cmp esi, dword [0x456620]
je 0x40659f
lea eax, [esi + 0x10]
push eax
push edi
call fcn.00408272
test al, al
jne 0x40659f
jmp 0x4065a5
mov edi, ecx
mov esi, dword [0x456620]
cmp esi, dword [0x456620]
je 0x4065b5
mov eax, dword [esi + 0x30]
jmp 0x406649
cmp dword [ebx + 0x14], 8
jb 0x4065bd
mov ebx, dword [ebx]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x4065e2
xor eax, eax
jmp 0x406649
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4065de
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x4065de
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
call fcn.00410210
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call fcn.00410333
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
call fcn.00410366
lea ecx, [ebp - 0x40]
call fcn.00408757
mov eax, ebx
call fcn.0041668c
ret
Function at 0x40a394
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040d74c
Function at 0x414021
Capabilities:
Read file on windows

Disassembly:
push 0x50
mov eax, 0x438aeb
call fcn.004166f7
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x5c], esi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
mov dword [ebp - 4], ebx
mov eax, edi
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x5c], ebx
jb 0x414056
mov eax, dword [edi]
push 0x449398
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00421885
add esp, 0xc
cmp dword [ebp - 0x5c], 0
jne 0x41407c
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
jmp 0x4140cf
cmp dword [edi + 0x14], 8
jb 0x414084
mov edi, dword [edi]
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.00422293
mov edi, dword [ebp - 0x44]
pop ecx
pop ecx
test edi, edi
je 0x4140bb
push ebx
push edi
lea ecx, [ebp - 0x28]
call fcn.00406f45
push dword [ebp - 0x5c]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push edi
push eax
call fcn.00422558
add esp, 0x10
push dword [ebp - 0x5c]
call fcn.00421943
pop ecx
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00406fb4
lea ecx, [ebp - 0x28]
call fcn.004087fa
mov eax, esi
call fcn.004166a1
ret

Function at 0x42ad97
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042ac0d
Function at 0x405610
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ecx]
add ecx, esi
cmp dword [edi + 0x10], 0x63
mov dword [ebp - 4], ecx
ja 0x40565d
sub ecx, esi
cmp dword [edi + 0x14], 1
push ecx
mov ecx, edi
jne 0x405641
call fcn.00404b30
jmp 0x405646
call fcn.00404d50
mov ebx, eax
add esp, 4
test ebx, ebx
jns 0x405658
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
add esi, ebx
cmp ecx, esi
jbe 0x40568a
mov eax, dword [edi + 0x10]
sub eax, 0x64
cmp eax, 0x63
ja 0x40568a
sub ecx, esi
mov edx, esi
push ecx
mov ecx, edi
call fcn.00404f70
mov ebx, eax
add esp, 4
test ebx, ebx
js 0x40564f
mov ecx, dword [ebp - 4]
add esi, ebx
cmp ecx, esi
ja 0x405661
mov eax, dword [edi + 0x10]
sub eax, 0xc8
cmp eax, 0x63
ja 0x4057b8
mov ecx, dword [edi + 0x78]
mov edx, dword [0x51a600]
test ecx, ecx
jle 0x4056dc
mov eax, dword [edi]
add eax, ecx
push eax
push str.chunked
call edx
add esp, 8
test eax, eax
jne 0x4056d6
mov eax, dword [ebp - 4]
mov edx, esi
sub eax, esi
mov ecx, edi
push eax
call fcn.004052e0
mov ebx, eax
add esp, 4
add esi, ebx
jmp 0x4057b8
mov edx, dword [0x51a600]
mov ecx, dword [edi + 0x68]
cmp ecx, 0xffffffff
jne 0x405758
cmp dword [edi + 0x6c], ecx
jne 0x405758
cmp dword [edi + 0x14], 0
jne 0x405748
lea eax, [edi + 0x30]
push eax
push str.HTTP
call edx
add esp, 8
test eax, eax
jne 0x405748
mov eax, dword [edi + 0x4c]
cmp eax, 0xcc
je 0x405748
cmp eax, 0x130
je 0x405748
cmp eax, 0x64
jl 0x40571e
cmp eax, 0xc8
jl 0x405748
mov eax, dword [ebp - 4]
mov edx, esi
sub eax, esi
mov ecx, edi
push eax
call fcn.00404990
mov edx, dword [ebp + 8]
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 4]
mov esi, eax
cmp dword [edx], 0
jne 0x4057be
mov dword [edi + 0x10], 0x12c
jmp 0x4057be
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
jmp 0x4057b1
mov ebx, dword [ebp - 4]
sub ebx, esi
mov eax, ebx
cdq
add eax, dword [edi + 0x90]
adc edx, dword [edi + 0x94]
cmp edx, dword [edi + 0x6c]
jl 0x405782
jg 0x405777
cmp eax, ecx
jbe 0x405782
sub ecx, dword [edi + 0x90]
mov dword [ebp - 8], ecx
jmp 0x405787
mov ecx, ebx
mov dword [ebp - 8], ebx
push ecx
mov edx, esi
mov ecx, edi
call fcn.00404990
add esi, dword [ebp - 8]
mov ebx, eax
mov eax, dword [edi + 0x94]
add esp, 4
cmp eax, dword [edi + 0x6c]
jl 0x4057b8
jg 0x4057b1
mov eax, dword [edi + 0x90]
cmp eax, dword [edi + 0x68]
jb 0x4057b8
mov dword [edi + 0x10], 0x12c
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
test ebx, ebx
js 0x40564f
mov dword [edx], 0
mov ecx, dword [edi + 0x10]
cmp ecx, 0x12c
jne 0x4057ef
sub eax, esi
mov dword [edx], eax
mov ecx, dword [edi + 0x10]
cmp ecx, 0x12c
jne 0x4057ef
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp ecx, 0xc8
pop edi
setge al
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417b80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6e28
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x61ad68]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
call dword [0x518b6c]
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], 0
call dword [0x518b6c]
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 1
call dword [0x518910]
mov dword [esi + 0x40], 1
mov eax, dword [0x61cca0]
add eax, 1
mov dword [0x61cca0], eax
adc dword [0x61cca4], 0
mov dword [esi], eax
mov eax, dword [0x61cca4]
mov dword [esi + 4], eax
mov eax, esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xa
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x34], 0
mov word [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4180a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6f54
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x61ad68]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
call dword [0x51a390]
mov esi, dword [0x518b54]
push 4
push str.Part
mov dword [ebp - 4], 1
call esi
add esp, 8
mov dword [ebp - 0x1c], eax
mov ebx, dword [0x51a3f0]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 1
call dword [0x518b64]
push 5
push 0x51c198
call esi
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp + 8]
inc eax
push 0
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
call dword [0x51a364]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call dword [0x518b64]
push 5
push str.Value
call esi
add esp, 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call dword [0x518b64]
mov esi, dword [0x51a3a4]
lea eax, [edi + 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call esi
mov ebx, dword [0x51a3ac]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x18]
call ebx
mov edi, dword [0x51a3a8]
lea ecx, [ebp - 0x1c]
call edi
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
push eax
call fcn.00417d80
push 3
push 0x51c134
mov byte [ebp - 4], 8
call dword [0x518b54]
add esp, 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call dword [0x51a3f0]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call dword [0x518b64]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call esi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
call ebx
lea ecx, [ebp - 0x30]
call edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call ebx
lea ecx, [ebp - 0x30]
call edi
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
lea eax, [ebp - 0x30]
push eax
call ebx
lea ecx, [ebp - 0x30]
call edi
lea ecx, [ebp - 0x20]
call dword [0x51a3b4]
lea ecx, [ebp - 0x14]
call dword [0x51a3b8]
lea ecx, [ebp - 0x24]
call dword [0x518b64]
lea ecx, [ebp - 0x28]
call dword [0x51a3b4]
lea ecx, [ebp - 0x18]
call dword [0x51a3b8]
lea ecx, [ebp - 0x10]
call dword [0x51a38c]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x442dc0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4febc0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x61ad68]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.TSFlashTemplate.0
call dword [0x518b6c]
mov dword [ebp - 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
lea ecx, [esi + 0x14]
call dword [0x518b6c]
lea ecx, [esi + 0x18]
call dword [0x518b6c]
lea ecx, [esi + 0x1c]
call dword [0x518b6c]
lea ecx, [esi + 0x20]
call dword [0x518b6c]
lea ecx, [esi + 0x28]
call dword [0x518b6c]
lea ecx, [esi + 0x2c]
call dword [0x518b6c]
lea ebx, [esi + 0x30]
mov ecx, ebx
call dword [0x518b6c]
mov eax, dword [0x518ab8]
mov dword [esi + 0x34], eax
lea ecx, [esi + 0x38]
call dword [0x518b6c]
lea edi, [esi + 0x3c]
mov ecx, edi
call dword [0x518b6c]
lea ecx, [esi + 0x40]
call dword [0x518b6c]
mov eax, dword [0x518ab8]
mov dword [esi + 0x44], eax
add esi, 0x50
mov byte [ebp - 4], 0xd
mov ecx, esi
call dword [0x518910]
mov ecx, esi
mov byte [ebp - 4], 0xe
call dword [0x518908]
mov eax, dword [ebp - 0x10]
mov ecx, esi
mov dword [eax + 0x4c], 1
call dword [0x518904]
mov esi, dword [ebp - 0x10]
add esi, 4
push str.mobile
mov ecx, esi
call dword [0x518a8c]
mov ecx, dword [ebp - 0x10]
push str.3.0.0
lea ecx, [ecx + 0x14]
call dword [0x518a8c]
push str.Cloth
mov ecx, ebx
call dword [0x518a8c]
push str.Flip
mov ecx, edi
call dword [0x518a8c]
push 0x18
call fcn.004f27c0
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xf
push 0
mov ecx, eax
call fcn.004c8120
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
push esi
mov byte [ebp - 4], 0xe
mov dword [ebx + 0x48], eax
call fcn.004442b0
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