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

Disassembly:
push 0xffffffffffffffff
push 0x101a8834
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4c
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc6c]
push edi
xor ebx, ebx
mov edx, dword [esi + 8]
mov ecx, 0x17
xor eax, eax
lea edi, [esp + 0x4c]
mov dword [esp + 0x48], ebx
cmp edx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
rep stosd dword es:[edi], eax
je 0x10039d11
mov ecx, 0x172
lea edi, [esp + 0xcc]
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0xcc]
push 4
push eax
lea ecx, [esi + 0x10]
sub esp, 0x10
mov dword [esp + 0xc7c], ebx
mov edi, dword [ecx]
mov eax, esp
push edx
mov dword [eax], edi
mov edi, dword [ecx + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
call fcn.10019420
mov eax, dword [0x102acd68]
add esp, 0x1c
or ebp, 0xffffffff
cmp eax, ebx
je 0x10039762
mov edx, dword [esp + 0xdc]
push edx
push str.GetChatIAccInfo_1___d_
push str.cloud
push ebp
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
mov eax, dword [esp + 0xdc]
cmp eax, ebx
je 0x10039c2d
mov edi, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0xac], eax
push edi
push ebx
lea eax, [esp + 0xb0]
push edi
push eax
lea ecx, [esp + 0x28]
push edi
lea edx, [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x64]
push edi
push eax
push esi
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
call fcn.1001c7e0
mov eax, dword [0x102acd68]
add esp, 0x28
cmp eax, ebx
je 0x10039804
mov ecx, dword [esp + 0x50]
push ecx
push str.GetChatIAccInfo_2___x_
push str.cloud
push ebp
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
cmp dword [esp + 0x10], ebx
jbe 0x10039c2d
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x10039c2d
lea edx, [esp + 0xcc]
push 4
push edx
mov edx, dword [esp + 0x60]
sub esp, 0x10
mov ecx, esp
push eax
mov dword [ecx], edx
mov edx, dword [esp + 0x78]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x80]
mov dword [ecx + 0xc], edx
call fcn.10019420
mov eax, dword [esp + 0xf8]
push edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], eax
push ebx
lea eax, [esp + 0x48]
push edi
push eax
lea ecx, [esp + 0x40]
push edi
lea edx, [esp + 0x40]
push ecx
push edx
lea eax, [esp + 0xa0]
push edi
lea ecx, [esp + 0x84]
push eax
push ecx
mov dword [esp + 0x68], edi
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
call fcn.1001c7e0
mov eax, dword [0x102acd68]
add esp, 0x44
cmp eax, ebx
je 0x100398d7
mov edx, dword [esp + 0x70]
push edx
push str.GetChatIAccInfo_3___x_
push str.cloud
push ebp
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
cmp dword [esp + 0x10], ebx
jbe 0x10039c2d
cmp dword [esp + 0x70], ebx
je 0x10039c2d
mov ecx, 0x172
xor eax, eax
lea edi, [esp + 0x694]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x694]
push 0x80
push eax
mov eax, dword [esp + 0xc74]
sub esp, 0x10
mov byte [esp + 0xc7c], 1
lea ecx, [eax + 0x10]
mov edx, esp
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [eax + 8]
push edx
call fcn.10019420
add esp, 0x1c
mov edx, dword [esp + 0x78]
lea eax, [esp + 0xcc]
push 0x80
push eax
mov eax, dword [esp + 0x84]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x98]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x88]
push ecx
call fcn.10019420
mov eax, dword [0x102acd68]
add esp, 0x1c
cmp eax, ebx
je 0x100399e8
mov edx, dword [esp + 0xc58]
mov eax, dword [esp + 0xc54]
mov ecx, dword [esp + 0xc50]
push edx
mov edx, dword [esp + 0xc50]
push eax
mov eax, dword [esp + 0x698]
push ecx
mov ecx, dword [esp + 0x698]
push edx
mov edx, dword [esp + 0x698]
push eax
mov eax, dword [esp + 0x698]
push ecx
push edx
push eax
push str.GetChatIAccInfo_4___d__d__d__d__Main__d__d__d__d_
push str.cloud
push ebp
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x30
fld qword [0x102335c8]
fmul qword [0x101bf9b8]
fiadd dword [esp + 0x690]
fild dword [esp + 0xc58]
fcompp
fnstsw ax
test ah, 0x41
je 0x10039bd5
mov dword [esp + 0x18], 9
mov esi, 1
lea ecx, [esp + 0x24]
push esi
push ebx
push esi
push ecx
lea edx, [esp + 0x24]
push esi
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0xa4]
push esi
lea edx, [esp + 0x88]
push ecx
push edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call fcn.1001c7e0
mov eax, dword [0x102acd68]
add esp, 0x28
cmp eax, ebx
je 0x10039a99
mov eax, dword [esp + 0x90]
push eax
push str.GetChatIAccInfo_5___x_
push str.cloud
push ebp
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
cmp dword [esp + 0x10], ebx
jbe 0x10039b34
mov eax, dword [esp + 0x90]
cmp eax, ebx
je 0x10039b34
lea ecx, [esp + 0xcc]
push 4
push ecx
mov ecx, dword [esp + 0xa0]
sub esp, 0x10
mov edx, esp
push eax
mov dword [edx], ecx
mov ecx, dword [esp + 0xb8]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xbc]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0xc0]
mov dword [edx + 0xc], ecx
call fcn.10019420
mov eax, dword [esp + 0xf8]
add esp, 0x1c
cmp eax, esi
jne 0x10039b30
lea edx, [esp + 0x68]
push edx
call fcn.10018db0
mov eax, dword [esp + 0x1c]
mov ecx, 8
lea esi, [esp + 0x8c]
lea edi, [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
add esp, 4
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x18], eax
jne 0x10039a17
jmp 0x10039b34
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0xc48]
mov byte [esp + 0xc64], bl
cmp eax, ebx
je 0x10039b4f
push eax
call fcn.10197127
add esp, 4
mov eax, dword [esp + 0x680]
mov dword [esp + 0xc64], ebp
cmp eax, ebx
je 0x10039b6a
push eax
call fcn.10197127
add esp, 4
cmp dword [esp + 0x1c], ebx
je 0x10039d11
lea edx, [esp + 0x88]
push edx
call fcn.1003a110
add esp, 4
test eax, eax
je 0x10039d11
push 0x48444
call fcn.101970fe
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov dword [esp + 0xc64], 2
je 0x10039c51
push 0x10019c40
push 0x1002e930
lea edi, [eax + 4]
push 0xc8
push 0x5c8
push edi
mov dword [eax], 0xc8
call fcn.100ea557
jmp 0x10039c53
mov eax, dword [esp + 0xc48]
mov ecx, 8
lea esi, [esp + 0x68]
lea edi, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
cmp eax, ebx
mov byte [esp + 0xc64], bl
je 0x10039c09
push eax
call fcn.10197127
add esp, 4
mov dword [esp + 0xc48], ebx
mov eax, dword [esp + 0x680]
mov dword [esp + 0xc64], ebp
cmp eax, ebx
je 0x10039b74
push eax
call fcn.10197127
add esp, 4
jmp 0x10039b74
mov eax, dword [esp + 0x680]
mov dword [esp + 0xc64], ebp
cmp eax, ebx
je 0x10039d11
push eax
call fcn.10197127
add esp, 4
jmp 0x10039d11
xor edi, edi
mov esi, dword [esp + 0xc74]
mov dword [esp + 0xc64], ebp
cmp edi, ebx
mov dword [esi], edi
je 0x10039d11
mov ecx, 0x12110
xor eax, eax
push ebp
push 0x101f77b0
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xc80]
mov eax, dword [esi]
push 8
push 5
push 0x101f76f8
push edi
push 0xc8
lea ecx, [esp + 0x30]
push eax
mov eax, dword [esp + 0xb8]
push ecx
push 1
mov ecx, dword [esp + 0xc4]
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x4c], ebx
mov dword [edx], eax
mov eax, dword [esp + 0xd8]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xdc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0xc8]
push edx
call fcn.10019fe0
mov eax, dword [0x102acd68]
add esp, 0x3c
cmp eax, ebx
je 0x10039d01
mov eax, dword [edi]
mov ecx, dword [esi]
push eax
push ecx
push str.GetChatIAccInfo_6___x____d_
push str.cloud
push ebp
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x18
cmp dword [edi], ebx
jbe 0x10039d11
cmp dword [esi], ebx
je 0x10039d11
mov dword [esp + 0x20], 1
lea esi, [esp + 0x48]
mov edi, 3
push esi
call fcn.10018db0
add esp, 4
add esi, 0x20
dec edi
jne 0x10039d1a
mov ecx, dword [esp + 0xc5c]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc58
ret