Function at 0x10006980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101d71ce
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x10263fdc]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push esi
push edi
mov eax, dword [0x10263fdc]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], edx
call fcn.10005e00
test eax, eax
jne 0x100069e5
or eax, 0xffffffff
jmp 0x10006ddd
xor ebx, ebx
mov ecx, esi
mov dword [esi + 0xb4], ebx
call fcn.10005fa0
lea ecx, [esp + 0x8c]
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_void_]
lea ecx, [esi + 0x28]
mov dword [esp + 0x1b0], ebx
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::GetUnicode_void_]
push eax
lea eax, [esp + 0x90]
push str._Fun_:_GET_DEVICE_INFO___RequestId_:__s___Module_:1
push eax
call dword [sym.imp.szutils.dll_public:_int___cdecl_TCommon::TString::Format_wchar_t_const__]
add esp, 0xc
lea ecx, [esp + 0x8c]
call dword [sym.imp.szutils.dll_public:_char_const____thiscall_TCommon::TString::GetAnsi_void_]
mov ecx, eax
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
lea edi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x10006a50
sub ecx, edi
push ecx
push eax
lea ecx, [esp + 0x54]
call fcn.100031c0
lea ecx, [esi + 0x14]
mov byte [esp + 0x1b0], 1
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TBuffer::Empty_void_]
cmp dword [esp + 0x60], 0x10
mov ecx, dword [esi + 0xc]
jb 0x10006a89
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
jmp 0x10006a91
lea eax, [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [ecx]
mov edx, dword [edx]
push ebx
push ebx
push eax
mov eax, dword [esp + 0x24]
push eax
push 0x1024d10c
push 1
push ebx
push 1
call edx
mov byte [esp + 0x1b0], bl
cmp dword [esp + 0x60], 0x10
mov dword [esp + 0x18], eax
jb 0x10006acd
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
cmp dword [esp + 0x18], ebx
je 0x10006dc3
mov ecx, dword [esi + 0xb8]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10006b12
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1b0], 0xffffffff
call dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
mov eax, 0xfffffffe
jmp 0x10006ddd
push ebx
lea ecx, [esp + 0x20]
call fcn.10028070
lea ecx, [esp + 0x11c]
mov byte [esp + 0x1b0], 2
call fcn.10024db0
lea ecx, [esi + 0x14]
mov byte [esp + 0x1b0], 3
call dword [sym.imp.szutils.dll_public:_unsigned_char____thiscall_TCommon::TBuffer::GetData_void_const]
mov ecx, eax
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x10006b60
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x78]
call fcn.100031c0
push 1
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x128]
mov byte [esp + 0x1bc], 4
call fcn.100268e0
test al, al
sete byte [esp + 0x17]
mov byte [esp + 0x1b0], 3
cmp dword [esp + 0x84], 0x10
jb 0x10006bbb
mov ecx, dword [esp + 0x70]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
cmp byte [esp + 0x17], bl
je 0x10006c15
lea esi, [esp + 0x11c]
call fcn.10002380
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b0], bl
call fcn.100283b0
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1b0], 0xffffffff
call dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
mov eax, 0xfffffffd
jmp 0x10006ddd
push str.Result
lea ecx, [esp + 0x20]
call fcn.1002b110
mov ecx, eax
call fcn.100289a0
mov ecx, str.success
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10006c50
cmp dl, bl
je 0x10006c4c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10006c50
add ecx, 2
add eax, 2
cmp dl, bl
jne 0x10006c30
xor eax, eax
jmp 0x10006c55
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10006c97
lea esi, [esp + 0x11c]
call fcn.10002380
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b0], bl
call fcn.100283b0
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1b0], 0xffffffff
call dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
mov eax, 0xfffffffc
jmp 0x10006ddd
push str.Module
lea ecx, [esp + 0x20]
call fcn.1002b110
push eax
lea ecx, [esp + 0x50]
call fcn.1002a9b0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b0], 5
call fcn.10026d20
lea ecx, [esp + 0x4c]
test al, al
jne 0x10006d13
mov byte [esp + 0x1b0], 3
call fcn.100283b0
lea esi, [esp + 0x11c]
call fcn.10002380
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b0], bl
call fcn.100283b0
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1b0], 0xffffffff
call dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
mov eax, 0xfffffffb
jmp 0x10006ddd
push ebx
call fcn.1002adb0
push eax
lea ecx, [esp + 0x40]
call fcn.1002a9b0
push str.moduleName
lea ecx, [esp + 0x40]
mov byte [esp + 0x1b4], 6
call fcn.1002b110
mov ecx, eax
call fcn.100289a0
mov ecx, dword [esp + 0x38]
mov esi, dword [sym.imp.szutils.dll_public:_class_TCommon::TString_const____thiscall_TCommon::TString::operator_char_const__]
push eax
call esi
push str.modulePid
lea ecx, [esp + 0x40]
call fcn.1002b110
mov ecx, eax
call fcn.100289a0
mov ecx, dword [esp + 0x34]
push eax
call esi
push str.moduleSn
lea ecx, [esp + 0x40]
call fcn.1002b110
mov ecx, eax
call fcn.100289a0
mov ecx, dword [esp + 0x30]
push eax
call esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1b0], 5
call fcn.100283b0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b0], 3
call fcn.100283b0
lea esi, [esp + 0x11c]
call fcn.10002380
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b0], bl
call fcn.100283b0
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1b0], 0xffffffff
call dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.101ce9e2
mov esp, ebp
pop ebp
ret 8