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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], 1
mov eax, dword [0x1075004]
mov edi, 0x1075004
mov ebx, 0x1002380
cmp eax, edi
je 0x1036566
test byte [eax + 0x1c], 4
je 0x1036566
cmp byte [eax + 0x19], 5
jb 0x1036566
push ebx
push 0x14a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.010362ac
mov dword [ebp - 4], eax
cmp eax, esi
je 0x10365ba
mov eax, dword [0x1075004]
cmp eax, edi
je 0x10366db
test byte [eax + 0x1c], 4
je 0x10366db
cmp byte [eax + 0x19], 2
jb 0x10366db
push dword [ebp - 4]
push ebx
push 0x14b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
jmp 0x10366db
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call esi
test eax, eax
jne 0x103660c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, edi
je 0x10366db
test byte [eax + 0x1c], 4
je 0x10366db
cmp byte [eax + 0x19], 2
jb 0x10366db
push dword [ebp - 4]
push ebx
push 0x14c
jmp 0x10366d0
push 0
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1036656
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, edi
je 0x10366db
test byte [eax + 0x1c], 4
je 0x10366db
cmp byte [eax + 0x19], 2
jb 0x10366db
push dword [ebp - 4]
push ebx
push 0x14d
jmp 0x10366d0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1036694
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, edi
je 0x10366db
test byte [eax + 0x1c], 4
je 0x10366db
cmp byte [eax + 0x19], 2
jb 0x10366db
push dword [ebp - 4]
push ebx
push 0x14e
jmp 0x10366d0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x10366db
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, edi
je 0x10366db
test byte [eax + 0x1c], 4
je 0x10366db
cmp byte [eax + 0x19], 2
jb 0x10366db
push dword [ebp - 4]
push ebx
push 0x14f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
cmp dword [ebp - 8], 0
pop edi
pop esi
pop ebx
je 0x10366ec
push dword [ebp - 8]
call fcn.0105c5dc
mov eax, dword [ebp - 4]
leave
ret 0xc
Function at 0x103689d
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov edi, 0x1002380
cmp eax, esi
je 0x10368e0
test byte [eax + 0x1c], 4
je 0x10368e0
cmp byte [eax + 0x19], 5
jb 0x10368e0
push edi
push 0x155
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1036929
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1036a72
test byte [eax + 0x1c], 4
je 0x1036a72
cmp byte [eax + 0x19], 2
jb 0x1036a72
push dword [ebp - 4]
push edi
push 0x156
jmp 0x10369f8
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0x590
jae 0x1036970
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1036964
test byte [eax + 0x1c], 4
je 0x1036964
cmp byte [eax + 0x19], 3
jb 0x1036964
push ebx
push edi
push 0x157
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
mov dword [ebp - 4], 0x570
jmp 0x1036a86
push ebx
call fcn.0105c544
mov dword [ebp - 8], eax
test eax, eax
jne 0x10369b0
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10369a4
test byte [eax + 0x1c], 4
je 0x10369a4
cmp byte [eax + 0x19], 2
jb 0x10369a4
push ebx
push edi
push 0x158
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
mov dword [ebp - 4], 8
jmp 0x1036a78
push 0
lea ecx, [ebp - 0xc]
push ecx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1036a05
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1036a72
test byte [eax + 0x1c], 4
je 0x1036a72
cmp byte [eax + 0x19], 2
jb 0x1036a72
push dword [ebp - 4]
push edi
push 0x159
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
jmp 0x1036a72
cmp ebx, dword [ebp - 0xc]
je 0x1036a39
push 0x26
pop ecx
mov dword [ebp - 4], ecx
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1036a78
test byte [eax + 0x1c], 4
je 0x1036a78
cmp byte [eax + 0x19], 2
jb 0x1036a78
push ecx
push edi
push 0x15a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
jmp 0x1036a78
push dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
push ebx
call fcn.01034a94
test eax, eax
jne 0x1036a6d
push 0xd
pop ecx
mov dword [ebp - 4], ecx
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1036a78
test byte [eax + 0x1c], 4
je 0x1036a78
cmp byte [eax + 0x19], 2
jb 0x1036a78
push ecx
push edi
push 0x15b
jmp 0x1036a2c
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
cmp dword [ebp - 4], 0
je 0x1036a86
cmp dword [ebp - 8], 0
je 0x1036a86
push dword [ebp - 8]
call fcn.0105c5dc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1039bff
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x1075fb8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov edi, 0x1002380
cmp eax, esi
je 0x1039c44
test byte [eax + 0x1c], 4
je 0x1039c44
cmp byte [eax + 0x19], 5
jb 0x1039c44
push edi
push 0x4b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
mov eax, dword [0x1078100]
push dword [eax + 0x5c]
and dword [ebp - 0x460], 0
push 0x1002d54
mov ebx, 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.01009acc
add esp, 0x10
test eax, eax
jge 0x1039c9d
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x1039c96
test byte [ecx + 0x1c], 4
je 0x1039c96
cmp byte [ecx + 0x19], 2
jb 0x1039c96
push eax
push edi
push 0x4c
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0102ca9d
xor eax, eax
jmp 0x1039e2a
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x464], eax
cmp eax, 0xffffffff
jne 0x1039cf0
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1039ce8
test byte [eax + 0x1c], 4
je 0x1039ce8
cmp byte [eax + 0x19], 3
jb 0x1039ce8
mov ecx, dword [0x1078100]
push dword [ecx + 0x5c]
push edi
push 0x4d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091b8
xor eax, eax
inc eax
jmp 0x1039e2a
lea eax, [ebp - 0x430]
push eax
mov eax, dword [0x1078100]
push dword [eax + 0x5c]
lea eax, [ebp - 0x20c]
push 0x10019a0
push ebx
push eax
call fcn.01009acc
add esp, 0x14
test eax, eax
jge 0x1039d4b
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x1039dbb
test byte [ecx + 0x1c], 4
je 0x1039dbb
cmp byte [ecx + 0x19], 2
jb 0x1039dbb
push eax
push edi
push 0x4e
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0102ca9d
jmp 0x1039dbb
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1039d75
test byte [eax + 0x1c], 4
je 0x1039d75
cmp byte [eax + 0x19], 5
jb 0x1039d75
lea ecx, [ebp - 0x20c]
push ecx
push edi
push 0x4f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091b8
lea eax, [ebp - 0x20c]
push eax
call fcn.01039873
test eax, eax
jne 0x1039dc5
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1039dbb
test byte [eax + 0x1c], 4
je 0x1039dbb
cmp byte [eax + 0x19], 2
jb 0x1039dbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [0x1075004]
push edi
push 0x50
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a6e9
mov dword [ebp - 0x460], 1
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1039cf0
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x1039e1f
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1039e1f
test byte [eax + 0x1c], 4
je 0x1039e1f
cmp byte [eax + 0x19], 2
jb 0x1039e1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1075004]
push edi
push 0x51
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
xor eax, eax
cmp dword [ebp - 0x460], eax
sete al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0105bb63
leave
ret
Function at 0x103ae46
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x1075fb8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov edi, 0x1002380
cmp eax, esi
je 0x103ae8b
test byte [eax + 0x1c], 4
je 0x103ae8b
cmp byte [eax + 0x19], 5
jb 0x103ae8b
push edi
push 0x3b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
mov eax, dword [0x1078100]
push dword [eax + 0x5c]
and dword [ebp - 0x460], 0
push 0x1002d68
mov ebx, 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.01009acc
add esp, 0x10
test eax, eax
jge 0x103aee4
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x103aedd
test byte [ecx + 0x1c], 4
je 0x103aedd
cmp byte [ecx + 0x19], 2
jb 0x103aedd
push eax
push edi
push 0x3c
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0102ca9d
xor eax, eax
jmp 0x103b071
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x464], eax
cmp eax, 0xffffffff
jne 0x103af37
mov eax, dword [0x1075004]
cmp eax, esi
je 0x103af2f
test byte [eax + 0x1c], 4
je 0x103af2f
cmp byte [eax + 0x19], 3
jb 0x103af2f
mov ecx, dword [0x1078100]
push dword [ecx + 0x5c]
push edi
push 0x3d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091b8
xor eax, eax
inc eax
jmp 0x103b071
lea eax, [ebp - 0x430]
push eax
mov eax, dword [0x1078100]
push dword [eax + 0x5c]
lea eax, [ebp - 0x20c]
push 0x10019a0
push ebx
push eax
call fcn.01009acc
add esp, 0x14
test eax, eax
jge 0x103af92
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x103b002
test byte [ecx + 0x1c], 4
je 0x103b002
cmp byte [ecx + 0x19], 2
jb 0x103b002
push eax
push edi
push 0x3e
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0102ca9d
jmp 0x103b002
mov eax, dword [0x1075004]
cmp eax, esi
je 0x103afbc
test byte [eax + 0x1c], 4
je 0x103afbc
cmp byte [eax + 0x19], 5
jb 0x103afbc
lea ecx, [ebp - 0x20c]
push ecx
push edi
push 0x3f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091b8
lea eax, [ebp - 0x20c]
push eax
call fcn.0103ac35
test eax, eax
jne 0x103b00c
mov eax, dword [0x1075004]
cmp eax, esi
je 0x103b002
test byte [eax + 0x1c], 4
je 0x103b002
cmp byte [eax + 0x19], 2
jb 0x103b002
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [0x1075004]
push edi
push 0x40
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a6e9
mov dword [ebp - 0x460], 1
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x103af37
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x103b066
mov eax, dword [0x1075004]
cmp eax, esi
je 0x103b066
test byte [eax + 0x1c], 4
je 0x103b066
cmp byte [eax + 0x19], 2
jb 0x103b066
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1075004]
push edi
push 0x41
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
xor eax, eax
cmp dword [ebp - 0x460], eax
sete al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0105bb63
leave
ret
Function at 0x103b618
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x1075fb8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov edi, 0x1002380
cmp eax, esi
je 0x103b65d
test byte [eax + 0x1c], 4
je 0x103b65d
cmp byte [eax + 0x19], 5
jb 0x103b65d
push edi
push 0x5c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
mov eax, dword [0x1078100]
push dword [eax + 0x5c]
and dword [ebp - 0x460], 0
push 0x1002d7c
mov ebx, 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.01009acc
add esp, 0x10
test eax, eax
jge 0x103b6b6
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x103b6af
test byte [ecx + 0x1c], 4
je 0x103b6af
cmp byte [ecx + 0x19], 2
jb 0x103b6af
push eax
push edi
push 0x5d
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0102ca9d
xor eax, eax
jmp 0x103b843
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x464], eax
cmp eax, 0xffffffff
jne 0x103b709
mov eax, dword [0x1075004]
cmp eax, esi
je 0x103b701
test byte [eax + 0x1c], 4
je 0x103b701
cmp byte [eax + 0x19], 3
jb 0x103b701
mov ecx, dword [0x1078100]
push dword [ecx + 0x5c]
push edi
push 0x5e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091b8
xor eax, eax
inc eax
jmp 0x103b843
lea eax, [ebp - 0x430]
push eax
mov eax, dword [0x1078100]
push dword [eax + 0x5c]
lea eax, [ebp - 0x20c]
push 0x10019a0
push ebx
push eax
call fcn.01009acc
add esp, 0x14
test eax, eax
jge 0x103b764
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x103b7d4
test byte [ecx + 0x1c], 4
je 0x103b7d4
cmp byte [ecx + 0x19], 2
jb 0x103b7d4
push eax
push edi
push 0x5f
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0102ca9d
jmp 0x103b7d4
mov eax, dword [0x1075004]
cmp eax, esi
je 0x103b78e
test byte [eax + 0x1c], 4
je 0x103b78e
cmp byte [eax + 0x19], 5
jb 0x103b78e
lea ecx, [ebp - 0x20c]
push ecx
push edi
push 0x60
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091b8
lea eax, [ebp - 0x20c]
push eax
call fcn.0103b085
test eax, eax
jne 0x103b7de
mov eax, dword [0x1075004]
cmp eax, esi
je 0x103b7d4
test byte [eax + 0x1c], 4
je 0x103b7d4
cmp byte [eax + 0x19], 2
jb 0x103b7d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [0x1075004]
push edi
push 0x61
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a6e9
mov dword [ebp - 0x460], 1
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x103b709
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x103b838
mov eax, dword [0x1075004]
cmp eax, esi
je 0x103b838
test byte [eax + 0x1c], 4
je 0x103b838
cmp byte [eax + 0x19], 2
jb 0x103b838
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1075004]
push edi
push 0x62
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
xor eax, eax
cmp dword [ebp - 0x460], eax
sete al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0105bb63
leave
ret
Function at 0x104133b
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
xor edx, edx
cmp ecx, 2
sete dl
push esi
push edi
mov edi, edx
cmp ecx, 2
jne 0x104135d
mov eax, dword [eax + 0x15c]
mov esi, dword [eax + 0xf8]
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x104138d
test byte [eax + 0x1c], 4
je 0x104138d
cmp byte [eax + 0x19], 5
jb 0x104138d
push 0x1002eb4
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
test edi, edi
je 0x10413b6
xor eax, eax
cmp dword [ebp + 0xc], eax
sete al
lea eax, [eax*8 + 8]
test dword [ebp + 0x10], eax
je 0x10413aa
xor eax, eax
inc eax
jmp 0x10413c1
push dword [ebp + 0x14]
push esi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x10413c1
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.01049c80
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x10429f3
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov edi, 0x100300c
cmp eax, esi
je 0x1042a2a
test byte [eax + 0x1c], 4
je 0x1042a2a
cmp byte [eax + 0x19], 5
jb 0x1042a2a
push edi
push 0x34
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
lea eax, [ebp - 0xc]
push eax
xor eax, eax
push eax
push eax
push 0x1009706
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
test eax, eax
jne 0x1042a7c
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1042a75
test byte [eax + 0x1c], 4
je 0x1042a75
cmp byte [eax + 0x19], 2
jb 0x1042a75
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1075004]
push edi
push 0x35
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
xor esi, esi
jmp 0x1042b4e
push 0x4e20
push 0
push 3
call fcn.010246f0
push 0x2710
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1042acd
cmp eax, 0x102
jne 0x1042b14
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1042ac6
test byte [eax + 0x1c], 4
je 0x1042ac6
cmp byte [eax + 0x19], 5
jb 0x1042ac6
push edi
push 0x37
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push 0x7530
jmp 0x1042a81
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x1042aff
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1042b43
test byte [eax + 0x1c], 4
je 0x1042b43
cmp byte [eax + 0x19], 2
jb 0x1042b43
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 0x36
jmp 0x1042b33
push dword [ebp - 8]
xor eax, eax
cmp dword [ebp - 8], eax
sete al
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1042b45
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1042b43
test byte [eax + 0x1c], 4
je 0x1042b43
cmp byte [eax + 0x19], 2
jb 0x1042b43
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 0x38
mov eax, dword [0x1075004]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
xor esi, esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x10481be
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov edi, 0x1003160
cmp eax, esi
je 0x10481f9
test byte [eax + 0x1c], 4
je 0x10481f9
cmp byte [eax + 0x19], 5
jb 0x10481f9
push edi
push 0x8e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push eax
push 0x1047425
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10780e4], eax
test eax, eax
jne 0x1048251
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1048246
test byte [eax + 0x1c], 4
je 0x1048246
cmp byte [eax + 0x19], 2
jb 0x1048246
push ebx
push edi
push 0x8f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
test ebx, ebx
je 0x1048251
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
test ebx, ebx
pop esi
sete al
pop ebx
leave
ret
Function at 0x1049930
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov edi, 0x10042c8
cmp eax, esi
je 0x1049965
test byte [eax + 0x1c], 4
je 0x1049965
cmp byte [eax + 0x19], 5
jb 0x1049965
push edi
push 0x30
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
mov ebx, 0x1077fe0
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 0x18], eax
test eax, eax
jne 0x10499b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x1c], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10499ee
test byte [eax + 0x1c], 4
je 0x10499ee
cmp byte [eax + 0x19], 2
jb 0x10499ee
push dword [ebp + 0x1c]
push edi
push 0x31
jmp 0x10499e3
call fcn.01049782
test eax, eax
jne 0x10499ee
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10499ee
test byte [eax + 0x1c], 4
je 0x10499ee
cmp byte [eax + 0x19], 2
jb 0x10499ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1075004]
push edi
push 0x32
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 0x18], 0
pop edi
pop esi
pop ebx
jne 0x1049a07
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 0x18]
pop ebp
ret 0x18
Function at 0x105638d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [0x1075004]
mov edi, 0x1075004
mov ebx, 0x1004d48
cmp eax, edi
je 0x10563c5
test byte [eax + 0x1c], 4
je 0x10563c5
cmp byte [eax + 0x19], 5
jb 0x10563c5
push ebx
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push dword [esi + 0x24]
and dword [ebp - 4], 0
push 0x1004dac
push dword [ebp + 8]
call fcn.010602f7
test eax, eax
jne 0x1056412
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, edi
je 0x1056539
test byte [eax + 0x1c], 4
je 0x1056539
cmp byte [eax + 0x19], 2
jb 0x1056539
push dword [ebp - 4]
push ebx
push 0x10
jmp 0x105652e
push dword [esi + 0x28]
push 0x1004d98
push dword [ebp + 8]
call fcn.010602f7
test eax, eax
jne 0x105645b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, edi
je 0x1056539
test byte [eax + 0x1c], 4
je 0x1056539
cmp byte [eax + 0x19], 2
jb 0x1056539
push dword [ebp - 4]
push ebx
push 0x11
jmp 0x105652e
xor eax, eax
cmp dword [esi + 0x20], eax
setne al
push eax
push 0x1004d84
push dword [ebp + 8]
call fcn.010602f7
test eax, eax
jne 0x10564aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, edi
je 0x1056539
test byte [eax + 0x1c], 4
je 0x1056539
cmp byte [eax + 0x19], 2
jb 0x1056539
push dword [ebp - 4]
push ebx
push 0x12
jmp 0x105652e
cmp dword [esi + 0x20], 0
jne 0x10564ea
push dword [esi + 0x1c]
push 0x1004d70
push dword [ebp + 8]
call fcn.010602f7
test eax, eax
jne 0x1056539
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, edi
je 0x1056539
test byte [eax + 0x1c], 4
je 0x1056539
cmp byte [eax + 0x19], 2
jb 0x1056539
push dword [ebp - 4]
push ebx
push 0x13
jmp 0x105652e
cmp dword [esi + 0x18], 8
jb 0x10564f5
mov esi, dword [esi + 4]
jmp 0x10564f8
add esi, 4
push esi
push 0x1004d5c
push dword [ebp + 8]
call fcn.010603f5
test eax, eax
jne 0x1056539
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x1075004]
cmp eax, edi
je 0x1056539
test byte [eax + 0x1c], 4
je 0x1056539
cmp byte [eax + 0x19], 2
jb 0x1056539
push dword [ebp - 4]
push ebx
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4