joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407532
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x412bb8]
je 0x40754d
inc edi
cmp edi, 0x17
jb 0x40753e
cmp edi, 0x17
jae 0x4076cd
push ebp
push 3
call fcn.0040a112
cmp eax, 1
pop ecx
je 0x407699
push 3
call fcn.0040a112
test eax, eax
pop ecx
jne 0x407581
cmp dword [0x412058], 1
je 0x407699
cmp ebx, 0xfc
je 0x4076cc
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x413608
push ebp
call fcn.00409079
add esp, 0xc
test eax, eax
je 0x4075b7
push esi
push esi
push esi
push esi
push esi
call fcn.00403d4f
add esp, 0x14
push 0x104
mov esi, 0x413621
push esi
push 0
mov byte [0x413725], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4075fb
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00409079
add esp, 0xc
test eax, eax
je 0x4075fb
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00403d4f
add esp, 0x14
push esi
call fcn.004090e0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x407640
push esi
call fcn.004090e0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x41391c
push 0x40e90c
sub ecx, eax
push ecx
push eax
call fcn.00408fc6
add esp, 0x14
test eax, eax
je 0x407640
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00403d4f
add esp, 0x14
jmp 0x407642
xor esi, esi
push 0x40e908
push ebx
push ebp
call fcn.00408f03
add esp, 0xc
test eax, eax
je 0x407662
push esi
push esi
push esi
push esi
push esi
call fcn.00403d4f
add esp, 0x14
push dword [edi*8 + 0x412bbc]
push ebx
push ebp
call fcn.00408f03
add esp, 0xc
test eax, eax
je 0x407684
push esi
push esi
push esi
push esi
push esi
call fcn.00403d4f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00409f55
add esp, 0xc
jmp 0x4076cc
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4076cc
cmp ebp, 0xffffffff
je 0x4076cc
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x412bbc]
push dword [esi]
call fcn.004090e0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x409f55
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00404cf2
xor ebx, ebx
cmp dword [0x413bb4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x40a02b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40a10b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40a10b
push eax
call fcn.00404c84
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x413bb4], eax
call esi
push eax
call fcn.00404c84
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x413bb8], eax
call esi
push eax
call fcn.00404c84
mov dword [0x413bbc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040584f
test eax, eax
pop ecx
pop ecx
je 0x409ff9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403d4f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x40a02b
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404c84
cmp eax, ebx
pop ecx
mov dword [0x413bc4], eax
je 0x40a02b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404c84
pop ecx
mov dword [0x413bc0], eax
mov eax, dword [0x413bc0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x40a0b0
cmp dword [0x413bc4], ecx
je 0x40a0b0
push eax
call fcn.00404cfb
push dword [0x413bc4]
mov esi, eax
call fcn.00404cfb
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x40a0b0
cmp edi, ebx
je 0x40a0b0
call esi
cmp eax, ebx
je 0x40a07d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a07d
test byte [ebp - 0x18], 1
jne 0x40a0b0
lea eax, [ebp - 0x10]
push eax
call fcn.00405886
test eax, eax
pop ecx
je 0x40a098
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403d4f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x40a0a7
or dword [ebp + 0x10], 0x200000
jmp 0x40a0eb
or dword [ebp + 0x10], 0x40000
jmp 0x40a0eb
mov eax, dword [0x413bb8]
cmp eax, dword [ebp - 8]
je 0x40a0eb
push eax
call fcn.00404cfb
cmp eax, ebx
pop ecx
je 0x40a0eb
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40a0eb
mov eax, dword [0x413bbc]
cmp eax, dword [ebp - 8]
je 0x40a0eb
push eax
call fcn.00404cfb
cmp eax, ebx
pop ecx
je 0x40a0eb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x413bb4]
call fcn.00404cfb
cmp eax, ebx
pop ecx
je 0x40a10b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a10d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a158
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x40a175
xor eax, eax
leave
ret
cmp dword [ebp - 4], 0x1000000
jne 0x40a171
mov ecx, dword [ebp - 0x18]
cmp word [ecx], 0x5a4d
jne 0x40a171
mov eax, dword [ecx + 0x3c]
test eax, eax
jle 0x40a171
mov edx, dword [ebp - 0x10]
add edx, 0xffffff08
cmp eax, edx
ja 0x40a171
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40a171
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov ecx, dword [eax + 0x50]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov eax, dword [eax + 0x58]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
xor eax, eax
inc eax
leave
ret
Function at 0x92d8f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x7cd015
lea edi, [esi - 0x3cc015]
push edi
jmp 0x92d90a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x92d911
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x92d900
mov eax, 1
add ebx, ebx
jne 0x92d923
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x92d934
jne 0x92d953
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x92d953
dec eax
add ebx, ebx
jne 0x92d940
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x92d918
add ebx, ebx
jne 0x92d94f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x92d9a5
xor ecx, ecx
sub eax, 3
jb 0x92d96b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x92d9da
sar eax, 1
mov ebp, eax
jmp 0x92d976
add ebx, ebx
jne 0x92d976
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x92d944
inc ecx
add ebx, ebx
jne 0x92d984
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x92d944
add ebx, ebx
jne 0x92d991
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x92d986
jne 0x92d9a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x92d986
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x92d9c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x92d9b6
jmp 0x92d906
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x92d9c4
add edi, ecx
jmp 0x92d906
pop esi
mov edi, esi
mov ecx, 0x15fbe
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x92d9e2
cmp byte [edi], 0x67
jne 0x92d9e2
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 0x92d9e7
lea edi, [esi + 0x529000]
mov eax, dword [edi]
or eax, eax
je 0x92da5f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x536a5c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x536c24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x92da14
mov ecx, edi
jns 0x92da43
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 + 0x536c2c]
or eax, eax
je 0x92da59
mov dword [ebx], eax
add ebx, 4
jmp 0x92da31
call dword [esi + 0x536c28]
mov ebp, dword [esi + 0x536c30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x92da93
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x401a22
Capabilities:
Hide graphical window

Disassembly:
mov ecx, 0xfffffffe
jmp fcn.0040161c
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4749c4
Capabilities:
Encode data using xor

Disassembly:
push 0x4746cc
pop ebx
mov edi, edi
mov edi, 0x10dff0d1
call fcn.00474a09
sub edi, 0x841cdf2a
xor dword [eax], ebx
dec edx
push 0xb415f717
pop edx
add eax, 2
and edx, edx
sub esp, 4
mov dword [esp], 0xcbfd29ab
pop edi
mov edi, edi
cmp eax, esi
jl fcn.004749c4
sub edi, edx
dec edi
add edi, 0x6ac46cb
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40ef4e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40ef5d
pop dword [ebp - 0x30]
mov eax, 0x40ef5d
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x7490b078
add dword [ebp - 0x40], 0xd9c194d3
mov dword [ebp - 0x3c], 0xbb61722e
sub dword [ebp - 0x3c], 0x892e25e9
mov dword [ebp - 0x38], 0x18505856
sub dword [ebp - 0x38], 0xcc041428
mov dword [ebp - 0x34], 0x445b03aa
add dword [ebp - 0x34], 0xbba4fc56
lea eax, [ebp - 0x40]
push eax
mov eax, 0x636ae585
sub eax, 0x6328b511
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xf0db3729
add dword [ebp - 0x40], 0x8397322d
mov dword [ebp - 0x3c], 0x3fd32446
sub dword [ebp - 0x3c], 0xfe66c2d1
mov dword [ebp - 0x38], 0x5c9708f2
sub dword [ebp - 0x38], 0xf9279c86
mov dword [ebp - 0x34], 0xae6608b3
add dword [ebp - 0x34], 0x5199f74d
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xe20291e7
add eax, 0x1e3f9f3d
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x413f6
push 0
call eax
mov ecx, 0x5636
xor esi, esi
add esi, eax
mov edi, 0x434400
add edi, dword [ebp - 0x30]
mov edx, 0xff5a4ba8
add edx, 0xbfe860fa
add dword [ebp - 0x18], 0xe4d49208
mov ebx, dword [edi]
sub dword [ebp - 0x18], 0xa085226c
sub ebx, edx
xor dword [ebp - 8], ecx
mov dword [esi], ebx
add esi, 4
add edi, 0x3320ca33
add edi, 0xccdf35d1
loop 0x40f070
add eax, 0x14bab
xor ebx, ebx
add ebx, eax
add eax, 0xfc941e9d
add eax, 0x36be168
mov ecx, 0x8f07372f
sub ecx, 0x8ec7372f
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0xdda4c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdda4ca
pushal
call 0xdda4d0
pop ebp
sub ebp, 0x10
sub ebp, 0x9da4c0
jmp 0xdda4e6
mov eax, 0x9da4c0
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b9
mov edx, 0x8c5f2dcd
xor byte [eax], dl
inc eax
dec ecx
jne 0xdda4fd
jmp 0xdda510
inc esi
add byte [esi + 0x44], al
int1
int 0xcd
int 0x4c
or al, 0x35
int 0xcd
int 0xce
add byte [ebp - 0x39], dh
int 0xcd
int 0x77
in eax, 0xcd
int 0xcd
cmp ch, byte [edi]
into
add eax, 0xcdc14c46
int 0xcd
into
or byte [ebp - 0x607a5a63], bl
in eax, dx
int 0xa5
mov ch, 0x9f
mov al, 0xcd
int3

Function at 0x484cf0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x484a08
mov esi, 0x917b1012
mov ecx, 0x5c33ae65
call fcn.00484d35
or esi, esi
xor dword [ebx], eax
sub esi, 0x508c9b6d
add ebx, 2
sub ecx, 1
mov esi, esi
dec esi
cmp ebx, edi
jl fcn.00484cf0
sub ecx, 0x1c6f35d6
ret

Function at 0x438c98
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x438a14
mov eax, 0x6297943e
call fcn.00438ce3
or edx, edx
mov edx, 0xa5c50808
xor dword [ebx], esi
add edx, eax
add edx, 0xc44cf22e
inc ebx
or eax, eax
mov eax, eax
mov eax, 0xc8d79ff3
cmp ebx, edi
jne fcn.00438c98
push eax
mov eax, dword [esp]
add esp, 4
sub eax, 1
and eax, edx
ret
Function at 0x1000d620
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push esi
push edi
mov esi, eax
mov eax, dword [esi + 0x4c]
mov edi, dword [esi + 0x40]
push 0
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
mov dword [esp + 0x28], edi
call fcn.10009de0
add esp, 0x14
test eax, eax
jne 0x1000d776
mov ecx, dword [esi + 0x44]
movzx eax, byte [esi + 8]
add eax, ecx
mov dword [esp + 0xc], ecx
xor ecx, ecx
mov ch, byte [eax + 5]
push ebx
movzx ebx, word [edi + 0x1e]
mov edi, dword [esp + 0xc]
mov edx, dword [edi + 0x44]
mov cl, byte [eax + 6]
push ebp
mov dword [esp + 0x10], edx
movzx edx, word [esi + 0xe]
mov ebp, ecx
movzx ecx, word [esi + 0x14]
lea edx, [edx + ecx*2]
movzx ecx, byte [esi + 8]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.1012ae30
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
sub ebx, ebp
push ebx
lea edx, [ecx + ebp]
push edx
add eax, ebp
push eax
call fcn.1012ae30
push esi
push edi
call fcn.100081d0
mov ebx, eax
add esp, 0x20
test ebx, ebx
jne 0x1000d766
movzx ecx, byte [esi + 2]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
lea edx, [esi + 0x18]
push edx
lea eax, [edi + 0x18]
push eax
call fcn.1012ae30
mov al, byte [esi + 2]
add esp, 0xc
test al, al
mov byte [edi + 2], al
je 0x1000d6e8
mov word [edi + 0x12], bx
mov ecx, dword [edi + 0x44]
movzx edx, byte [ecx]
and edx, 0xfffffff7
push edx
call fcn.10008340
movzx ecx, byte [esi + 8]
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 0x44]
push eax
lea eax, [ecx + edx + 8]
push eax
call fcn.100056c0
mov ecx, dword [esp + 0x28]
add esp, 0xc
cmp byte [ecx + 0x16], 0
je 0x1000d75b
mov edx, dword [esi + 0x4c]
mov eax, dword [edi + 0x4c]
push edx
mov bl, 5
call fcn.10007990
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1000d766
xor esi, esi
cmp word [edi + 0x14], si
jbe 0x1000d75b
lea esp, [esp]
mov eax, esi
call fcn.10007b80
call fcn.10007d20
test eax, eax
jne 0x1000d774
movzx eax, word [edi + 0x14]
add esi, 1
cmp esi, eax
jl 0x1000d740
push edi
call fcn.1000ca50
add esp, 4
mov ebx, eax
mov ecx, dword [edi + 0x48]
push ecx
call fcn.1001da70
add esp, 4
mov eax, ebx
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x1002baf0
Capabilities:
Enumerate pe sections

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x1002bafd
xor eax, eax
pop edi
ret
push ebp
mov ebp, dword [esp + 0xc]
push esi
push 0x48
push ebp
call fcn.10017ae0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1002bb18
pop esi
pop ebp
pop edi
ret
mov al, byte [edi + 5]
mov byte [esi + 5], al
mov ecx, dword [edi]
push ecx
push ebp
call fcn.1002aa10
mov dword [esi], eax
mov edx, dword [edi + 0xc]
push edx
push ebp
call fcn.1002b9c0
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
push eax
push ebp
call fcn.1002c380
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
push ecx
push ebp
call fcn.1002aa10
mov dword [esi + 0x14], eax
mov edx, dword [edi + 0x18]
push edx
push ebp
call fcn.1002c380
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
push eax
push ebp
call fcn.1002aa10
mov dword [esi + 0x1c], eax
movzx ecx, byte [edi + 4]
mov byte [esi + 4], cl
mov edx, dword [edi + 0x20]
push edx
push ebp
call fcn.1002baf0
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x2c]
push eax
push ebp
call fcn.1002c380
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
add esp, 0x40
push ecx
push ebp
call fcn.1002c380
mov dword [esi + 0x30], eax
or eax, 0xffffffff
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dl, byte [edi + 6]
mov byte [esi + 6], dl
movzx ecx, byte [edi + 7]
add esp, 8
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov byte [esi + 7], cl
mov byte [esi + 8], 0
mov byte [esi + 9], 0
mov dword [esi + 0x28], 0
mov eax, esi
pop esi
pop ebp
pop edi
ret
Function at 0x1002ef90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
mov eax, dword [esp + 0x64]
push ebx
mov ebx, dword [eax + 0x20]
test ebx, ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x64]
mov ebp, dword [edi]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
je 0x1002f168
lea esp, [esp]
movzx edx, byte [ebx + 8]
mov ecx, dword [esp + 0x68]
cmp edx, ecx
jne 0x1002f15d
movzx eax, byte [ebx + 9]
cmp eax, dword [esp + 0x70]
jne 0x1002f15d
mov eax, dword [ebx + 0x1c]
cmp eax, dword [ebx + 0x20]
je 0x1002eff2
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 0x2c]
jne 0x1002f15d
cmp ecx, 0x64
jne 0x1002f013
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x1002f013
mov esi, dword [esp + 0x6c]
push eax
call fcn.1002ec50
add esp, 4
test eax, eax
je 0x1002f15d
mov eax, dword [edi + 0x188]
test eax, eax
je 0x1002f030
lea ecx, [ecx]
cmp ebx, dword [eax + 0x1c]
je 0x1002f15d
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x1002f020
mov eax, dword [ebx]
push 0xffffffffffffffff
push eax
push str.___TRIGGER__s
push ebp
call fcn.10023920
mov ecx, dword [edi + 0xc]
add esp, 0xc
push eax
push 0
push 0
push 0
push 0x14
push ecx
call fcn.10016e40
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x38], edx
mov edx, dword [edi + 0x188]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edx
mov dword [edi + 0x188], ecx
mov edx, dword [ebx]
push edx
lea eax, [esp + 0x30]
push eax
push edi
mov dword [esp + 0x64], edi
call fcn.10025600
mov ecx, dword [edi + 0xc]
push ecx
call fcn.10014ab0
mov edx, dword [ebx + 0xc]
push edx
push ebp
mov dword [esp + 0x98], eax
call fcn.1002c380
add esp, 0x34
cmp byte [ebp + 0x1e], 0
mov esi, eax
jne 0x1002f194
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.1002ced0
add esp, 8
test eax, eax
jne 0x1002f194
mov ecx, dword [esp + 0x64]
push 8
push ecx
push esi
push edi
call fcn.1002e450
push esi
call fcn.1002b920
mov edx, dword [esp + 0x94]
mov eax, dword [ebx + 0x24]
push edx
push eax
call fcn.1002ed90
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x2c]
push edx
mov dword [edi + 0x188], ecx
call fcn.10025630
mov eax, dword [esp + 0x84]
mov ecx, dword [edi + 0xc]
push eax
push ecx
call fcn.10014b00
add esp, 0x28
mov ebx, dword [ebx + 0x28]
test ebx, ebx
jne 0x1002efc0
mov eax, dword [esp + 0x88]
test eax, eax
je 0x1002f179
mov ecx, dword [esp + 0x28]
or dword [eax], ecx
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x1002f18a
mov edx, dword [esp + 0x24]
or dword [eax], edx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret
mov edx, dword [esp + 0x38]
push esi
mov dword [edi + 0x188], edx
call fcn.1002b920
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x50
ret
Function at 0x1003f2f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [esi + 0x1c0]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, esi
call fcn.10040430
mov ecx, esi
call fcn.10040a30
mov ecx, esi
call fcn.1003fbd0
mov ecx, esi
call fcn.10040000
cmp byte [esi + 0x20], 0
jne 0x1003f33c
mov ecx, esi
call fcn.1003f430
cmp byte [esi + 0x21], 0
jne 0x1003f349
mov ecx, esi
call fcn.1003f800
push ebx
push edi
lea ebx, [esi + 0x3c]
lea edi, [esi + 0x6c]
cmp edi, ebx
je 0x1003f361
push 0xffffffffffffffff
push 0
push ebx
mov ecx, edi
call fcn.10041c00
push 5
push str.Skin_
mov ecx, edi
call fcn.100415c0
cmp dword [edi + 0x14], 8
jb 0x1003f379
mov eax, dword [edi]
jmp 0x1003f37b
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003f397
cmp dword [edi + 0x14], 8
jb 0x1003f38e
mov edi, dword [edi]
push edi
call fcn.1010f7c1
add esp, 4
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1012b3b0
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x1003f3b5
mov ebx, dword [ebx]
push str.AllSkin
push ebx
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call fcn.10041b30
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
pop ebx
test eax, eax
jne 0x1003f3f1
lea eax, [ebp - 0x20c]
push eax
call fcn.1010f7c1
add esp, 4
mov ecx, esi
call fcn.10040980
mov ecx, esi
call fcn.100405b0
mov ecx, esi
call fcn.10040680
mov ecx, esi
call fcn.10040770
mov ecx, esi
call fcn.10040860
mov ecx, esi
call fcn.100408f0
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.10109ec2
mov esp, ebp
pop ebp
ret