Function at 0x65220210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x274
push ebx
push ebp
mov ebp, dword [esp + 0x280]
mov eax, dword [ebp + 0xb0]
push esi
xor esi, esi
push edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov edi, dword [eax + 0x1ac]
mov eax, dword [ebp + 0x228]
cmp eax, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], 0xffffffff
jne 0x652202b7
push 0xc
call fcn.6527b505
mov ebx, eax
add esp, 4
cmp ebx, esi
je 0x652202a9
mov ecx, dword [edi + 0x2b8]
mov edx, dword [ebp + 0x24c]
mov eax, dword [edx + 0x2c]
mov esi, dword [ecx + 8]
sub esi, eax
lea eax, [esi*4]
push eax
mov dword [ebx + 8], 0
call fcn.652441c0
add esp, 4
test eax, eax
mov dword [ebx], eax
je 0x65220299
mov dword [ebx + 4], esi
mov ecx, ebx
mov dword [esp + 0x30], ebx
xor esi, esi
mov dword [ebp + 0x228], ecx
jmp 0x652202be
mov ecx, esi
mov dword [esp + 0x30], esi
mov dword [ebp + 0x228], ecx
jmp 0x652202be
mov dword [esp + 0x30], eax
mov dword [eax + 8], esi
mov eax, dword [ebp + 0x24c]
cmp dword [eax + 0x2c], esi
jbe 0x652202d0
mov edx, dword [eax + 0x28]
mov eax, dword [edx]
jmp 0x652202d2
xor eax, eax
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.6525db10
mov ecx, dword [ebp + 0x24c]
mov ebx, dword [ecx + 0x2c]
mov esi, eax
xor edx, edx
movzx ax, bh
mov dh, bl
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x28], ebx
or edx, eax
mov eax, 2
mov dword [esp + 0x1c], edx
call fcn.6521d600
xor eax, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x10], eax
ja 0x65220372
lea ecx, [esp + 0x24]
push ecx
mov eax, 2
mov ecx, ebp
mov dword [esp + 0x28], 0
call fcn.6521d600
mov al, byte [ebp + 0xc4]
add esp, 4
test al, 4
je 0x652206b5
mov eax, dword [ebp + 0x24c]
mov ecx, dword [eax + 0x2c]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x24], ebx
jbe 0x65220597
mov edx, dword [eax + 0x28]
mov eax, dword [edx]
mov dword [esp + 0x18], eax
jmp 0x6522059b
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x24c]
cmp eax, dword [ecx + 0x2c]
jae 0x65220385
mov edx, dword [ecx + 0x28]
mov ebx, dword [edx + eax*4]
jmp 0x65220387
xor ebx, ebx
mov eax, dword [ebx + 4]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65220390
sub eax, edx
xor ecx, ecx
movzx dx, ah
mov ch, al
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
mov eax, 2
or ecx, edx
mov dword [esp + 0x1c], ecx
mov ecx, ebp
call fcn.6521d600
mov ecx, dword [ebx + 4]
movzx eax, word [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.6521d600
mov eax, dword [ebx]
add esp, 8
lea edx, [esp + 0x28]
push edx
push esi
push eax
mov ecx, edi
call fcn.6525df90
test eax, eax
je 0x65220571
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov ch, al
movzx eax, ah
movzx edx, cx
xor ecx, ecx
mov ch, byte [esp + 0x2a]
or edx, eax
shl edx, 0x10
movzx eax, cx
movzx ecx, byte [esp + 0x2b]
or edx, eax
or edx, ecx
mov dword [esp + 0x18], edx
lea edx, [esp + 0x18]
push edx
mov eax, 4
mov ecx, ebp
call fcn.6521d600
mov al, byte [ebp + 0xc4]
add esp, 4
test al, 4
je 0x65220492
mov eax, dword [ebx]
push eax
mov ecx, edi
call fcn.652200b0
mov ecx, edx
shr ecx, 0x18
mov byte [esp + 0x1c], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esp + 0x1d], cl
mov ecx, edx
mov dword [esp + 0x38], edx
mov byte [esp + 0x1f], dl
shr ecx, 8
mov edx, eax
shr edx, 0x18
mov byte [esp + 0x1e], cl
mov ecx, eax
mov byte [esp + 0x20], dl
mov edx, eax
mov dword [esp + 0x34], eax
mov byte [esp + 0x23], al
shr ecx, 0x10
lea eax, [esp + 0x1c]
mov byte [esp + 0x21], cl
shr edx, 8
push eax
mov eax, 8
mov ecx, ebp
mov byte [esp + 0x26], dl
call fcn.6521d600
add esp, 4
mov ecx, dword [ebx]
mov eax, dword [edi + 0x2b8]
mov edx, dword [edi + 0x314]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 8]
test ecx, ecx
mov dword [esp + 0x78], edx
je 0x652204d6
dec ecx
push ecx
push 0
sub esp, 0x40
mov edi, esp
mov ecx, 0x10
lea esi, [esp + 0xb0]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
call fcn.6521c9d0
test eax, eax
je 0x652204d6
lea edi, [eax + 0x24]
jmp 0x652204d8
xor edi, edi
mov eax, edi
mov esi, ebp
call fcn.6521dd80
mov eax, dword [ebp + 0x248]
test byte [eax], 0x20
je 0x65220553
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ebx, dword [ebx + 4]
lea ecx, [esp + 0x48]
push ecx
push edx
push eax
call fcn.65265c60
lea ecx, [esp + 0x4c]
push ecx
mov eax, edi
call fcn.6521d270
push str.YYYY_MM_DD_HH:NN:SS.Ssssss
lea edx, [esp + 0x198]
push edx
lea eax, [esp + 0x58]
push eax
call fcn.65269e90
movzx ecx, ax
lea edx, [esp + 0x1a0]
push edx
lea eax, [esp + 0x68]
push eax
push ebx
mov byte [esp + ecx + 0x1ac], 0
mov ecx, dword [ebp + 0xa4]
push 0x378e
push ecx
call fcn.652659d0
add esp, 0x30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x6522036a
jmp 0x6522031b
mov edx, dword [ebx + 4]
mov eax, dword [ebp + 0xa0]
push edx
push esi
push 0x27f6
push eax
call fcn.652659d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x274
ret
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [edi + 0x2b8]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 8]
cmp ecx, edx
jae 0x6522067e
cmp ecx, edx
jae 0x652205c4
mov eax, dword [eax]
add eax, dword [esp + 0x14]
jmp 0x652205c6
xor eax, eax
mov ecx, dword [ebp + 0x24c]
cmp ebx, dword [ecx + 0x2c]
mov esi, dword [eax]
mov eax, dword [eax + 0x10]
je 0x6522061e
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
cmp esi, edx
jb 0x6522061e
jne 0x652205f8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ecx
add eax, 0x40
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x652205a3
cmp esi, edx
jbe 0x652205a3
mov eax, dword [ecx + 0x2c]
inc ebx
cmp ebx, eax
mov dword [esp + 0x24], ebx
jae 0x65220614
mov eax, dword [ecx + 0x28]
mov ecx, dword [eax + ebx*4]
mov dword [esp + 0x18], ecx
jmp 0x652205a3
mov dword [esp + 0x18], 0
jmp 0x652205a3
mov edx, dword [esp + 0x3c]
push edx
push eax
call fcn.652810f2
add esp, 8
test eax, eax
jne 0x65220665
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
jne 0x65220656
mov ecx, dword [ebx]
add eax, eax
mov dword [ebx + 4], eax
shl eax, 2
push eax
push ecx
call fcn.65244240
add esp, 8
test eax, eax
mov dword [ebx], eax
je 0x65220661
mov edx, dword [ebx + 8]
mov eax, dword [ebx]
mov dword [eax + edx*4], esi
inc dword [ebx + 8]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ecx
add eax, 0x40
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x652205a3
mov esi, dword [esp + 0x30]
mov ebx, dword [esi + 8]
xor ecx, ecx
movzx dx, bh
mov ch, bl
lea eax, [esp + 0x14]
push eax
mov eax, 2
mov dword [esp + 0x28], ebx
or ecx, edx
mov dword [esp + 0x18], ecx
mov ecx, ebp
call fcn.6521d600
xor eax, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x10], eax
ja 0x652206d0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x274
ret
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
lea ecx, [ecx]
cmp eax, dword [esi + 8]
jae 0x652206dc
mov ecx, dword [esi]
lea eax, [ecx + eax*4]
jmp 0x652206de
xor eax, eax
mov esi, dword [eax]
push esi
lea edx, [esp + 0x104]
push edx
mov ecx, edi
mov dword [esp + 0x1c], esi
call fcn.6525e040
test eax, eax
je 0x652209a7
lea eax, [esp + 0x100]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x65220706
sub eax, edx
mov ebx, eax
xor eax, eax
movzx cx, bh
mov ah, bl
lea edx, [esp + 0x34]
push edx
or eax, ecx
mov dword [esp + 0x38], eax
mov eax, 2
mov ecx, ebp
call fcn.6521d600
lea ecx, [esp + 0x104]
movzx eax, bx
push ecx
mov ecx, ebp
call fcn.6521d600
mov ebx, dword [esp + 0x44]
add esp, 8
lea edx, [esp + 0x28]
push edx
push ebx
push esi
mov ecx, edi
call fcn.6525df90
test eax, eax
je 0x6522098a
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov ch, al
movzx eax, ah
movzx edx, cx
xor ecx, ecx
mov ch, byte [esp + 0x2a]
or edx, eax
shl edx, 0x10
movzx eax, cx
movzx ecx, byte [esp + 0x2b]
or edx, eax
or edx, ecx
mov dword [esp + 0x34], edx
lea edx, [esp + 0x34]
push edx
mov eax, 4
mov ecx, ebp
call fcn.6521d600
mov eax, dword [ebp + 0x250]
or ecx, 0xffffffff
add esp, 4
or ebx, 0xffffffff
test eax, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x68], esi
jne 0x652207ba
mov eax, dword [edi + 0x314]
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0x2b8]
mov edx, dword [eax + 8]
test edx, edx
je 0x65220803
dec edx
push edx
push 0
sub esp, 0x40
mov edi, esp
mov ecx, 0x10
lea esi, [esp + 0xb0]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
call fcn.6521c9d0
test eax, eax
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
je 0x652207ff
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x44]
mov edx, ecx
mov eax, ecx
shr edx, 0x18
shr eax, 0x10
mov byte [esp + 0x1c], dl
mov byte [esp + 0x1d], al
mov edx, ecx
shr edx, 8
mov byte [esp + 0x1f], cl
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x1e], dl
mov byte [esp + 0x20], al
mov ecx, ebx
shr ecx, 0x10
lea eax, [esp + 0x1c]
mov edx, ebx
mov byte [esp + 0x21], cl
shr edx, 8
push eax
mov eax, 8
mov ecx, ebp
mov byte [esp + 0x26], dl
mov byte [esp + 0x27], bl
call fcn.6521d600
mov ecx, dword [ebp + 0x248]
mov al, byte [ecx]
add esp, 4
test al, 0x20
je 0x65220965
mov eax, dword [edi + 0x2b8]
mov ecx, dword [eax + 8]
test ecx, ecx
mov edx, dword [edi + 0x314]
mov dword [esp + 0xc0], esi
mov dword [esp + 0xd0], edx
je 0x652208b1
dec ecx
push ecx
push 0
sub esp, 0x40
mov edi, esp
mov ecx, 0x10
lea esi, [esp + 0x108]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
call fcn.6521c9d0
test eax, eax
mov edi, dword [esp + 0x2c]
je 0x652208b1
lea esi, [eax + 0x24]
jmp 0x652208b3
xor esi, esi
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0xa8]
push eax
push ecx
push ebx
call fcn.65265c60
mov dx, word [esi]
mov al, byte [esi + 2]
mov cl, byte [esi + 3]
mov word [esp + 0x54], dx
mov dx, word [esi + 4]
mov byte [esp + 0x56], al
mov al, byte [esi + 6]
mov word [esp + 0x58], dx
mov dl, byte [esi + 8]
mov byte [esp + 0x5a], al
mov al, byte [esi + 9]
mov byte [esp + 0x57], cl
mov cl, byte [esi + 7]
mov byte [esp + 0x5c], dl
lea edx, [esp + 0x6c]
mov byte [esp + 0x5d], al
mov byte [esp + 0x5b], cl
mov ecx, dword [esi + 0xa]
push edx
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x68], ecx
call fcn.65269df0
push str.YYYY_MM_DD_HH:NN:SS.Ssssss
lea ecx, [esp + 0x19c]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.65269e90
movzx eax, ax
lea ecx, [esp + 0x1a4]
push ecx
mov ecx, dword [ebp + 0xa4]
lea edx, [esp + 0xcc]
push edx
mov byte [esp + eax + 0x1ac], 0
lea eax, [esp + 0x128]
push eax
push 0x378f
push ecx
call fcn.652659d0
add esp, 0x34
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x652206c5
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x274
ret
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 0xa0]
push eax
push ebx
push 0x27f6
push ecx
call fcn.652659d0
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x274
ret