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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x101a8781
push eax
mov eax, 0x12cc
mov dword fs:[0], esp
call fcn.100ea180
mov eax, dword [esp + 0x12e0]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
je 0x10038a48
cmp dword [esp + 0x12f4], ebx
je 0x10038a48
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x68]
mov dword [esp + 0x64], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x172
lea edi, [esp + 0x74c]
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
mov esi, 1
lea eax, [esp + 0x40]
push esi
push ebx
push esi
push eax
mov eax, dword [esp + 0x12fc]
push ebx
lea ecx, [esp + 0x24]
push ebx
push ecx
lea edx, [esp + 0x80]
push esi
or ebp, 0xffffffff
push edx
push eax
mov dword [esp + 0x130c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
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, 0x28
cmp eax, ebx
je 0x10038532
mov ecx, dword [esp + 0x6c]
push ecx
push str.GetSelfNickName_1___x_
push str.cloud
push ebp
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
cmp dword [esp + 0x10], ebx
je 0x10038a0f
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x10038a0f
lea edx, [esp + 0x74c]
push 4
push edx
mov edx, dword [esp + 0x7c]
sub esp, 0x10
mov ecx, esp
push eax
mov dword [ecx], edx
mov edx, dword [esp + 0x94]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x98]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x9c]
mov dword [ecx + 0xc], edx
call fcn.10019420
mov eax, dword [esp + 0x778]
push esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
push ebx
lea eax, [esp + 0x3c]
push esi
push eax
lea ecx, [esp + 0x40]
push esi
lea edx, [esp + 0x40]
push ecx
push edx
lea eax, [esp + 0xbc]
push esi
lea ecx, [esp + 0xa0]
push eax
push ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.1001c7e0
mov eax, dword [0x102acd68]
add esp, 0x44
cmp eax, ebx
je 0x10038605
mov edx, dword [esp + 0x8c]
push edx
push str.GetSelfNickName_2___x_
push str.cloud
push ebp
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
cmp dword [esp + 0x10], ebx
jbe 0x10038a0f
mov edx, dword [esp + 0x8c]
cmp edx, ebx
je 0x10038a0f
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xe8]
mov dword [esp + 0xe4], ebx
rep stosd dword es:[edi], eax
push esi
lea eax, [esp + 0x1c]
push esi
lea ecx, [esp + 0x18]
push eax
push ecx
lea eax, [esp + 0xf4]
push 5
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0xb0]
push esi
mov dword [esp + 0x38], esi
sub esp, 0x10
mov dword [esp + 0x4c], ebp
mov eax, esp
mov dword [esp + 0x50], 0x14
push edx
mov dword [esp + 0x58], ebx
mov dword [eax], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [eax + 0xc], ecx
call fcn.1001bbf0
mov eax, dword [0x102acd68]
add esp, 0x34
cmp eax, ebx
je 0x100386dc
mov edx, dword [esp + 0x10]
push edx
push str.GetSelfNickName_3___d_
push str.cloud
push ebp
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
mov edx, dword [esp + 0x10]
cmp edx, ebx
je 0x10038a0f
mov ecx, 0x172
xor eax, eax
lea edi, [esp + 0x184]
rep stosd dword es:[edi], eax
xor esi, esi
cmp edx, ebx
mov byte [esp + 0x12e4], 1
jbe 0x10038813
lea edi, [esp + 0xec]
lea eax, [esp + 0x184]
push 0x84
push eax
lea ecx, [edi + 8]
sub esp, 0x10
mov eax, dword [ecx]
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [edi]
push edx
call fcn.10019420
mov eax, dword [0x102acd68]
add esp, 0x1c
cmp eax, ebx
je 0x10038789
mov eax, dword [esp + 0x748]
mov ecx, dword [esp + 0x744]
mov edx, dword [esp + 0x740]
push eax
mov eax, dword [esp + 0x740]
push ecx
push edx
push eax
push esi
push str.GetSelfNickName_31__i_d____d__d__d__d_
push str.cloud
push ebp
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x24
cmp dword [esp + 0x194], ebx
je 0x100387b6
mov ecx, dword [esp + 0x744]
mov edx, dword [esp + 0x73c]
mov eax, dword [esp + 0x740]
sub ecx, edx
mov edx, dword [esp + 0x748]
sub edx, eax
cmp ecx, edx
je 0x100387c8
mov eax, dword [esp + 0x10]
inc esi
add edi, 0x20
cmp esi, eax
jb 0x10038711
jmp 0x10038813
shl esi, 5
mov eax, esi
mov ecx, 8
lea edi, [esp + 0xa4]
lea esi, [esp + eax + 0xe4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x102acd68]
mov dword [esp + eax + 0xec], ebx
cmp ecx, ebx
je 0x10038813
mov eax, dword [esp + eax + 0xe8]
push eax
push str.GetSelfNickName_32__brothor:_d_
push str.cloud
push ebp
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
lea esi, [esp + 0xe4]
mov edi, 5
push esi
call fcn.10018db0
add esp, 4
add esi, 0x20
dec edi
jne 0x1003881f
mov eax, dword [esp + 0x738]
mov byte [esp + 0x12e4], bl
cmp eax, ebx
je 0x10038849
push eax
call fcn.10197127
add esp, 4
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0x74c]
push 4
push ecx
mov ecx, dword [esp + 0xc0]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0xd4]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xd8]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0xc4]
push edx
call fcn.10019420
mov eax, dword [esp + 0x778]
push 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
push ebx
lea eax, [esp + 0x3c]
push 1
push eax
lea ecx, [esp + 0x40]
push 1
lea edx, [esp + 0x40]
push ecx
push edx
lea eax, [esp + 0xfc]
push 1
lea ecx, [esp + 0xe0]
push eax
push ecx
mov dword [esp + 0x5c], 1
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.1001c7e0
mov eax, dword [0x102acd68]
add esp, 0x44
cmp eax, ebx
je 0x10038918
mov edx, dword [esp + 0xcc]
push edx
push str.GetSelfNickName_4___x_
push str.cloud
push ebp
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
cmp dword [esp + 0x10], ebx
jbe 0x10038a0f
mov edx, dword [esp + 0xcc]
cmp edx, ebx
je 0x10038a0f
mov ecx, 0x172
xor eax, eax
lea edi, [esp + 0xd14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xd14]
push 0xffff
push eax
mov eax, dword [esp + 0xdc]
sub esp, 0x10
mov byte [esp + 0x12fc], 2
mov ecx, esp
push edx
mov dword [ecx], eax
mov eax, dword [esp + 0xf4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xf8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xfc]
mov dword [ecx + 0xc], eax
call fcn.10019420
mov edx, dword [esp + 0x1310]
mov edi, dword [esp + 0x130c]
xor eax, eax
lea ecx, [edx + edx]
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
dec edx
rep stosb byte es:[edi], al
push edx
mov edx, dword [esp + 0x1310]
lea ecx, [esp + 0xd48]
push ecx
push edx
call fcn.100e9aa5
mov eax, dword [0x102acd68]
add esp, 0x28
cmp eax, ebx
je 0x100389ec
lea eax, [esp + 0xd28]
push eax
push str.GetSelfNickName_____name:_s_
push str.cloud
push ebp
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
mov eax, dword [esp + 0x12c8]
mov dword [esp + 0x3c], 1
cmp eax, ebx
mov byte [esp + 0x12e4], bl
je 0x10038a0f
push eax
call fcn.10197127
add esp, 4
lea esi, [esp + 0x64]
mov edi, 4
push esi
call fcn.10018db0
add esp, 4
add esi, 0x20
dec edi
jne 0x10038a18
mov eax, dword [esp + 0xd00]
mov dword [esp + 0x12e4], ebp
cmp eax, ebx
je 0x10038a42
push eax
call fcn.10197127
add esp, 4
mov eax, dword [esp + 0x3c]
jmp 0x10038a4a
xor eax, eax
mov ecx, dword [esp + 0x12dc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x12d8
ret