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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5271bc
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x58057c]
xor eax, esp
mov dword [esp + 0x27c], eax
push esi
push edi
mov eax, dword [0x58057c]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x206
mov esi, edx
mov dword [esp + 0x18], eax
xor edi, edi
lea eax, [esp + 0x82]
xor edx, edx
push edi
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ecx
mov word [esp + 0x88], dx
call fcn.00503d40
mov ecx, dword [esi + 0x24c]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx]
add esp, 0xc
push edx
mov edx, dword [eax + 0x10]
call edx
push eax
push str.Local_s.v_d.filemap.sogouime
lea eax, [esp + 0x88]
push 0x104
push eax
call fcn.004fe006
add esp, 0x14
mov dword [esp + 0x74], vtable.t_mutex::t_locker.0
mov dword [esp + 0x78], edi
add esi, 0xc
mov dword [esp + 0x298], edi
push ebx
mov edi, esi
mov dword [esp + 0x38], esi
call fcn.004281a0
test al, al
je 0x4a55a8
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xf]
push ecx
mov ecx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x84]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x88], esi
mov byte [esp + 0x1f], 0
call fcn.004a52d0
test al, al
jne 0x4a55bb
mov ecx, ebx
call fcn.00417c00
push 0x569188
push 0x55e008
mov edx, eax
call fcn.00419360
add esp, 8
mov dword [esp + 0x298], 0xffffffff
test esi, esi
je 0x4a55a1
call fcn.004282e0
xor al, al
jmp 0x4a5a85
push 0x569168
push ebx
call fcn.00417cb0
add esp, 8
jmp 0x4a5a85
cmp byte [esp + 0xf], 0
je 0x4a55c9
test esi, esi
jmp 0x4a5a71
xor eax, eax
mov byte [esp + 0xd], 0
mov dword [esp + 0x38], vtable.t_fileBufRead.0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov edi, dword [esp + 0x14]
push edi
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x2a0], 1
mov byte [esp + 0x16], al
call fcn.0048e4f0
test al, al
jne 0x4a562e
mov ecx, edi
call fcn.0041f700
test al, al
je 0x4a5665
mov ecx, edi
call fcn.004191b0
push eax
push 0x56919c
mov ecx, ebx
call fcn.004014b0
mov ecx, eax
call fcn.00418700
jmp 0x4a5a32
push 0x2c
lea edx, [esp + 0x4c]
push edx
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x1a], 1
call fcn.0048f3c0
test al, al
sete al
test al, al
je 0x4a5670
mov ecx, edi
call fcn.004191b0
push eax
push str.str:_n_s___n
push ebx
call fcn.00417cb0
add esp, 0xc
jmp 0x4a56e3
xor edi, edi
mov dword [esp + 0x5c], edi
jmp 0x4a5701
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x24c]
mov edx, dword [esp + 0x4c]
cmp edx, dword [ecx + 4]
je 0x4a569b
mov ecx, edi
call fcn.004191b0
push eax
push str.str:__n_s___n
push ebx
call fcn.00417cb0
add esp, 0xc
jmp 0x4a56e3
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
imul eax, edi
add eax, dword [esp + 0x48]
add eax, ecx
cmp dword [esp + 0x60], eax
je 0x4a56d0
mov ecx, dword [esp + 0x14]
call fcn.004191b0
push eax
push 0x569218
push ebx
call fcn.00417cb0
add esp, 0xc
jmp 0x4a56e3
cmp eax, 0x200000
jbe 0x4a5715
push str.str
mov ecx, ebx
call fcn.004014b0
mov ecx, ebx
call fcn.00418040
mov ecx, ebx
call fcn.00417c50
xor edi, edi
mov dword [esp + 0x5c], edi
mov byte [esp + 0xe], 0
mov byte [esp + 0xd], 0
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], 0x18
mov dword [esp + 0x50], 0x132420d
mov eax, dword [esp + 0x5c]
add eax, 0x3200
lea esi, [edi + 0x64]
lea edx, [esi + esi*2]
mov dword [esp + 0x24], eax
lea eax, [eax + edx*8 + 0x10]
push eax
mov dword [esp + 0x24], eax
call fcn.004fe6e3
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4a574b
mov byte [esp + 0xd], 1
jmp 0x4a5a16
mov dword [esp + 0x2c], vtable.t_strMemData.0
mov dword [esp + 0x30], eax
cmp byte [esp + 0xe], 0
mov byte [esp + 0x298], 2
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
je 0x4a590e
mov eax, dword [esp + 0x58]
mov byte [esp + 0xe], 1
cmp eax, 0x18
ja 0x4a5808
mov ecx, dword [esp + 0x30]
lea eax, [edi + edi*2]
add eax, eax
add eax, eax
add eax, eax
push eax
add ecx, 0x10
push 0
push ecx
call fcn.00503d40
xor esi, esi
add esp, 0xc
cmp edi, esi
mov dword [esp + 0x18], esi
jle 0x4a5892
mov eax, dword [esp + 0x30]
lea esp, [esp]
mov edx, dword [esp + 0x58]
push edx
lea eax, [esi + eax + 0x10]
push eax
push ebx
lea ecx, [esp + 0x44]
call fcn.0048f3c0
test al, al
sete al
test al, al
jne 0x4a5892
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
cmp dword [esi + eax + 0x10], ecx
jae 0x4a5892
mov ecx, dword [esp + 0x18]
inc ecx
add esi, 0x18
cmp ecx, edi
mov dword [esp + 0x18], ecx
jl 0x4a57c0
jmp 0x4a58a6
push eax
call fcn.004fdbb0
mov esi, eax
xor eax, eax
add esp, 4
cmp edi, eax
mov dword [esp + 0x18], eax
jle 0x4a5882
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x58]
push edx
push esi
push ebx
lea ecx, [esp + 0x44]
call fcn.0048f3c0
test al, al
sete al
mov byte [esp + 0xe], al
test al, al
jne 0x4a5882
mov eax, dword [esp + 0x30]
mov edx, dword [esi]
mov ecx, dword [esp + 0x24]
mov dword [ecx + eax + 0x10], edx
mov edx, dword [esi + 4]
lea eax, [ecx + eax + 0x10]
mov dword [eax + 4], edx
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [esi + 0x14]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x18]
inc eax
add ecx, 0x18
cmp eax, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
jl 0x4a5821
push esi
call fcn.0050001c
add esp, 4
cmp byte [esp + 0xe], 0
je 0x4a58a2
push str.str_data_may_be_lost
push ebx
call fcn.00417cb0
add esp, 8
jmp 0x4a5905
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x5c]
test edx, edx
jbe 0x4a590a
mov ecx, dword [eax + 8]
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8 + 0x10]
push edx
push eax
push ebx
lea ecx, [esp + 0x44]
call fcn.0048f3c0
test al, al
jne 0x4a58db
push str.str_string_data_may_be_lost
push ebx
call fcn.00417cb0
add esp, 8
mov byte [esp + 0xd], 1
lea esi, [esp + 0x2c]
call fcn.004a7460
test al, al
jne 0x4a590a
mov ecx, dword [esp + 0x14]
call fcn.004191b0
push eax
push str.str:
mov ecx, ebx
call fcn.004014b0
mov ecx, eax
call fcn.00418700
mov byte [esp + 0xd], 1
mov eax, dword [esp + 0x10]
cmp byte [esp + 0xd], 0
mov byte [esp + 0x298], 1
mov dword [esp + 0x2c], vtable.t_strDataBase.0
jne 0x4a5a16
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], vtable.t_lockerMemSharable.0
push ebx
mov edi, 0x5833f8
mov byte [esp + 0x29c], 3
call fcn.004281a0
test al, al
je 0x4a599a
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x228], 0
mov dword [esp + 0x28], edi
je 0x4a5970
lea esi, [eax + 0x224]
call fcn.0041ab30
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
lea edi, [eax + 0x224]
add esi, 0x208
push ebx
mov cl, 1
lea edx, [esp + 0x80]
call fcn.0048ee00
test al, al
jne 0x4a59af
mov byte [esp + 0xd], 1
jmp 0x4a59fd
push 0x5692e8
push ebx
call fcn.00417cb0
add esp, 8
mov byte [esp + 0xd], 1
jmp 0x4a59fd
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x22c]
mov ecx, dword [esp + 0x14]
add esi, 8
call fcn.004191b0
push eax
push 0x104
push esi
call fcn.004ff51f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
push ecx
add esi, 0x208
push esi
call fcn.00503dc0
add esp, 0xc
cmp dword [edi + 4], 0
je 0x4a59fd
mov edi, dword [edi + 8]
mov dword [edi + 4], 1
mov byte [esp + 0x298], 1
mov edi, dword [esp + 0x28]
test edi, edi
je 0x4a5a12
call fcn.004282e0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a5a23
push eax
call fcn.004fe606
add esp, 4
cmp byte [esp + 0xd], 0
je 0x4a5a62
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
push ebx
call fcn.00422110
mov ecx, ebx
call fcn.00418040
lea ecx, [esp + 0x38]
call fcn.0048e4b0
mov dword [esp + 0x298], 0xffffffff
test esi, esi
je 0x4a5a5e
mov edi, esi
call fcn.004282e0
xor al, al
jmp 0x4a5a85
lea ecx, [esp + 0x38]
call fcn.0048e4b0
mov edi, dword [esp + 0x34]
test edi, edi
mov dword [esp + 0x298], 0xffffffff
je 0x4a5a83
call fcn.004282e0
mov al, 1
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x27c]
xor ecx, esp
call fcn.004fdc2b
mov esp, ebp
pop ebp
ret 8