Function at 0x4b7430
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5473ec
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ecx
mov eax, 0x174ec
call fcn.00518fd0
mov eax, dword [0x57f0b4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ecx, ecx
mov dword [ebp - 0x8944], ecx
mov dword [ebp - 4], ecx
push 0x1250
push ecx
lea eax, [ebp - 0x1368]
push eax
call fcn.0051b820
add esp, 0xc
push 0x75d0
lea eax, [ebp - 0xff30]
push eax
call fcn.004c6f60
add esp, 4
push eax
lea eax, [ebp - 0x17500]
push eax
call fcn.0051ad20
add esp, 0xc
push 0x75d0
lea eax, [ebp - 0x17500]
push eax
lea eax, [ebp - 0x8938]
push eax
call fcn.0051ad20
add esp, 0xc
lea eax, [ebp - 0x74e8]
push eax
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x4b8519
lea eax, [ebp - 0x74e8]
push eax
push 0x574fb0
push str._I_:_s__:_wsz_SensorConfig:__s
call fcn.004c6960
add esp, 0xc
push 0x563af1
lea ecx, [ebp - 0xa4]
call fcn.00404820
mov byte [ebp - 4], 1
lea eax, [ebp - 0x74e8]
push eax
call esi
test eax, eax
je 0x4b769f
push 0
push 1
push 3
push 0
push 1
push bind
lea eax, [ebp - 0x74e8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x84], 0
cmp esi, 0xffffffff
je 0x4b769f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x894c], eax
xor edx, edx
add eax, 1
setb dl
neg edx
or edx, eax
push edx
call fcn.005286d8
add esp, 4
mov edi, eax
push 0
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x894c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x4b7716
cmp dword [ebp - 0x894c], eax
jne 0x4b7716
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x20], 0
call fcn.004c5010
add eax, 0x42
push eax
push 0x21
lea eax, [ebp - 0x40]
push eax
call fcn.00528f2d
add esp, 0xc
lea esi, [ebp - 0x40]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4b7600
sub esi, ecx
call fcn.004c5010
push esi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004c5080
test eax, eax
je 0x4b769f
mov dword [ebp - 0x894c], 0
call fcn.004c5010
push 0
push edi
lea eax, [ebp - 0x894c]
push eax
push dword [ebp - 0x88]
call fcn.004c51c0
test eax, eax
je 0x4b767f
push dword [ebp - 0x894c]
lea ecx, [ebp - 0x68]
call fcn.00404820
mov byte [ebp - 4], 2
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0xa4]
call fcn.004160b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00404760
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x4b7692
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test edi, edi
je 0x4b769f
push edi
call fcn.0052811e
add esp, 4
push ecx
lea ecx, [ebp - 0x50]
call fcn.004045d0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa4]
call fcn.00404670
push eax
push str.GetAgentConfigFromFile
push str._I__s__:_strConfig:__s
call fcn.004c67b0
push ecx
mov dword [ebp - 0x8940], esp
mov esi, esp
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x8948], esp
push ecx
call fcn.00403f50
mov byte [ebp - 4], 5
push 0
push 1
mov byte [ebp - 4], 4
lea edx, [ebp - 0xa4]
mov ecx, esi
call fcn.00406c30
add esp, 0x30
mov byte [ebp - 4], 6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.004043d0
jmp 0x4b790e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetAgentConfigFromFile
push str._E__s__:_read_file_error:__d
call fcn.004c67b0
add esp, 0xc
push 0x1250
lea eax, [ebp - 0x1368]
push eax
lea eax, [ebp - 0x9bb0]
push eax
call fcn.0051ad20
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00404760
lea eax, [ebp - 0x9bb0]
jmp 0x4b85b0
mov dword [ebp - 4], 3
push 0x5750bc
lea ecx, [ebp - 0x68]
call fcn.00404820
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x895c]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x8939], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00404760
cmp byte [ebp - 0x8939], 0
jne 0x4b79d5
lea eax, [ebp - 0x68]
push eax
push ecx
push 0x5750bc
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0x16
mov ecx, eax
call fcn.00404670
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.004c2520
mov byte [ebp - 4], 0x17
mov ecx, eax
call fcn.00417bb0
push eax
push 0x104
lea eax, [ebp - 0xd48]
push eax
call fcn.00528d3a
add esp, 0xc
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x38]
call fcn.00417bc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00404760
jmp 0x4b7e3f
lea ecx, [ebp - 0x68]
call fcn.004c5310
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x68]
call fcn.00405d50
lea edi, [eax + 0x10]
cmp dword [edi], 0
jbe 0x4b7a8d
push 0x5750c0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8940], esp
lea eax, [ebp - 0x68]
push eax
call fcn.00417d40
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x38]
call fcn.004c2df0
add esp, 0x18
mov byte [ebp - 4], 0x1a
mov ecx, 1
mov dword [ebp - 0x8944], ecx
mov ecx, eax
call fcn.004b9230
test eax, eax
je 0x4b7a8d
sub esp, 0x18
mov dword [ebp - 0x8940], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8948], esp
lea eax, [ebp - 0x68]
push eax
call fcn.00417d40
mov dword [ebp - 4], 0x1b
mov byte [ebp - 4], 0x1a
mov ecx, esi
call fcn.004c2df0
add esp, 0x18
mov dword [ebp - 4], 0x1c
mov byte [ebp - 4], 0x1a
call fcn.004b7380
add esp, 0x18
test eax, eax
mov byte [ebp - 0x8939], 0
jne 0x4b7a94
mov byte [ebp - 0x8939], 1
mov dword [ebp - 4], 0x18
mov eax, dword [ebp - 0x8944]
test al, 1
je 0x4b7ab6
and eax, 0xfffffffe
mov dword [ebp - 0x8944], eax
lea ecx, [ebp - 0x38]
call fcn.00417bc0
cmp byte [ebp - 0x8939], 0
je 0x4b7cfc
lea ecx, [ebp - 0x38]
call fcn.004c57b0
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x68]
call fcn.00417c20
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x38]
call fcn.00417bc0
push str.To_be_filled_by_O.E.M.
lea ecx, [ebp - 0x68]
call fcn.004b9230
test eax, eax
je 0x4b7b9e
cmp dword [edi], 0
jbe 0x4b7b9e
push 0x5750c0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8940], esp
lea eax, [ebp - 0x68]
push eax
call fcn.00417d40
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x80]
call fcn.004c2df0
add esp, 0x18
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x8944]
or ecx, 2
mov dword [ebp - 0x8944], ecx
mov ecx, eax
call fcn.004b9230
test eax, eax
je 0x4b7b9e
sub esp, 0x18
mov dword [ebp - 0x8940], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8948], esp
lea eax, [ebp - 0x68]
push eax
call fcn.00417d40
mov dword [ebp - 4], 0x20
mov byte [ebp - 4], 0x1f
mov ecx, esi
call fcn.004c2df0
add esp, 0x18
mov dword [ebp - 4], 0x21
mov byte [ebp - 4], 0x1f
call fcn.004b7380
add esp, 0x18
test eax, eax
mov byte [ebp - 0x8939], 0
jne 0x4b7ba5
mov byte [ebp - 0x8939], 1
mov dword [ebp - 4], 0x18
mov eax, dword [ebp - 0x8944]
test al, 2
je 0x4b7bc7
and eax, 0xfffffffd
mov dword [ebp - 0x8944], eax
lea ecx, [ebp - 0x80]
call fcn.00417bc0
cmp byte [ebp - 0x8939], 0
je 0x4b7cfc
lea ecx, [ebp - 0x38]
call fcn.004c5c50
mov byte [ebp - 4], 0x22
push eax
lea ecx, [ebp - 0x68]
call fcn.00417c20
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x38]
call fcn.00417bc0
push str.To_be_filled_by_O.E.M.
lea ecx, [ebp - 0x68]
call fcn.004b9230
test eax, eax
je 0x4b7caf
cmp dword [edi], 0
jbe 0x4b7caf
push 0x5750c0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8940], esp
lea eax, [ebp - 0x68]
push eax
call fcn.00417d40
mov byte [ebp - 4], 0x23
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x80]
call fcn.004c2df0
add esp, 0x18
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x8944]
or ecx, 4
mov dword [ebp - 0x8944], ecx
mov ecx, eax
call fcn.004b9230
test eax, eax
je 0x4b7caf
sub esp, 0x18
mov dword [ebp - 0x8940], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8948], esp
lea eax, [ebp - 0x68]
push eax
call fcn.00417d40
mov dword [ebp - 4], 0x25
mov byte [ebp - 4], 0x24
mov ecx, esi
call fcn.004c2df0
add esp, 0x18
mov dword [ebp - 4], 0x26
mov byte [ebp - 4], 0x24
call fcn.004b7380
add esp, 0x18
test eax, eax
mov byte [ebp - 0x8939], 0
jne 0x4b7cb6
mov byte [ebp - 0x8939], 1
mov dword [ebp - 4], 0x18
mov eax, dword [ebp - 0x8944]
test al, 4
je 0x4b7cd8
and eax, 0xfffffffb
mov dword [ebp - 0x8944], eax
lea ecx, [ebp - 0x80]
call fcn.00417bc0
cmp byte [ebp - 0x8939], 0
je 0x4b7cfc
push 0x56aee8
call fcn.00418010
add esp, 4
push eax
push 0x56aee8
lea ecx, [ebp - 0x68]
call fcn.00417e80
cmp dword [edi], 0
jbe 0x4b7d55
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8940], esp
lea eax, [ebp - 0x68]
push eax
call fcn.00417d40
mov byte [ebp - 4], 0x27
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x80]
call fcn.004c60f0
add esp, 0x18
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x80]
call fcn.00417bb0
push eax
push 0x200
lea eax, [ebp - 0xd48]
push eax
call fcn.00528d3a
add esp, 0xc
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x80]
call fcn.00417bc0
lea ecx, [ebp - 0xd48]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b7d60
sub ecx, edx
sar ecx, 1
cmp ecx, 0x24
je 0x4b7e33
push 0x5750bc
lea ecx, [ebp - 0x38]
call fcn.00404820
mov byte [ebp - 4], 0x29
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x895c]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x8939], al
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x38]
call fcn.00404760
cmp byte [ebp - 0x8939], 0
jne 0x4b7e33
lea eax, [ebp - 0x80]
push eax
push ecx
push 0x5750bc
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0x2a
mov ecx, eax
call fcn.00404670
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.004c2520
mov byte [ebp - 4], 0x2b
mov ecx, eax
call fcn.00417bb0
push eax
push 0x104
lea eax, [ebp - 0xd48]
push eax
call fcn.00528d3a
add esp, 0xc
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x38]
call fcn.00417bc0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x80]
call fcn.00404760
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00417bc0
push str.logsrc
lea ecx, [ebp - 0x38]
call fcn.00404820
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x895c]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x8939], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00404760
cmp byte [ebp - 0x8939], 0
jne 0x4b7efa
lea eax, [ebp - 0x68]
push eax
push ecx
push str.logsrc
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0x2d
mov ecx, eax
call fcn.00404670
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.004c2520
mov byte [ebp - 4], 0x2e
mov ecx, eax
call fcn.00417bb0
push eax
push 0x104
lea eax, [ebp - 0x528]
push eax
call fcn.00528d3a
add esp, 0xc
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x38]
call fcn.00417bc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00404760
push 0x57510c
lea ecx, [ebp - 0x38]
call fcn.00404820
mov byte [ebp - 4], 0x2f
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x895c]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x8939], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00404760
cmp byte [ebp - 0x8939], 0
jne 0x4b7fb5
lea eax, [ebp - 0x68]
push eax
push ecx
push 0x57510c
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0x30
mov ecx, eax
call fcn.00404670
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.004c2520
mov byte [ebp - 4], 0x31
mov ecx, eax
call fcn.00417bb0
push eax
push 0x104
lea eax, [ebp - 0x1368]
push eax
call fcn.00528d3a
add esp, 0xc
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x38]
call fcn.00417bc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00404760
push 0x575110
lea ecx, [ebp - 0x38]
call fcn.00404820
mov byte [ebp - 4], 0x32
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x895c]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x8939], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00404760
cmp byte [ebp - 0x8939], 0
jne 0x4b8070
lea eax, [ebp - 0x68]
push eax
push ecx
push 0x575110
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0x33
mov ecx, eax
call fcn.00404670
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.004c2520
mov byte [ebp - 4], 0x34
mov ecx, eax
call fcn.00417bb0
push eax
push 0x104
lea eax, [ebp - 0x1160]
push eax
call fcn.00528d3a
add esp, 0xc
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x38]
call fcn.00417bc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00404760
push str.update
lea ecx, [ebp - 0x38]
call fcn.00404820
mov byte [ebp - 4], 0x35
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x895c]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x8939], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00404760
cmp byte [ebp - 0x8939], 0
jne 0x4b812b
lea eax, [ebp - 0x68]
push eax
push ecx
push str.update
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0x36
mov ecx, eax
call fcn.00404670
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.004c2520
mov byte [ebp - 4], 0x37
mov ecx, eax
call fcn.00417bb0
push eax
push 0x104
lea eax, [ebp - 0xf54]
push eax
call fcn.00528d3a
add esp, 0xc
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x38]
call fcn.00417bc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00404760
push str.iocs
lea ecx, [ebp - 0x38]
call fcn.00404820
mov byte [ebp - 4], 0x38
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x895c]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x8939], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00404760
cmp byte [ebp - 0x8939], 0
jne 0x4b81c5
lea eax, [ebp - 0x38]
push eax
push ecx
push str.iocs
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0x39
mov ecx, eax
call fcn.00404670
push eax
push 0x104
lea eax, [ebp - 0x938]
push eax
call fcn.00528f2d
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00404760
push str.version
lea ecx, [ebp - 0x38]
call fcn.00404820
mov byte [ebp - 4], 0x3a
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x895c]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x8939], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00404760
cmp byte [ebp - 0x8939], 0
jne 0x4b8280
lea eax, [ebp - 0x68]
push eax
push ecx
push str.version
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0x3b
mov ecx, eax
call fcn.00404670
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.004c2520
mov byte [ebp - 4], 0x3c
mov ecx, eax
call fcn.00417bb0
push eax
push 0x104
lea eax, [ebp - 0xb40]
push eax
call fcn.00528d3a
add esp, 0xc
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x38]
call fcn.00417bc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00404760
push str.apiport
lea ecx, [ebp - 0x38]
call fcn.00404820
mov byte [ebp - 4], 0x3d
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x895c]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x8939], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00404760
cmp byte [ebp - 0x8939], 0
jne 0x4b8312
push str.apiport
lea ecx, [ebp - 0x50]
call fcn.00406b90
mov dword [ebp - 0x8948], 0
mov ecx, eax
call fcn.00405d50
mov esi, eax
lea ecx, [ebp - 0x8948]
call fcn.00405d50
mov edx, eax
mov ecx, esi
call fcn.00415f70
mov eax, dword [ebp - 0x8948]
mov dword [ebp - 0xf58], eax
push str.updport
lea ecx, [ebp - 0x38]
call fcn.00404820
mov byte [ebp - 4], 0x3e
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x895c]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x8939], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00404760
cmp byte [ebp - 0x8939], 0
jne 0x4b83a4
push str.updport
lea ecx, [ebp - 0x50]
call fcn.00406b90
mov dword [ebp - 0x8940], 0
mov ecx, eax
call fcn.00405d50
mov esi, eax
lea ecx, [ebp - 0x8940]
call fcn.00405d50
mov edx, eax
mov ecx, esi
call fcn.00415f70
mov eax, dword [ebp - 0x8940]
mov dword [ebp - 0xd4c], eax
push str.mail
lea ecx, [ebp - 0x38]
call fcn.00404820
mov byte [ebp - 4], 0x3f
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x895c]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x8939], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00404760
cmp byte [ebp - 0x8939], 0
jne 0x4b843e
lea eax, [ebp - 0x38]
push eax
push ecx
push str.mail
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0x40
mov ecx, eax
call fcn.00404670
push eax
push 0x104
lea eax, [ebp - 0x62c]
push eax
call fcn.00528f2d
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00404760
push str.license
lea ecx, [ebp - 0x38]
call fcn.00404820
mov byte [ebp - 4], 0x41
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404110
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x895c]
push eax
call fcn.00417b10
push esi
mov ecx, eax
call fcn.0040bf00
mov byte [ebp - 0x8939], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00404760
cmp byte [ebp - 0x8939], 0
jne 0x4b84d8
lea eax, [ebp - 0x38]
push eax
push ecx
push str.license
lea ecx, [ebp - 0x50]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.00415ad0
mov byte [ebp - 4], 0x42
mov ecx, eax
call fcn.00404670
push eax
push 0x104
lea eax, [ebp - 0x62c]
push eax
call fcn.00528f2d
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00404760
push 0x1250
lea eax, [ebp - 0x1368]
push eax
lea eax, [ebp - 0x9bb0]
push eax
call fcn.0051ad20
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00404390
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00404760
lea eax, [ebp - 0x9bb0]
jmp 0x4b85b0
push 0x1250
lea eax, [ebp - 0x11180]
push eax
call fcn.004b85f0
add esp, 4
push eax
lea eax, [ebp - 0x9bb0]
push eax
call fcn.0051ad20
add esp, 0xc
lea eax, [ebp - 0x9bb0]
jmp 0x4b85b0
push 0x1250
push eax
mov esi, dword [ebx + 8]
push esi
call fcn.0051ad20
mov eax, esi
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00518690
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret