Function at 0x4256a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ddd4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x212c
call fcn.004340e0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
push str.OnlineAward.yml
lea ecx, [ebp - 0x3c]
call fcn.00406da0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004348f0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.004080d0
lea ecx, [ebp - 0x74]
call fcn.00405240
mov edi, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
xor ecx, ecx
mov edx, 0x1c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004332ac
mov esi, eax
mov dword [ebp - 0x18], esi
lea ecx, [edi*8]
sub ecx, edi
shl ecx, 2
push ecx
push 0
push esi
call fcn.00447cb0
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x14], eax
cmp eax, edi
jae 0x4258a0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x74]
call fcn.0041a490
mov byte [ebp - 4], 4
push str.ItemId
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00409fd0
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.0040a160
mov ecx, dword [ebp - 0x14]
lea edx, [ecx*8]
sub edx, ecx
mov dword [esi + edx*4], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.00404dc0
push str.ItemNum
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00409fd0
mov byte [ebp - 4], 6
mov ecx, eax
call fcn.0040a160
mov ecx, dword [ebp - 0x14]
lea edx, [ecx*8]
sub edx, ecx
mov dword [esi + edx*4 + 4], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc4]
call fcn.00404dc0
push str.ObtainTime
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00409fd0
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.0040a160
mov ecx, dword [ebp - 0x14]
lea edx, [ecx*8]
sub edx, ecx
mov dword [esi + edx*4 + 0x10], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xec]
call fcn.00404dc0
push str.AvailPeriod
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00409fd0
mov byte [ebp - 4], 8
mov ecx, eax
call fcn.0040a160
mov ecx, dword [ebp - 0x14]
lea edx, [ecx*8]
sub edx, ecx
mov dword [esi + edx*4 + 8], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x114]
call fcn.00404dc0
lea ecx, [ebp - 0x13c]
call fcn.00410f40
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x4c]
call fcn.00411170
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x13c]
call fcn.00404dc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00404dc0
mov eax, dword [ebp - 0x14]
inc eax
jmp 0x42574e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00404dc0
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 0x18]
mov esi, dword [sym.imp.WS2_32.dll_htonl]
call esi
mov dword [ebp - 0x213c], eax
push 0x94
call esi
mov dword [ebp - 0x2138], eax
push 0
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x2134], ax
push 0x3b9ac9ff
call esi
mov dword [ebp - 0x2132], eax
push 0x3b9ac9ff
call esi
mov dword [ebp - 0x212e], eax
push 0x3b9ac9ff
call esi
mov dword [ebp - 0x212a], eax
push 0x3b9ac9ff
call esi
mov dword [ebp - 0x2126], eax
push 0x3b9ac9ff
call esi
mov dword [ebp - 0x2122], eax
push 0x3b9ac9ff
call esi
mov dword [ebp - 0x211e], eax
push edi
call esi
mov dword [ebp - 0x211a], eax
lea ebx, [ebp - 0x2116]
test edi, edi
je 0x4259df
mov eax, dword [ebp - 0x18]
add eax, 8
mov dword [ebp - 0x14], eax
nop
push 0
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebx], ax
lea edi, [ebx + 2]
mov eax, dword [ebp - 0x14]
push dword [eax - 8]
call esi
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
push dword [eax - 4]
call esi
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x14]
push dword [eax]
call esi
mov dword [edi + 8], eax
mov byte [edi + 0xc], 0
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
call esi
mov dword [edi + 0xd], eax
push 0
call esi
mov dword [edi + 0x11], eax
add edi, 0x15
push 0
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi], ax
sub edi, ebx
add edi, 2
push edi
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebx], ax
add ebx, edi
push 0
mov edi, dword [ebp - 0x14]
push dword [edi]
push dword [edi - 4]
push dword [edi - 8]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x18]
mov ecx, eax
call fcn.0040fc10
add esp, 0x10
add edi, 0x1c
mov dword [ebp - 0x14], edi
sub dword [ebp - 0x1c], 1
jne 0x425950
push 0x3b9ac9ff
call esi
mov dword [ebx], eax
push 0x3b9ac9ff
call esi
mov dword [ebx + 4], eax
push 0x3b9ac9ff
call esi
mov dword [ebx + 8], eax
push 0x3b9ac9ff
call esi
mov dword [ebx + 0xc], eax
push 0
call esi
mov dword [ebx + 0x10], eax
push 0
call esi
mov dword [ebx + 0x14], eax
push 0
call esi
mov dword [ebx + 0x18], eax
push 0
call esi
mov dword [ebx + 0x1c], eax
push 0
call esi
mov dword [ebx + 0x20], eax
push 0
call esi
mov dword [ebx + 0x24], eax
push 0
call esi
mov dword [ebx + 0x28], eax
push 0
mov edi, dword [sym.imp.WS2_32.dll_htons]
call edi
mov word [ebx + 0x2c], ax
push 0
call edi
mov word [ebx + 0x2e], ax
mov byte [ebx + 0x30], 0
push 0
call esi
mov dword [ebx + 0x31], eax
push 0
call esi
mov dword [ebx + 0x35], eax
add ebx, 0x39
push 0x3b9ac9ff
call esi
mov dword [ebx], eax
lea edi, [ebp - 0x2134]
sub ebx, edi
add ebx, 4
push ebx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x2134], ax
add edi, ebx
push 0
call esi
mov dword [edi], eax
push 0
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi + 4], ax
push 0
call esi
mov dword [edi + 6], eax
mov byte [edi + 0xa], 0
add edi, 0xb
mov byte [edi], 0
mov ecx, dword [ebp - 0x20]
movzx eax, word [ecx + 0x10]
push ecx
push 2
push eax
push 1
push eax
lea eax, [ebp - 0x213c]
sub edi, eax
inc edi
push edi
push eax
mov edx, 0x219
call fcn.004202d0
push dword [ebp - 0x18]
call fcn.00433246
add esp, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret