joyce8/EMBER2024-capa huggingface dataset:
Function at 0x12928
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
call dword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov edi, 0x184c4
mov ecx, edi
mov esi, eax
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
cmp byte [0x1822c], 0
je 0x12959
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0xc0000010
jmp 0x1296d
mov dword [0x18228], esi
mov esi, dword [ebp + 8]
and dword [esi + 0x18], 0
mov byte [0x1822c], 1
mov dl, al
mov ecx, edi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
and dword [esi + 0x1c], 0
xor dl, dl
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, dword [esi + 0x18]
pop edi
pop esi
pop ebp
ret 8

Function at 0x12994
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0xc]
test esi, esi
je 0x129fc
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0x20
jb 0x129fc
cmp dword [0x187d0], 0
mov ebx, 0x18280
jne 0x129d2
push 0
push 0x640000
push 0x187d0
call fcn.000125be
test eax, eax
jl 0x129ec
cmp dword [0x18280], 0
jne 0x12a0c
push 0
push 0x40000
push ebx
call fcn.000125be
test eax, eax
jge 0x12a0c
push 0x187d0
call fcn.000126e2
push ebx
call fcn.000126e2
and dword [edi + 0x1c], 0
mov eax, 0xc0000001
mov dword [edi + 0x18], eax
mov esi, eax
jmp 0x12a54
mov eax, dword [0x187d4]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, dword [0x187e0]
mov dword [esi + 8], eax
mov eax, dword [0x187e4]
mov dword [esi + 0xc], eax
mov eax, dword [0x18284]
cdq
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov eax, dword [0x18290]
mov dword [esi + 0x18], eax
mov eax, dword [0x18294]
mov dword [esi + 0x1c], eax
call fcn.00011e56
xor esi, esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], 0x20
xor dl, dl
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x12a6c
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
call fcn.00011fa6
mov esi, 0x184c4
mov ecx, esi
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
and dword [0x18228], 0
mov dl, al
mov ecx, esi
mov byte [0x1822c], 0
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
call fcn.0001279c
call fcn.000113e4
call fcn.000118c4
call fcn.00011c94
push 0x187d0
call fcn.000126e2
push 0x18280
call fcn.000126e2
mov ecx, dword [ebp + 8]
and dword [ecx + 0x18], 0
and dword [ecx + 0x1c], 0
xor dl, dl
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x13396
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, 0x184c4
push edi
mov ecx, ebx
mov byte [ebp - 1], 0
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, dword [0x187e8]
mov esi, 0x187e8
mov dl, al
mov byte [ebp - 2], dl
cmp ecx, esi
je 0x1345d
cmp dword [0x187f0], 0x187f0
je 0x1345d
lea edi, [ecx - 0x58]
xor eax, eax
lea edx, [edi + 0x38]
xchg dword [edx], eax
test eax, eax
jne 0x133ee
mov ecx, dword [ecx]
cmp ecx, esi
jne 0x133d8
jmp 0x133fc
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ecx], esi
mov dword [esi + 4], ecx
mov byte [ebp - 1], 1
mov dl, byte [ebp - 2]
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
cmp byte [ebp - 1], 0
je 0x13465
mov eax, dword [edi + 4]
xor ebx, ebx
test byte [eax + 6], 5
je 0x1341d
mov esi, dword [eax + 0xc]
jmp 0x1342d
push 0x20
push ebx
push ebx
push 1
push ebx
push eax
call dword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov esi, eax
cmp esi, ebx
jne 0x13447
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x18], 0xc000009a
xor dl, dl
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
jmp 0x13465
call fcn.000132b6
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], 8
jmp 0x1343b
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x134ca
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
xor edi, edi
cmp eax, edi
jne 0x134e7
mov edi, 0xc000000d
jmp 0x1358b
test byte [eax + 6], 5
je 0x134f2
mov eax, dword [eax + 0xc]
jmp 0x13500
push 0x10
push edi
push edi
push 1
push edi
push eax
call dword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
cmp eax, edi
je 0x1357e
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 8
jb 0x1357e
push ebx
mov ebx, 0x184c4
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
lea ecx, [esi + 0x38]
mov edx, 0x13470
mov edi, ecx
xchg dword [edi], edx
cmp byte [esi + 0x24], 0
je 0x1353c
xor edx, edx
xchg dword [ecx], edx
test edx, edx
je 0x1353c
mov edi, 0xc0000120
jmp 0x13562
mov ecx, dword [esi + 0x60]
or byte [ecx + 3], 1
mov edi, dword [0x187ec]
lea ecx, [esi + 0x58]
mov dword [ecx + 4], edi
mov dword [ecx], 0x187e8
mov dword [edi], ecx
mov dword [0x187ec], ecx
mov edi, 0x103
mov dl, al
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push 0
push 0
push 0x18298
call dword [sym.imp.ntoskrnl.exe_KeInsertQueueDpc]
pop ebx
jmp 0x13583
mov edi, 0xc000009a
cmp edi, 0x103
je 0x1359c
and dword [esi + 0x1c], 0
xor dl, dl
mov ecx, esi
mov dword [esi + 0x18], edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
pop edi
pop esi
pop ebp
ret 8
Function at 0x14398
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [eax + 4]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
xor edi, edi
test byte [eax + 6], 5
je 0x143b9
mov eax, dword [eax + 0xc]
jmp 0x143c7
push 0x10
push edi
push edi
push 1
push edi
push eax
call dword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
cmp eax, edi
je 0x143eb
cmp ebx, 8
jb 0x143eb
push dword [eax]
call fcn.000142f8
xor dl, dl
mov ecx, esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
jmp 0x143ff
mov edi, 0xc000009a
xor dl, dl
mov ecx, esi
mov dword [esi + 0x18], edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x14978
Capabilities:
Register network filter via wfp api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x10]
push 0x3c
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x5c]
push 0
push eax
mov dword [ebp - 0x100], esi
call sub.ntoskrnl.exe_memset
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xf8]
mov eax, 0x16a26
mov dword [ebp - 0x48], eax
mov ebx, 0x169f4
mov dword [ebp - 0x4c], ebx
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x5c]
push eax
push dword [0x18948]
mov dword [ebp - 0x44], esi
call sub.fwpkclnt.sys_FwpmCalloutAdd0
cmp eax, esi
jl 0x14aa6
push 0x98
lea eax, [ebp - 0xf4]
push esi
push eax
call sub.ntoskrnl.exe_memset
mov esi, dword [ebp - 0xf8]
lea edi, [ebp - 0xcc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x100]
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0x9c], 0x5003
lea edi, [ebp - 0x98]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xfc]
lea eax, [ebp - 0x20]
mov dword [ebp - 0xa0], eax
lea edi, [ebp - 0xbc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov esi, 0x176d4
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
push ebx
movsd dword es:[edi], dword [esi]
push ebx
lea eax, [ebp - 0xf4]
xor edx, edx
push eax
push dword [0x18948]
inc edx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edx
mov byte [ebp - 8], 6
call sub.fwpkclnt.sys_FwpmFilterAdd0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00016354
leave
ret 0xc
Function at 0x14abc
Capabilities:
Register network filter via wfp api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x10]
push 0x3c
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x5c]
push 0
push eax
mov dword [ebp - 0x100], esi
call sub.ntoskrnl.exe_memset
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xf8]
mov eax, 0x16a26
mov dword [ebp - 0x48], eax
mov ebx, 0x169f4
mov dword [ebp - 0x4c], ebx
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x5c]
push eax
push dword [0x18948]
mov dword [ebp - 0x44], esi
call sub.fwpkclnt.sys_FwpmCalloutAdd0
cmp eax, esi
jl 0x14bea
push 0x98
lea eax, [ebp - 0xf4]
push esi
push eax
call sub.ntoskrnl.exe_memset
mov esi, dword [ebp - 0xf8]
lea edi, [ebp - 0xcc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x100]
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0x9c], 0x5003
lea edi, [ebp - 0x98]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xfc]
lea eax, [ebp - 0x20]
mov dword [ebp - 0xa0], eax
lea edi, [ebp - 0xbc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov esi, 0x176d4
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
push ebx
movsd dword es:[edi], dword [esi]
push ebx
lea eax, [ebp - 0xf4]
xor edx, edx
push eax
push dword [0x18948]
inc edx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edx
mov byte [ebp - 8], 0x11
call sub.fwpkclnt.sys_FwpmFilterAdd0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00016354
leave
ret 0xc
Function at 0x14c00
Capabilities:
Register network filter via wfp api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x10]
push 0x3c
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x40]
push 0
push eax
mov dword [ebp - 0xe4], esi
call sub.ntoskrnl.exe_memset
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xdc]
mov eax, 0x16a82
mov dword [ebp - 0x2c], eax
mov ebx, 0x16a64
mov dword [ebp - 0x30], ebx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x40]
push eax
push dword [0x18948]
mov dword [ebp - 0x28], esi
call sub.fwpkclnt.sys_FwpmCalloutAdd0
cmp eax, esi
jl 0x14cfe
push 0x98
lea eax, [ebp - 0xd8]
push esi
push eax
call sub.ntoskrnl.exe_memset
mov esi, dword [ebp - 0xdc]
lea edi, [ebp - 0xb0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xe4]
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0x80], 0x5003
lea edi, [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xe0]
xor eax, eax
mov dword [ebp - 0x84], eax
lea edi, [ebp - 0xa0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
push eax
movsd dword es:[edi], dword [esi]
push eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0xd8]
push eax
push dword [0x18948]
call sub.fwpkclnt.sys_FwpmFilterAdd0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00016354
leave
ret 0xc
Function at 0x150ac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
call fcn.0001237c
cmp dword [esi + 0x40], eax
jne 0x150c6
xor eax, eax
jmp 0x15272
call fcn.0001144c
test eax, eax
je 0x150bf
mov byte [eax + 0x14], 0
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x60], ecx
mov ecx, dword [esi + 0x24]
mov dword [eax + 0x64], ecx
mov ecx, dword [esi + 0x40]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x34
push edi
jne 0x151be
push ebx
push 0x14
pop edx
mov word [eax + 0x68], dx
mov edx, dword [0x18918]
mov dword [eax + 0x6c], edx
mov edx, dword [0x1891c]
mov dword [eax + 0x70], edx
push 0x10
pop edx
mov word [eax + 0x74], dx
mov edx, dword [0x18938]
mov dword [eax + 0x78], edx
push 0xc
pop edx
mov word [eax + 0x7c], dx
mov edx, dword [0x18940]
mov dword [eax + 0x80], edx
mov edx, dword [ecx + 8]
mov dx, word [edx + 0x2c]
mov word [eax + 0x5c], dx
push 2
pop edx
mov word [eax + 0x20], dx
mov word [eax + 0x22], dx
mov edx, dword [ecx + 8]
mov esi, dword [edx + 0x14]
mov edi, esi
mov ebx, esi
shl edi, 0x10
shr esi, 8
mov edx, 0xff00
and esi, edx
and ebx, edx
or edi, ebx
shl edi, 8
or edi, esi
mov esi, dword [ecx + 8]
movzx esi, byte [esi + 0x17]
or edi, esi
mov dword [eax + 0x26], edi
mov esi, dword [ecx + 8]
movzx di, byte [esi + 0x24]
movzx si, byte [esi + 0x25]
shl di, 8
or di, si
mov word [eax + 0x24], di
push 2
pop esi
mov word [eax + 0x3e], si
mov esi, dword [ecx + 8]
mov esi, dword [esi + 0x34]
mov edi, esi
mov ebx, esi
and ebx, edx
shl edi, 0x10
shr esi, 8
and esi, edx
mov edx, dword [ecx + 8]
movzx edx, byte [edx + 0x37]
or edi, ebx
shl edi, 8
or edi, esi
or edi, edx
mov dword [eax + 0x42], edi
pop ebx
jmp 0x15249
push 0x16
pop edx
mov word [eax + 0x68], dx
mov edx, dword [0x18920]
mov dword [eax + 0x6c], edx
mov edx, dword [0x18924]
mov dword [eax + 0x70], edx
push 0x12
pop edx
mov word [eax + 0x74], dx
mov edx, dword [0x1893c]
mov dword [eax + 0x78], edx
push 0xe
pop edx
mov word [eax + 0x7c], dx
mov edx, dword [0x18944]
mov dword [eax + 0x80], edx
mov edx, dword [ecx + 8]
mov dx, word [edx + 0x2c]
mov word [eax + 0x5c], dx
push 0x17
pop edx
mov word [eax + 0x20], dx
mov word [eax + 0x22], dx
mov edx, dword [ecx + 8]
mov esi, dword [edx + 0x14]
lea edi, [eax + 0x2a]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ecx + 8]
movzx si, byte [edx + 0x24]
movzx dx, byte [edx + 0x25]
shl si, 8
or si, dx
mov word [eax + 0x24], si
push 0x17
pop edx
mov word [eax + 0x3e], dx
mov edx, dword [ecx + 8]
mov esi, dword [edx + 0x34]
lea edi, [eax + 0x46]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ecx + 8]
movzx si, byte [edx + 0x3c]
movzx dx, byte [edx + 0x3d]
shl si, 8
or si, dx
mov word [eax + 0x40], si
mov ecx, dword [ecx + 8]
cmp word [ecx + 0x64], 0
pop edi
sete cl
inc cl
mov byte [eax + 0x5a], cl
pop esi
pop ebp
ret 8
Function at 0x10015b30
Capabilities:
Get geographical location

Disassembly:
push 0xa0
mov eax, 0x1011283d
call fcn.1011094a
mov ebx, ecx
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x2c]
and dword [ebp - 4], 0
push 6
mov dword [ebp - 0xa4], eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xac], ebx
call fcn.10082bd8
push 8
pop ecx
xor eax, eax
mov byte [ebp - 4], 1
lea edi, [ebp - 0x64]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x64]
call fcn.100826dd
and dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.100859e0
mov esi, eax
mov dword [ebp - 0xa8], esi
mov eax, dword [ebp - 0xa4]
mov ecx, eax
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x10015bb4
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
lea edx, [ebp - 0x44]
mov edi, dword [esi]
add eax, ecx
push edx
lea edx, [ebp - 0x2c]
push edx
mov edi, dword [edi + 4]
push eax
push ecx
mov ecx, edi
call dword [0x1014488c]
mov ecx, esi
call edi
test al, al
je 0x10015d5a
push str.userId
lea ecx, [ebp - 0x2c]
call fcn.10063887
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.10083ffb
push eax
lea ecx, [ebx + 4]
call fcn.10063887
lea ecx, [ebp - 0xa0]
call fcn.1001524d
push str.authId
lea ecx, [ebp - 0x2c]
call fcn.10063887
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.10083ffb
push eax
lea ecx, [ebx + 0x1c]
call fcn.10063887
lea ecx, [ebp - 0xa0]
call fcn.1001524d
push str.firstName
lea ecx, [ebp - 0x2c]
call fcn.10063887
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.10083ffb
push eax
lea ecx, [ebx + 0x34]
call fcn.10063887
lea ecx, [ebp - 0xa0]
call fcn.1001524d
push str.lastName
lea ecx, [ebp - 0x2c]
call fcn.10063887
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.10083ffb
push eax
lea ecx, [ebx + 0x4c]
call fcn.10063887
lea ecx, [ebp - 0xa0]
call fcn.1001524d
push str.email
lea ecx, [ebp - 0x2c]
call fcn.10063887
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.10083ffb
push eax
lea ecx, [ebx + 0x64]
call fcn.10063887
lea ecx, [ebp - 0xa0]
call fcn.1001524d
push str.countryCode
lea ecx, [ebp - 0x2c]
call fcn.10063887
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.10083ffb
push eax
lea ecx, [ebx + 0x7c]
call fcn.10063887
lea ecx, [ebp - 0xa0]
call fcn.1001524d
push str.displayName
lea ecx, [ebp - 0x2c]
call fcn.10063887
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.10083ffb
push eax
lea ecx, [ebx + 0x94]
call fcn.10063887
lea ecx, [ebp - 0xa0]
call fcn.1001524d
push str.accountType
lea ecx, [ebp - 0x2c]
call fcn.10063887
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.10083ffb
push eax
lea ecx, [ebx + 0xac]
call fcn.10063887
lea ecx, [ebp - 0xa0]
call fcn.1001524d
test esi, esi
je 0x10015d6a
push esi
lea ecx, [ebp - 0xa8]
call fcn.10063887
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10015d7e
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10063887
pop ecx
pop ecx
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.10082df3
lea ecx, [ebp - 0x2c]
call fcn.10082ec8
call fcn.10110897
ret 4
Function at 0x100189ed
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x10112f4e
call fcn.101108a8
mov edi, ecx
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.10063887
pop ecx
xor edx, edx
pop ecx
mov ebx, dword [eax]
mov dword [eax], edx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
test ecx, ecx
je 0x10018a25
push 1
call fcn.10063887
xor edx, edx
lea esi, [edi + 4]
push esi
push edx
push ebx
push 0x100185f0
push edx
push edx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x10018a49
call fcn.10110871
ret 4
and dword [esi], 0
push 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x100362e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101d9548]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x10036306
xor eax, eax
jmp 0x100363c3
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x10036328
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, dword [eax]
cmp dword [eax], edx
jae 0x10036328
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov byte [eax], bl
mov eax, ebx
jmp 0x100363c3
cmp dword [esi + 0x4c], 0
je 0x100363c1
call fcn.10034db6
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x10036352
push dword [esi + 0x4c]
push eax
call fcn.10063887
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x100363c1
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1003638f
sub eax, 1
je 0x1003638f
dec eax
sub eax, 1
jne 0x100363c1
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x10036344
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x34], eax
je 0x100363b3
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x34], eax
jne 0x100363c1
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
mov eax, ebx
jne 0x100363c3
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10110860
leave
ret 4