Function at 0x10039cd0
Capabilities:
Parse pe header

Disassembly:
push 0x18c
mov eax, 0x100d94a1
call fcn.100d393a
mov esi, ecx
mov dword [ebp - 0x144], esi
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x30]
mov dword [ebp - 0x148], eax
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14c], eax
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x150], esi
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov ebx, 0x10114fdc
mov byte [ebp - 4], 2
push ebx
lea ecx, [ebp - 0x128]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 3
call fcn.10042e1e
mov byte [ebp - 4], 4
call fcn.10042e1e
mov ecx, eax
call fcn.10037d5a
mov ecx, eax
call fcn.10037d5d
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x110]
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100afbd5
add esp, 0x10
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 5
call fcn.10042e1e
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 6
call fcn.10042e1e
push 7
xor edi, edi
xor eax, eax
pop ecx
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x98], ecx
mov word [ebp - 0xac], ax
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], ecx
mov word [ebp - 0x94], ax
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0xf8]
call fcn.10042e1e
pop ecx
pop ecx
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0x148]
call fcn.10042e1e
pop ecx
pop ecx
lea eax, [ebp - 0xac]
mov dword [ebp - 0x18], edi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10042e1e
add esp, 0x14
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 9
call fcn.10024b50
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], ecx
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], ecx
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 0xc
call fcn.10042e1e
push 1
lea ecx, [ebp - 0xf8]
push ecx
mov ecx, eax
call fcn.10042e1e
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
push ecx
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [eax]
call fcn.1009f417
test eax, eax
mov byte [ebp - 4], 0xc
sete al
mov byte [ebp - 0xf1], al
cmp dword [ebp - 0xf8], edi
je 0x10039ea1
push dword [ebp - 0xf8]
lea ecx, [ebp - 0xf8]
call fcn.10042e1e
mov al, byte [ebp - 0xf1]
test al, al
je 0x10039eb5
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x4c]
call fcn.10042e1e
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
push eax
push 0x1019f270
lea ecx, [ebp - 0x30]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x140]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0xf
call fcn.10042e1e
push dword [esi + 4]
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x10
call fcn.10042e1e
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.100b7903
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x12
call fcn.10042e1e
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x13
call fcn.10042e1e
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x14
call fcn.10042e1e
mov byte [ebp - 4], 0xe
test edi, edi
je 0x1003a001
push ebx
lea ecx, [ebp - 0x110]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x15
call fcn.10042e1e
push dword [esi + 4]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x16
call fcn.10042e1e
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.100b7903
add esp, 0xc
lea edx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
mov ecx, dword [eax]
cmovae edx, dword [ebp - 0x4c]
push edx
push str.Fetching_Information_for_Device_:__s
mov esi, dword [ecx + 0x14]
mov ecx, esi
push eax
call dword [0x101097a0]
call esi
add esp, 0xc
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x18
call fcn.10042e1e
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x19
call fcn.10042e1e
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x1a
call fcn.10042e1e
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x148], 0x3c
push ecx
lea ecx, [ebp - 0xf0]
mov eax, dword [esi]
push ecx
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x101097a0]
mov ecx, esi
call edi
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x1003a776
mov ax, word [ebp - 0xec]
mov ecx, 0xc8
cmp ax, cx
je 0x1003a6f0
mov ecx, 0x190
push ebx
cmp ax, cx
jne 0x1003a1f9
lea ecx, [ebp - 0x110]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x1b
call fcn.10042e1e
mov esi, dword [ebp - 0x144]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x1c
push dword [esi + 4]
call fcn.10042e1e
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.100b7903
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x1e
call fcn.10042e1e
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x1f
call fcn.10042e1e
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x20
call fcn.10042e1e
mov byte [ebp - 4], 0xe
test edi, edi
je 0x1003a184
push ebx
lea ecx, [ebp - 0x110]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x21
call fcn.10042e1e
push dword [esi + 4]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x22
call fcn.10042e1e
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.100b7903
add esp, 0xc
mov ecx, dword [eax]
push str.FetchFRLCOPSValues
push str._s:_Received_error_400_in_http_request
push eax
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x101097a0]
call esi
add esp, 0xc
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x24
call fcn.10042e1e
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x25
call fcn.10042e1e
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x26
call fcn.10042e1e
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x27
call fcn.10042e1e
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x28
call fcn.10042e1e
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x29
call fcn.10042e1e
lea ecx, [ebp - 0xf0]
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x1003a1c4
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x2a
call fcn.10042e1e
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x2b
call fcn.10042e1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x2c
call fcn.10042e1e
mov byte [ebp - 4], 0x2d
push 3
jmp 0x1003a54b
mov ecx, 0x191
cmp ax, cx
jne 0x1003a3a5
lea ecx, [ebp - 0x110]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x2e
call fcn.10042e1e
mov esi, dword [ebp - 0x144]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x2f
push dword [esi + 4]
call fcn.10042e1e
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x30
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.100b7903
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x31
call fcn.10042e1e
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x32
call fcn.10042e1e
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x33
call fcn.10042e1e
mov byte [ebp - 4], 0xe
test edi, edi
je 0x1003a32f
push ebx
lea ecx, [ebp - 0x110]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x34
call fcn.10042e1e
push dword [esi + 4]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x35
call fcn.10042e1e
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x36
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.100b7903
add esp, 0xc
mov ecx, dword [eax]
push str.FetchFRLCOPSValues
push str._s:_Received_error_401_in_http_request
push eax
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x101097a0]
call esi
add esp, 0xc
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x37
call fcn.10042e1e
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x38
call fcn.10042e1e
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x39
call fcn.10042e1e
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x3a
call fcn.10042e1e
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x3b
call fcn.10042e1e
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x3c
call fcn.10042e1e
lea ecx, [ebp - 0xf0]
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x1003a36f
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x3d
call fcn.10042e1e
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x3e
call fcn.10042e1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x3f
call fcn.10042e1e
xor esi, esi
mov byte [ebp - 4], 0x40
inc esi
jmp 0x1003a7f0
mov ecx, 0x197
cmp ax, cx
lea ecx, [ebp - 0x110]
jne 0x1003a551
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x41
call fcn.10042e1e
mov esi, dword [ebp - 0x144]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x42
push dword [esi + 4]
call fcn.10042e1e
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x43
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.100b7903
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x44
call fcn.10042e1e
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x45
call fcn.10042e1e
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x46
call fcn.10042e1e
mov byte [ebp - 4], 0xe
test edi, edi
je 0x1003a4db
push ebx
lea ecx, [ebp - 0x110]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x47
call fcn.10042e1e
push dword [esi + 4]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x48
call fcn.10042e1e
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x49
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.100b7903
add esp, 0xc
mov ecx, dword [eax]
push str.FetchFRLCOPSValues
push str._s:_Received_error_407_in_http_request
push eax
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x101097a0]
call esi
add esp, 0xc
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x4a
call fcn.10042e1e
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x4b
call fcn.10042e1e
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x4c
call fcn.10042e1e
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x4d
call fcn.10042e1e
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x4e
call fcn.10042e1e
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x4f
call fcn.10042e1e
lea ecx, [ebp - 0xf0]
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x1003a51b
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x50
call fcn.10042e1e
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x51
call fcn.10042e1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x52
call fcn.10042e1e
mov byte [ebp - 4], 0x53
push 4
pop esi
jmp 0x1003a7f0
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x54
call fcn.10042e1e
mov esi, dword [ebp - 0x144]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x55
push dword [esi + 4]
call fcn.10042e1e
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x56
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.100b7903
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x57
call fcn.10042e1e
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x58
call fcn.10042e1e
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x59
call fcn.10042e1e
mov byte [ebp - 4], 0xe
test edi, edi
je 0x1003a67b
push ebx
lea ecx, [ebp - 0x110]
call fcn.10042e1e
push ebx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x5a
call fcn.10042e1e
push dword [esi + 4]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x5b
call fcn.10042e1e
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x5c
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.100b7903
movzx ecx, word [ebp - 0xec]
add esp, 0xc
mov esi, dword [eax]
push ecx
push str.FetchFRLCOPSValues
push str._s:_Received_error__d_in_http_request
mov ecx, dword [esi + 0x24]
push ebx
push eax
call dword [0x101097a0]
call dword [esi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x5d
call fcn.10042e1e
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x5e
call fcn.10042e1e
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x5f
call fcn.10042e1e
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x60
call fcn.10042e1e
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x61
call fcn.10042e1e
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x62
call fcn.10042e1e
lea ecx, [ebp - 0xf0]
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x1003a6bb
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x63
call fcn.10042e1e
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x64
call fcn.10042e1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x65
call fcn.10042e1e
mov byte [ebp - 4], 0x66
push 5
jmp 0x1003a54b
push dword [ebp - 0x14c]
lea eax, [ebp - 0xdc]
push eax
call fcn.10042e1e
pop ecx
pop ecx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x67
call fcn.10042e1e
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x68
call fcn.10042e1e
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x69
call fcn.10042e1e
lea ecx, [ebp - 0xf0]
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x1003a744
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x6a
call fcn.10042e1e
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x6b
call fcn.10042e1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x6c
call fcn.10042e1e
mov byte [ebp - 4], 0x6d
xor esi, esi
jmp 0x1003a7f0
lea eax, [ebp - 0x34]
push eax
call fcn.10042e1e
pop ecx
mov esi, eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x6e
call fcn.10042e1e
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x6f
call fcn.10042e1e
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x70
call fcn.10042e1e
lea ecx, [ebp - 0xf0]
call fcn.10042e1e
cmp dword [ebp - 0x18], 0
je 0x1003a7c2
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.10042e1e
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x71
call fcn.10042e1e
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x72
call fcn.10042e1e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x73
call fcn.10042e1e
mov byte [ebp - 4], 0x74
lea ecx, [ebp - 0x30]
call fcn.10042e1e
mov eax, esi
jmp 0x1003a939
call fcn.100d3887
ret 0xc