joyce8/EMBER2024-capa huggingface dataset:
Function at 0x12ed4a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1305d8d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push 1
push esi
lea ecx, [esp + 0x14]
call fcn.12f560a0
mov eax, dword [esi + 0x20]
xor ebx, ebx
mov ecx, eax
mov dword [esp + 0x20], ebx
cmp ecx, ebx
je 0x12e3a30e
mov ecx, dword [ecx]
cmp ecx, ebx
jne 0x12e3a308
cmp eax, ebx
je 0x12e3a323
mov edi, dword [eax]
push eax
call fcn.12f5bf80
add esp, 4
cmp edi, ebx
mov eax, edi
jne 0x12e3a312
mov eax, dword [esi + 0x28]
mov dword [esi + 0x2c], ebx
cmp eax, ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
je 0x12e3a344
mov edi, dword [eax]
push eax
call fcn.12f5bf80
add esp, 4
cmp edi, ebx
mov eax, edi
jne 0x12e3a333
mov dword [esi + 0x30], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.12f56100
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, 0x131b51a8
jmp 0x12e3a2d0
Function at 0x12ed72a0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x20c
mov ecx, 0x131aac68
push esi
push edi
call fcn.12e36a40
mov esi, eax
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ed72d9
mov eax, esi
and eax, 0xffff
push eax
push 0x1314cfec
push 0x1314cf60
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
test si, si
jne 0x12ed730b
call fcn.12f9d180
mov esi, eax
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ed730b
mov ecx, esi
and ecx, 0xffff
push ecx
push 0x1314cfec
push 0x1314cf60
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
lea edx, [esp + 0xc]
push 0x103
push edx
and esi, 0xffff
push 0x1004
push esi
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push 0x131097d0
push ecx
mov dword [esp + 0x14], 0xffffffff
call fcn.12f5cf93
mov ax, word [esp + 0x14]
add esp, 0xc
pop edi
pop esi
add esp, 0x20c
ret
Function at 0x12ed7810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x130672d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, ecx
push ebp
push esi
push edi
lea eax, [ebx + 4]
xor esi, esi
push 1
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], esi
call fcn.12f560a0
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 0x48], esi
neg ecx
sbb ecx, ecx
cmp ecx, esi
je 0x12ed796f
jmp 0x12ed785c
mov ecx, dword [esp + 0x18]
cmp ecx, 0xffffffff
jne 0x12ed787b
mov esi, dword [ebx + 0x28]
xor eax, eax
test esi, esi
jbe 0x12ed787b
mov edx, dword [ebx + 0x24]
mov ecx, dword [edx]
test ecx, ecx
jne 0x12ed787b
inc eax
add edx, 4
cmp eax, esi
jb 0x12ed786d
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x12ed78a8
mov eax, dword [ecx + 4]
mov edi, dword [ebx + 0x28]
inc eax
cmp eax, edi
jae 0x12ed78a8
mov edx, dword [ebx + 0x24]
lea edx, [edx + eax*4]
mov esi, dword [edx]
test esi, esi
mov dword [esp + 0x10], esi
jne 0x12ed78a8
inc eax
add edx, 4
cmp eax, edi
jb 0x12ed7896
mov ebp, dword [ecx + 8]
mov eax, dword [esp + 0x10]
lea esi, [ecx + 0x10]
mov ecx, 6
lea edi, [esp + 0x28]
mov dword [esp + 0x18], eax
test ebp, ebp
rep movsd dword es:[edi], dword [esi]
je 0x12ed796f
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
inc ecx
cmp eax, 6
mov dword [esp + 0x14], ecx
jne 0x12ed7963
mov ecx, dword [ebx + 0x24]
xor edi, edi
cmp ecx, edi
je 0x12ed7965
mov eax, ebp
xor edx, edx
shr eax, 4
div dword [ebx + 0x28]
mov eax, dword [ecx + edx*4]
cmp eax, edi
lea ecx, [ecx + edx*4]
je 0x12ed7965
cmp dword [eax + 8], ebp
je 0x12ed790b
mov ecx, eax
mov eax, dword [eax]
cmp eax, edi
jne 0x12ed78fc
jmp 0x12ed7965
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [ebx + 0x30]
mov dword [eax], ecx
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x2c]
dec eax
mov dword [ebx + 0x2c], eax
jne 0x12ed7965
mov esi, dword [ebx + 0x24]
cmp esi, edi
je 0x12ed7944
mov eax, dword [ebx + 0x28]
cmp eax, edi
jbe 0x12ed7944
mov ecx, esi
mov edx, eax
mov eax, dword [ecx]
cmp eax, edi
je 0x12ed793e
mov eax, dword [eax]
cmp eax, edi
jne 0x12ed7938
add ecx, 4
dec edx
jne 0x12ed7932
push esi
call fcn.12f5bf80
mov ecx, dword [ebx + 0x34]
add esp, 4
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], edi
call fcn.12f54a00
mov dword [ebx + 0x34], edi
jmp 0x12ed7965
xor edi, edi
cmp dword [esp + 0x10], edi
jne 0x12ed7858
mov eax, dword [0x13198f68]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x12ed7995
mov edx, dword [esp + 4]
push edx
push 0x1314d1ec
push 0x1311785c
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.12f56100
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x12edb040
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x12edb082
mov eax, dword [esi + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x12edb062
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi], eax
cmp dword [esi], 0
jne 0x12edb082
mov eax, dword [esi + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x12edb082
push eax
push 0
call fcn.13005d20
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
mov eax, dword [esi]
test eax, eax
jne 0x12edb08c
pop esi
ret 4
mov ecx, dword [esp + 8]
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
mov eax, dword [0x13198f68]
test eax, eax
je 0x12edb0bd
mov edx, dword [esi + 4]
push edi
push edx
push 0x1314ed34
push 0x1311e648
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
test edi, edi
je 0x12edb0d0
cmp edi, 0x80
je 0x12edb0d0
pop edi
xor eax, eax
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x12edf470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x13067c80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
xor edi, edi
call fcn.12e9bef0
push 1
push edi
push ecx
mov dword [esp + 0x44], edi
mov ecx, esp
mov dword [esp + 0x14], esp
push str.scdt_hookapi_gateway_proxy_dns_enable
call fcn.12f46a80
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 0
call fcn.12e9c100
lea ecx, [esp + 0xc]
call fcn.12e9c170
test eax, eax
je 0x12edf4eb
lea ecx, [esp + 0xc]
call fcn.12e9c660
mov edi, eax
cmp edi, 1
je 0x12edf4eb
cmp edi, 2
jne 0x12edf4eb
mov dword [esi + 0x84], 0
jmp 0x12edf4f5
mov dword [esi + 0x84], 1
mov eax, dword [0x13198f68]
test eax, eax
je 0x12edf519
mov eax, dword [esi + 0x84]
add esi, 4
push eax
push edi
push 0x13152344
push esi
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.12e9c060
mov ecx, dword [esp + 0x30]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret
Function at 0x12ee48a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x130680e8
push eax
mov al, byte [0x131c3380]
mov dword fs:[0], esp
sub esp, 0x2c
test al, 1
push esi
mov esi, ecx
jne 0x12ee48e7
or al, 1
push 0x131911a8
mov ecx, 0x131c337c
mov byte [0x131c3380], al
call fcn.12f46a80
push 0x12ee49b0
call fcn.12f5c40c
add esp, 4
push 0x131911a8
lea ecx, [esp + 8]
call fcn.12f46a80
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.12e9bef0
push 1
push 0
push ecx
mov byte [esp + 0x44], 1
mov ecx, esp
mov dword [esp + 0x14], esp
push str.sci_copy2clipboard_audit
call fcn.12f46a80
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 1
call fcn.12e9c100
lea ecx, [esp + 0xc]
call fcn.12e9c170
test eax, eax
je 0x12ee4949
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
call fcn.12e9c5c0
mov ecx, dword [0x131c337c]
mov edx, dword [esp + 4]
push ecx
push edx
call fcn.12f5e1d4
add esp, 8
test eax, eax
je 0x12ee497c
lea eax, [esp + 4]
mov ecx, 0x131c337c
push eax
call fcn.12f473b0
mov ecx, dword [esp + 4]
push ecx
mov ecx, esi
call fcn.12ee49c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call fcn.12e9c060
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.12f47220
mov ecx, dword [esp + 0x30]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x38
ret
Function at 0x12ee5360
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push esi
lea esi, [ecx + 0x3c]
push esi
call fcn.12f5c44d
add esp, 4
test eax, eax
jne 0x12ee53b8
push edi
mov ecx, 0x81
lea edi, [esp + 0xa]
mov word [esp + 8], ax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 8]
push 0x13156c30
push ecx
push 0x130c4e18
push 0x103
push esi
call fcn.12f5d8c0
add esp, 0x14
pop edi
push esi
call fcn.12f5c44d
xor edx, edx
add esp, 4
cmp edx, eax
sbb eax, eax
pop esi
neg eax
add esp, 0x208
ret
Function at 0x12ee53e0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1306815b
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push ebx
push ebp
mov ebp, dword [esp + 0xf8]
xor ebx, ebx
push esi
cmp ebp, ebx
mov esi, ecx
je 0x12ee55c0
cmp dword [esp + 0x104], ebx
je 0x12ee55c0
push 0x20
push ebp
call fcn.12e339f0
add esp, 8
test eax, eax
jne 0x12ee55c0
push edi
push ebp
mov dword [esp + 0x18], ebx
call fcn.12f5c44d
mov dword [esp + 0x20], eax
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bx
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x104]
lea edx, [esp + 0x28]
stosw word es:[edi], ax
mov eax, dword [0x13196edc]
push eax
push ecx
push 0x13156cf8
push 0x63
push edx
call fcn.12f5d8c0
add esp, 0x14
mov ecx, esi
call fcn.12ee5360
mov ecx, dword [esp + 0x10c]
mov edi, dword [esp + 0x108]
lea eax, [esp + 0x28]
add esi, 0x3c
push eax
push esi
dec ecx
push 0x13156ce4
push ecx
push edi
call fcn.12f5d8c0
push ebx
push esi
call fcn.12f82100
add esp, 0x1c
test eax, eax
jne 0x12ee54bc
push eax
push esi
call fcn.12f82f30
add esp, 8
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x12ee558f
push 2
lea ecx, [esp + 0x24]
call fcn.12f29880
push esi
mov dword [esp + 0xfc], esi
push edi
mov byte [esp + 0x1a], 0xff
mov byte [esp + 0x1b], 0xfe
mov dword [esp + 0x20], esi
call fcn.12f7ff60
push ebp
mov esi, eax
call fcn.12f5c44d
add esp, 0xc
test eax, eax
je 0x12ee5579
test esi, esi
jne 0x12ee5579
push esi
push 0x80
push 4
push esi
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x12ee5579
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x18]
push 0
push edx
lea eax, [esp + 0x1a]
push 2
push eax
push esi
call edi
push 2
push 0
push 0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test ebx, ebx
je 0x12ee5563
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push 0
push ecx
lea eax, [edx + edx]
push eax
push ebp
push esi
call edi
mov ebx, eax
jmp 0x12ee556b
mov dword [esp + 0x14], 3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x108]
lea ecx, [esp + 0x20]
mov dword [esp + 0xf8], 0xffffffff
call fcn.12f298b0
jmp 0x12ee5597
mov dword [esp + 0x14], 2
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ee55bb
mov ecx, dword [esp + 0x14]
push edi
push ebx
push ecx
push 0x13156c5c
push str.SCIRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
mov eax, ebx
pop edi
jmp 0x12ee55c2
xor eax, eax
mov ecx, dword [esp + 0xec]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xec
ret 0x10
Function at 0x12ef5890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x13069266
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0x20]
mov dword [esp + 8], esi
mov dword [esi + 8], edi
mov word [esi + 0x1c], di
call fcn.12ef5e30
mov dword [esp + 0x14], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
lea ecx, [esi + 0xc]
mov byte [esp + 0x14], 1
xor eax, eax
mov dword [esi], 0x1307c250
mov dword [ecx], eax
push edi
push edi
push edi
mov dword [ecx + 4], eax
push edi
push edi
push edi
mov dword [ecx + 8], eax
push edi
push edi
push edi
mov dword [ecx + 0xc], eax
call fcn.12ef87b0
mov ecx, dword [esp + 0x30]
add esp, 0x24
mov dword [esi + 0x24], eax
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x12f00156
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, 0x131c3b08
jmp 0x12f00140
push 0xffffffffffffffff
push 0x130699db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x10]
call fcn.12f55b70
xor eax, eax
mov ecx, 0x67
mov dword [esp + 0x14], eax
lea edi, [esi + 0x30]
mov dword [esi], 0x1307c5e0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x12f00580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x13069a20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
push edi
mov edi, dword [esp + 0x44]
lea ecx, [esp + 0xc]
xor esi, esi
mov dword [edi], 0
call fcn.12e9bef0
mov ebp, dword [esp + 0x40]
push 1
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push ebp
mov dword [esp + 0x48], esi
call fcn.12f46a80
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 0
call fcn.12e9c100
cmp dword [esp + 0x2c], 0xf0000001
jne 0x12f005f0
lea ecx, [esp + 0xc]
call fcn.12e9c660
mov dword [edi], eax
mov esi, 1
mov eax, dword [0x13198f68]
test eax, eax
je 0x12f00612
mov eax, dword [edi]
push eax
push ebp
push esi
push 0x13160878
push 0x131606f4
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.12e9c060
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x30
ret 8

Function at 0x12f00950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x13069a5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x66
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push 1
call sym.winahdcore32.dll_GetTWMMsgInfo
lea ecx, [esp + 0xc4]
push ecx
call fcn.12f5c44d
add esp, 4
lea edx, [esi + 0x10]
lea ecx, [esp + 0xc]
mov edi, eax
push 1
push edx
call fcn.12f560a0
mov dword [esp + 0x1bc], ebx
lea ebx, [esi + 0xdc]
push ebx
call fcn.12f5c44d
add esp, 4
cmp edi, eax
jne 0x12f009e0
lea eax, [esp + 0xc4]
push edi
push eax
push ebx
call fcn.12f5d661
add esp, 0xc
test eax, eax
je 0x12f009e3
inc dword [esi + 0xc]
lea edi, [esi + 0x30]
mov ecx, 0x67
lea esi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1bc], 0xffffffff
call fcn.12f56100
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b4
ret
Function at 0x12f031e0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x118
push esi
call fcn.12d91d60
test eax, eax
je 0x12f033c6
mov eax, dword [0x13198f68]
test eax, eax
je 0x12f03211
push 0x13162a84
push 0x13162a78
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov eax, dword [0x13198f68]
test eax, eax
mov dword [esp + 4], esi
je 0x12f03247
push esi
push 0x13162a48
push 0x13162a78
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
test esi, esi
je 0x12f033c6
mov ecx, dword [0x13162a3c]
mov edx, dword [0x13162a40]
mov ax, word [0x13162a44]
push ebx
mov dword [esp + 0x10], ecx
push ebp
lea ecx, [esp + 0x14]
push edi
push ecx
mov dword [esp + 0x20], edx
mov word [esp + 0x24], ax
call fcn.12f5c44d
mov ebp, eax
mov eax, dword [esp + 0x18]
add esp, 4
xor ebx, ebx
test eax, eax
jle 0x12f0339f
mov eax, dword [esi]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.12f5c46a
mov edi, eax
mov eax, dword [0x13198f68]
add esp, 8
test eax, eax
je 0x12f032cd
test edi, edi
mov eax, edi
jne 0x12f032b4
mov eax, 0x130c8c0c
push eax
mov eax, dword [esi]
push eax
push ebx
push 0x131629f4
push 0x13162a78
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
test edi, edi
je 0x12f032f5
cmp word [edi + ebp*2], 0
je 0x12f032de
mov word [edi + ebp*2], 0
mov eax, dword [esi]
push 0x3a
push eax
call fcn.12f5cfc9
mov edx, eax
add esp, 8
test edx, edx
je 0x12f032f5
cmp edx, dword [esi]
jne 0x12f03306
mov eax, dword [esp + 0x14]
inc ebx
add esi, 4
cmp ebx, eax
jl 0x12f0328e
jmp 0x12f0339b
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x24]
push 0x104
stosw word es:[edi], ax
push ecx
add edx, 0xfffffffe
push 0xffffffffffffffff
push edx
stosb byte es:[edi], al
call fcn.12e2f7e0
mov eax, dword [0x13198f68]
add esp, 0x10
test eax, eax
je 0x12f03356
lea edx, [esp + 0x24]
push edx
push ebx
push 0x131629b8
push 0x13162a78
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
lea eax, [esp + 0x24]
mov ecx, 0x131b7e0c
push eax
call fcn.12e63e00
test eax, eax
je 0x12f0339b
mov eax, dword [0x13198f68]
test eax, eax
je 0x12f0338c
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0x1316296c
push 0x13162a78
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
lea edx, [esp + 0x24]
mov ecx, 0x131b7e0c
push edx
call fcn.12e63ea0
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x13198f68]
pop edi
pop ebp
pop ebx
test eax, eax
je 0x12f033c6
push 0x13162940
push 0x13162a78
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
pop esi
add esp, 0x118
ret
Function at 0x12f06890
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x13069f46
push eax
mov eax, dword [0x131c40ac]
mov dword fs:[0], esp
sub esp, 0x418
push esi
xor esi, esi
cmp eax, esi
je 0x12f06a99
mov eax, dword [0x131c40b0]
mov ecx, dword [esp + 0x42c]
add eax, 0x1388
cmp eax, ecx
ja 0x12f06a99
cmp dword [0x131c40cc], esi
jne 0x12f06a99
mov eax, dword [0x13197708]
mov dword [0x131c40cc], 1
cmp eax, 0x20
jne 0x12f06a99
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp eax, esi
je 0x12f06914
push 0x1316443c
push eax
call fcn.12f5c46a
add esp, 8
test eax, eax
jne 0x12f06980
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.12f8c8a0
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.12f8ca00
add esp, 0xc
mov eax, dword [eax]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x428], esi
call fcn.12f46920
lea ecx, [esp + 8]
mov byte [esp + 0x424], 2
call fcn.12f41ea0
mov edx, dword [esp + 4]
push 0x13164418
push edx
call fcn.12f5e1d4
add esp, 8
cmp eax, esi
mov dword [esp + 0x424], 0xffffffff
lea ecx, [esp + 4]
je 0x12f06a94
call fcn.12f47220
push esi
call fcn.12f0af20
mov edx, eax
add esp, 4
cmp edx, esi
je 0x12f06a99
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], si
mov dword [esp + 0xc], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
test eax, eax
je 0x12f06a60
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 8], esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push ecx
call fcn.12f37830
mov eax, dword [esp + 0xc]
add esp, 4
cmp eax, 1
jne 0x12f06a0e
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x12f06a60
push esi
lea edx, [esp + 0x14]
push 0x103
push edx
push eax
mov ecx, 0x131979b8
call fcn.12d959f0
cmp word [esp + 0x10], si
jne 0x12f06a0e
mov dword [esp + 8], 2
jmp 0x12f06a15
cmp dword [esp + 8], 2
jne 0x12f06a60
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x218]
push eax
push 0x103
push ecx
call fcn.12f39450
lea edx, [esp + 0x1c]
push 0x104
lea eax, [esp + 0x228]
push edx
push eax
call fcn.12f38ed0
add esp, 0x18
mov eax, dword [0x13198f68]
pop edi
cmp eax, esi
je 0x12f06a99
push 0x131643ec
push str.UpDlFileFrame
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
pop esi
mov ecx, dword [esp + 0x418]
mov dword fs:[0], ecx
add esp, 0x424
ret
call fcn.12f47220
mov ecx, dword [esp + 0x41c]
pop esi
mov dword fs:[0], ecx
add esp, 0x424
ret
Function at 0x12f07cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x13069fb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ebp
push esi
mov ebp, dword [ecx + 4]
mov esi, dword [eax + 4]
test ebp, ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
jg 0x12f07cec
test esi, esi
jle 0x12f07e25
mov edx, dword [esp + 0x30]
push ebx
push 1
push edx
lea ecx, [esp + 0x20]
call fcn.12f560a0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], 0
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
lea ebx, [ecx - 1]
test ebx, ebx
mov dword [esp + 0x34], ebx
jl 0x12f07deb
mov ecx, ebx
push edi
shl ecx, 5
add ecx, ebx
lea ebx, [ebx + ecx*2]
shl ebx, 3
xor eax, eax
test esi, esi
jle 0x12f07d71
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov ecx, dword [ecx]
mov edx, dword [edx]
mov edi, dword [ecx + ebx]
lea esi, [ecx + ebx]
mov ecx, edx
cmp edi, dword [ecx]
je 0x12f07d60
mov ebp, dword [esp + 0x10]
inc eax
add ecx, 0x218
cmp eax, ebp
mov ebp, dword [esp + 0x14]
jl 0x12f07d47
jmp 0x12f07d71
mov ecx, eax
shl ecx, 5
add ecx, eax
lea eax, [eax + ecx*2]
mov ecx, dword [edx + eax*8 + 0xc]
mov dword [esi + 0xc], ecx
xor ecx, ecx
test ebp, ebp
jle 0x12f07dcb
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov edx, dword [edx]
mov eax, dword [eax]
mov edi, dword [ebx + edx]
lea esi, [ebx + edx]
cmp edi, dword [eax]
je 0x12f07d99
inc ecx
add eax, 0x218
cmp ecx, ebp
jl 0x12f07d89
jmp 0x12f07dcb
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [edi + 4]
sub eax, ecx
dec eax
je 0x12f07dc8
mov ecx, eax
shl ecx, 5
add ecx, eax
lea eax, [eax + ecx*2]
lea ecx, [ebx + edx + 0x218]
shl eax, 3
push eax
push ecx
push esi
call fcn.12f5c4f0
add esp, 0xc
dec dword [edi + 4]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
dec eax
sub ebx, 0x218
test eax, eax
mov dword [esp + 0x38], eax
jge 0x12f07d2d
mov ecx, dword [esp + 0x18]
pop edi
mov eax, dword [0x13198f68]
pop ebx
test eax, eax
je 0x12f07e14
mov edx, dword [esp + 0x34]
push esi
push ebp
mov eax, dword [edx + 4]
push eax
push ecx
push 0x13164b14
push str.UpDlFileFrame
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x1c
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.12f56100
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10