Function at 0x4067b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
mov esi, dword [0x52e2fc]
push edi
push str.IN_GetKeysInfo
push str._s_IN
xor ebx, ebx
push ebx
push 0x8d3
push str.IN_GetKeysInfo
push str..HTCSPDeal.cpp
call fcn.004199d0
mov eax, dword [0x5336cc]
push eax
push str.g_bHaveCollectInfo:_d
push ebx
push 0x8d4
push str.IN_GetKeysInfo
push str..HTCSPDeal.cpp
lea esi, [ebx + 4]
call fcn.004199d0
add esp, 0x30
mov ecx, 0x533c48
call fcn.004367f0
cmp dword [0x5336cc], ebx
je 0x406825
mov esi, str.IN_GetKeysInfo_g_bHaveCollectInfotrue
call fcn.00404580
mov ecx, 0x533c48
mov dword [0x5336cc], 1
call fcn.004368c0
cmp dword [0x533c70], ebx
mov dword [esp + 0xc], ebx
jle 0x406942
mov esi, dword [ebp + 8]
add esi, 0x15
nop
lea edi, [esi + 0x763]
mov eax, edi
call fcn.004191f0
xor eax, eax
mov dword [esi + 0x75f], 0xffffffff
mov dword [esi - 0x11], eax
mov dword [esi - 0xd], eax
push 0x40
mov dword [esi - 9], eax
push ebx
mov dword [esi - 5], eax
push esi
mov byte [esi - 1], al
call fcn.0045a690
add esp, 0xc
push 0x51a9a8
lea ecx, [esi + 0x40]
push 0x200
push ecx
call fcn.00454120
add esp, 0xc
push 0x51a9a8
lea edx, [esi + 0x357]
push 0x400
push edx
call fcn.00454120
add esp, 0xc
push 0x51a9a8
lea eax, [esi + 0x257]
push 0x80
push eax
mov dword [esi + 0x243], ebx
mov dword [esi + 0x757], ebx
mov dword [esi + 0x247], ebx
mov dword [esi + 0x24b], ebx
mov dword [esi + 0x24f], ebx
mov dword [esi + 0x253], ebx
call fcn.00454120
add esp, 0xc
push 0x51a9a8
lea ecx, [esi + 0x2d7]
push 0x80
push ecx
call fcn.00454120
add esp, 0xc
mov eax, edi
mov dword [esi + 0x75b], ebx
mov dword [esi + 0x75f], ebx
call fcn.004191f0
lea eax, [esi + 0x77f]
call fcn.00419060
mov eax, dword [esp + 0xc]
inc eax
add esi, 0x7ac
cmp eax, dword [0x533c70]
mov dword [esp + 0xc], eax
jl 0x406850
mov eax, dword [ebp + 8]
lea edx, [esp + 0x18]
mov dword [eax], ebx
push edx
lea eax, [esp + 0x14]
push eax
push ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
call dword [0x533570]
mov edi, eax
cmp edi, ebx
je 0x4069ee
push 0x51b0d4
lea ecx, [esp + 0x10]
push str.D:webloglog_init.txt
push ecx
mov dword [esp + 0x18], ebx
call fcn.00453360
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, ebx
je 0x4069bc
push eax
push 0x16
push 1
push str.HKListReaders0_failed
call fcn.00453400
mov edx, dword [esp + 0x1c]
push edx
push 2
push 1
push 0x51b0f0
call fcn.00453400
mov eax, dword [esp + 0x2c]
push eax
call fcn.004538e0
add esp, 0x24
push edi
push str.HKListReaders0_failed_dwRet:0x_x
push ebx
push 0x942
push str.IN_GetKeysInfo
push str..HTCSPDeal.cpp
mov esi, 4
call fcn.004199d0
add esp, 0x18
mov dword [0x5336c8], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
inc ecx
push ecx
call fcn.0041fe30
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
cmp edi, ebx
jne 0x406a36
mov edx, dword [esp + 0x10]
push edx
push str.malloc__pszReaderNames_failed_dwReaderNameLen:0x_x
push ebx
push 0x94a
push str.IN_GetKeysInfo
push str..HTCSPDeal.cpp
mov esi, 4
call fcn.004199d0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push edi
call dword [0x533570]
test eax, eax
je 0x406a7d
push ebx
push str.HKListReaders0_failed_dwRet:0x_x
push ebx
push 0x950
push str.IN_GetKeysInfo
push str..HTCSPDeal.cpp
mov esi, 4
call fcn.004199d0
push edi
call fcn.004203f0
add esp, 0x1c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], ebx
cmp byte [edi], bl
je 0x406bc5
cmp dword [esp + 0xc], 0xa
jge 0x406bc5
lea edx, [esp + 0x14]
push edx
push edi
call dword [0x533578]
test eax, eax
jne 0x406bc5
mov eax, dword [esp + 0x14]
push eax
push edi
push str.__s__state_is:0x_x
push ebx
push 0x962
push str.IN_GetKeysInfo
push str..HTCSPDeal.cpp
mov esi, 4
call fcn.004199d0
add esp, 0x1c
test byte [esp + 0x14], 0x20
je 0x406ba7
push edi
push str.__s__is_state_present
push ebx
push 0x965
push str.IN_GetKeysInfo
push str..HTCSPDeal.cpp
call fcn.004199d0
add esp, 0x18
call fcn.00405650
test eax, eax
je 0x406ba7
push edi
push str.__s__is_state_present_pcode_is_right
push ebx
push 0x96a
push str.IN_GetKeysInfo
push str..HTCSPDeal.cpp
call fcn.004199d0
lea ecx, [esp + 0x38]
push ecx
call dword [0x533600]
add esp, 0x1c
lea edx, [esp + 0x20]
push edx
push ebx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x3c]
push edx
push edi
call dword [0x5335b8]
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
imul ecx, ecx, 0x7ac
lea edx, [ecx + eax + 4]
push edx
mov ecx, edi
call fcn.00405aa0
add esp, 8
test eax, eax
je 0x406ba3
mov esi, str.IN_CollectInfo___
call fcn.00404580
push edi
push str.__s__collectinfo_successful
push ebx
push 0x97a
push str.IN_GetKeysInfo
push str..HTCSPDeal.cpp
mov esi, 4
call fcn.004199d0
mov eax, dword [ebp + 8]
add esp, 0x18
inc dword [eax]
inc dword [esp + 0xc]
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406bb0
sub eax, edx
lea edi, [edi + eax + 1]
cmp edi, ebx
jne 0x406a85
mov dword [esp + 0xc], ebx
cmp dword [0x5336dc], ebx
jne 0x406bd9
mov dword [esp + 0xc], 1
mov esi, dword [esp + 0x1c]
mov dword [0x5336dc], 1
xor edi, edi
cmp byte [esi], bl
je 0x406c32
cmp edi, 0xa
jge 0x406c32
cmp dword [esp + 0xc], ebx
je 0x406c15
push ebx
push esi
push 0x406750
push 0x4066f0
push esi
call dword [0x533574]
test eax, eax
je 0x406c15
mov dword [0x5336dc], ebx
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406c20
sub eax, edx
lea esi, [esi + eax + 1]
inc edi
cmp esi, ebx
jne 0x406be9
mov eax, dword [esp + 0x1c]
push eax
call fcn.004203f0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret