Function at 0x476b00
Capabilities:
Access peb ldr_data
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x56aee9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
xor eax, eax
mov dword [esp + 0x148], 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], eax
mov al, byte [0x66aca8]
test al, 1
jne 0x476b64
or al, 1
push str._GlobalSCAPE_Version_3___r_n_t_Register_xmlns_http:__www.globalscape.com_reg___r_n_t_t_Nationality_value__LCID_____r_n_t_t_Product_value__product_ID_____r_n_t_t_Version_value__Demographic_Version_String_____r_n_t_t_Id_value__Disk_ID_____r_n_t_t_IP_value__IP_____r_n_t_t_TimeStamp_value__timestamp_____r_n_t_t_TimeZone_value__timezone_____r_n_t_t_ProductType_value__registration_product_type_____r_n_t_t_TrialState_value__trialstate_____r_n_t_t_DaysRemaining_value__days_left_____r_n_t_t_DaysUsageRemaining_value__days_usage_left_____r_n_t_t_StartDate_value__Start_Date_____r_n_t_t_EndDate_value__End_Date_____r_n_t__Register__r_n__GlobalSCAPE__r_n
mov ecx, 0x66aca4
mov byte [0x66aca8], al
call fcn.00530bfd
push 0x476f10
call fcn.00514802
add esp, 4
mov ecx, dword [0x5d2d10]
mov dword [esp + 4], ecx
mov byte [esp + 0x148], 2
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and eax, 0xffff
lea edx, [esp + 4]
push eax
push 0x5c4d50
push edx
call fcn.00528823
add esp, 0xc
lea ecx, [esp + 0x28]
push 0x5c971c
call fcn.00530bfd
mov eax, dword [0x66c100]
mov byte [esp + 0x148], 3
test eax, eax
mov eax, 0x5c9f34
jne 0x476bbd
mov eax, 0x5c975c
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.00530bfd
mov eax, dword [0x5d2d10]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x158]
lea edx, [esp + 4]
push ecx
push 0x5c4d50
push edx
mov byte [esp + 0x158], 5
call fcn.00528823
mov eax, dword [0x5d2d10]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x168]
lea edx, [esp + 0x1c]
push ecx
push 0x5c4d50
push edx
mov byte [esp + 0x164], 6
call fcn.00528823
mov eax, dword [0x5d2d10]
add esp, 0x18
mov dword [esp + 0x1c], eax
push 0xf07b
lea ecx, [esp + 0x20]
mov byte [esp + 0x150], 7
call fcn.00532f94
mov ecx, dword [0x5d2d10]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x40]
push 0x103
push edx
mov byte [esp + 0x154], 8
call fcn.004768d0
lea eax, [esp + 0x48]
lea ecx, [esp + 0x1c]
push eax
push 0x5c9f30
push ecx
call fcn.00528823
mov edx, dword [0x5d2d10]
mov dword [esp + 0x34], edx
lea eax, [esp + 0x54]
mov byte [esp + 0x160], 9
push eax
call fcn.004769a0
lea ecx, [esp + 0x58]
lea edx, [esp + 0x38]
push ecx
push 0x5c9f30
push edx
call fcn.00528823
add esp, 0x24
lea eax, [esp + 0x30]
push eax
call fcn.00529445
lea ecx, [esp + 0x24]
push str._m__d__y__H:_M
push ecx
lea ecx, [esp + 0x38]
call fcn.00529497
lea edx, [esp + 0x34]
push edx
call fcn.00516753
mov eax, dword [0x5d2d10]
mov dword [esp + 0x10], eax
movsx ecx, word [esp + 0x3e]
push ecx
mov byte [esp + 0x154], 0xb
push 0x5c4d50
lea edx, [esp + 0x18]
push edx
call fcn.00528823
mov eax, dword [0x5d2d10]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x170]
lea edx, [esp + 0x28]
push ecx
push 0x5c4d50
push edx
mov byte [esp + 0x168], 0xc
call fcn.00528823
mov esi, dword [esp + 0x170]
add esp, 0x1c
mov ecx, esi
push 0x66aca4
call fcn.00530cc8
mov eax, dword [esp + 8]
mov ecx, esi
push eax
push str._LCID_
call fcn.005280ef
mov ecx, dword [esp + 0x2c]
push ecx
push str._product_ID_
mov ecx, esi
call fcn.005280ef
mov edx, dword [esp + 0x1c]
mov ecx, esi
push edx
push str._Demographic_Version_String_
call fcn.005280ef
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
push str._Disk_ID_
call fcn.005280ef
mov ecx, dword [esp + 0x20]
push ecx
push str._IP_
mov ecx, esi
call fcn.005280ef
mov edx, dword [esp + 0x24]
mov ecx, esi
push edx
push str._timestamp_
call fcn.005280ef
mov eax, dword [esp + 0xc]
mov ecx, esi
push eax
push str._timezone_
call fcn.005280ef
mov ecx, dword [esp + 0x28]
push ecx
push str._registration_product_type_
mov ecx, esi
call fcn.005280ef
mov edx, dword [esp + 0x18]
mov ecx, esi
push edx
push str._trialstate_
call fcn.005280ef
mov eax, dword [esp + 4]
mov ecx, esi
push eax
push str._days_left_
call fcn.005280ef
mov ecx, dword [esp + 0x10]
push ecx
push str._days_usage_left_
mov ecx, esi
call fcn.005280ef
mov edx, dword [esp + 0x164]
mov ecx, esi
push edx
push str._Start_Date_
call fcn.005280ef
mov eax, dword [esp + 0x168]
mov ecx, esi
push eax
push str._End_Date_
call fcn.005280ef
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0xb
call fcn.00530b8f
lea ecx, [esp + 0xc]
mov byte [esp + 0x14c], 0xa
call fcn.00530b8f
lea ecx, [esp + 0x24]
mov byte [esp + 0x14c], 9
call fcn.00530b8f
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 8
call fcn.00530b8f
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 7
call fcn.00530b8f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 6
call fcn.00530b8f
lea ecx, [esp + 0x10]
mov byte [esp + 0x14c], 5
call fcn.00530b8f
lea ecx, [esp + 4]
mov byte [esp + 0x14c], 4
call fcn.00530b8f
lea ecx, [esp + 0x28]
mov byte [esp + 0x14c], 3
call fcn.00530b8f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14c], 2
call fcn.00530b8f
lea ecx, [esp + 8]
mov byte [esp + 0x14c], 1
call fcn.00530b8f
lea ecx, [esp + 0x164]
mov byte [esp + 0x14c], 0
call fcn.00530b8f
lea ecx, [esp + 0x168]
mov dword [esp + 0x14c], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x144]
pop esi
mov dword fs:[0], ecx
add esp, 0x14c
ret