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

Disassembly:
push 0xffffffffffffffff
push 0x6045b9
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, dword [esp + 0xc8]
mov eax, dword [esp + 0xcc]
push eax
push str.CPhraseSyncModule::MergeNew___s
mov ecx, edi
call fcn.004c6880
xor ebx, ebx
mov esi, 0xa
add esp, 8
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0xc0], 1
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0xc0], 2
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push ebx
lea eax, [esp + 0x1c]
push eax
call edx
lea edi, [esp + 0x20]
mov byte [esp + 0xc0], 3
call fcn.0040ab90
mov byte [esp + 0xc0], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c1449
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 0xc]
cmp eax, ebx
jle 0x4c147c
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x4c154a
cmp ecx, eax
jg 0x4c154a
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x4c147c
push 0x5c
lea edi, [esp + 0x24]
call fcn.0040af90
push esi
push str.phrase.ini
lea ecx, [esp + 0x28]
push ecx
call fcn.0040aee0
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0xc0], 4
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x7c]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
call fcn.0050f180
lea edx, [esp + 0x24]
push edx
push str.Default
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0xcc], 5
call fcn.0050f980
mov edi, dword [esp + 0x30]
cmp edi, ebx
je 0x4c1595
cmp edi, dword [esp + 0x2c]
je 0x4c1595
mov eax, edi
mov ecx, dword [eax + 8]
mov edi, dword [edi]
lea eax, [ecx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
je 0x4c1567
cmp dword [esi + 0xc], ebx
lea ebp, [esi + 0xc]
jl 0x4c1554
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4c1554
call fcn.0040a210
mov dword [esp + 0x18], eax
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x4c153d
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ebp, dword [esp + 0x18]
add ebp, 0x10
mov dword [esp + 0x1c], ebp
jmp 0x4c1567
push 0x80070057
call fcn.00403650
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x20]
call fcn.004037a0
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [ebp - 0xc], ebx
je 0x4c14ec
push ebp
lea ecx, [esp + 0x50]
call fcn.004c39a0
cmp eax, ebx
jne 0x4c158c
mov eax, ebp
lea ebx, [esp + 0x4c]
call fcn.004c37c0
xor ebx, ebx
jmp 0x4c14ec
mov byte [eax + 4], 0
jmp 0x4c14ec
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0xc4], 4
call fcn.0050f250
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0xc8]
mov byte [esp + 0xc0], 6
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push ebx
lea eax, [esp + 0x28]
push eax
call edx
lea edi, [esp + 0x18]
mov byte [esp + 0xc0], 7
call fcn.0040ab90
mov byte [esp + 0xc0], 6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c1616
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x18]
mov ecx, dword [edx - 0xc]
cmp ecx, ebx
jle 0x4c1649
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x4c154a
cmp eax, ecx
jg 0x4c154a
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x4c1649
push 0x5c
lea edi, [esp + 0x1c]
call fcn.0040af90
push 0xe
push str.389_phrase.ini
lea ecx, [esp + 0x20]
push ecx
call fcn.0040aee0
mov edi, dword [esp + 0x18]
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
call fcn.0050f180
lea eax, [esp + 0x24]
push eax
push str.Default
lea ecx, [esp + 0x84]
push ecx
mov byte [esp + 0xcc], 8
call fcn.0050f980
mov edi, dword [esp + 0x30]
jmp 0x4c16a0
cmp edi, ebx
je 0x4c1739
cmp edi, dword [esp + 0x2c]
je 0x4c1739
mov eax, edi
mov ecx, dword [eax + 8]
mov edi, dword [edi]
lea eax, [ecx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
je 0x4c170b
cmp dword [esi + 0xc], ebx
lea ebp, [esi + 0xc]
jl 0x4c16f8
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4c16f8
call fcn.0040a210
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x4c16ef
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea ebp, [ebx + 0x10]
mov dword [esp + 0x1c], ebp
jmp 0x4c1709
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x20]
call fcn.004037a0
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [ebp - 0xc], ebx
je 0x4c16a0
push ebp
lea ecx, [esp + 0x68]
call fcn.004c39a0
cmp eax, ebx
jne 0x4c1730
mov eax, ebp
lea ebx, [esp + 0x64]
call fcn.004c37c0
xor ebx, ebx
jmp 0x4c16a0
mov byte [eax + 4], 0
jmp 0x4c16a0
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0xc4], 6
call fcn.0050f250
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.004c00a0
add esp, 8
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0xa
mov dword [esp + 0x48], ebx
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x9c], ebx
mov ecx, dword [esp + 0xcc]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push ecx
mov byte [esp + 0xdc], 0xa
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x4c183d
call fcn.0040f010
cmp eax, ebx
jl 0x4c17f9
mov eax, esi
lea ecx, [esp + 0x7c]
call fcn.0050e4f0
cmp esi, ebx
je 0x4c17f9
push esi
call ebp
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x80]
call fcn.0050e200
test eax, eax
je 0x4c185a
mov edi, edi
mov esi, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x68]
call fcn.004c39a0
test eax, eax
jne 0x4c1845
push esi
lea ecx, [esp + 0x38]
call fcn.004c39a0
test eax, eax
jne 0x4c1841
mov eax, esi
lea ebx, [esp + 0x34]
call fcn.004c37c0
jmp 0x4c1845
mov esi, eax
jmp 0x4c17e7
mov byte [eax + 4], 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x80]
call fcn.0050e200
test eax, eax
jne 0x4c1810
lea esi, [esp + 0x94]
mov byte [esp + 0xc0], 9
call fcn.0050df50
xor edi, edi
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
call fcn.0050df50
mov edx, dword [esp + 0x4c]
cmp edx, edi
mov ecx, dword [esp + 0x60]
je 0x4c18ad
cmp edx, ecx
je 0x4c18ad
mov eax, dword [edx + 0xc]
cmp eax, ecx
je 0x4c18af
mov edx, eax
mov eax, dword [edx + 0xc]
cmp eax, ecx
jne 0x4c18a2
jmp 0x4c18af
xor edx, edx
cmp edx, edi
mov esi, edx
je 0x4c192d
jmp 0x4c18bb
mov ecx, dword [esp + 0x60]
test esi, esi
mov edi, esi
je 0x4c1908
mov edx, dword [esi + 0x10]
cmp edx, ecx
je 0x4c18e6
test edx, edx
je 0x4c18e0
mov eax, dword [edx + 0xc]
cmp eax, ecx
je 0x4c18e2
mov edx, eax
mov eax, dword [edx + 0xc]
cmp eax, ecx
jne 0x4c18d3
mov esi, edx
jmp 0x4c1908
xor edx, edx
mov esi, edx
jmp 0x4c1908
mov eax, dword [esi + 0x14]
cmp eax, ecx
je 0x4c1904
lea ecx, [ecx]
cmp esi, dword [eax + 0x10]
jne 0x4c1900
mov esi, eax
mov eax, dword [eax + 0x14]
cmp eax, ecx
jne 0x4c18f0
jmp 0x4c1904
cmp eax, ecx
jne 0x4c1906
xor eax, eax
mov esi, eax
mov edi, dword [edi]
push edi
lea ecx, [esp + 0x38]
call fcn.004c39a0
test eax, eax
jne 0x4c1925
mov eax, edi
lea ebx, [esp + 0x34]
call fcn.004c37c0
jmp 0x4c1929
mov byte [eax + 4], 0
test esi, esi
jne 0x4c18b7
mov dword [esp + 0x24], 0
push 1
lea ecx, [esp + 0x28]
mov edx, 2
push ecx
mov ecx, dword [esp + 0xd4]
lea eax, [edx - 1]
mov byte [esp + 0xc8], 0xb
call fcn.0050e580
mov edx, dword [esp + 0x34]
test edx, edx
mov ecx, dword [esp + 0x48]
je 0x4c197b
cmp edx, ecx
je 0x4c197b
mov eax, dword [edx + 0xc]
cmp eax, ecx
je 0x4c197d
nop
mov edx, eax
mov eax, dword [edx + 0xc]
cmp eax, ecx
jne 0x4c1970
jmp 0x4c197d
xor edx, edx
test edx, edx
mov edi, edx
je 0x4c1a0f
jmp 0x4c1994
mov ecx, dword [esp + 0x48]
test edi, edi
mov esi, edi
je 0x4c19e8
mov edx, dword [edi + 0x10]
cmp edx, ecx
je 0x4c19c3
test edx, edx
je 0x4c19bd
mov eax, dword [edx + 0xc]
cmp eax, ecx
je 0x4c19bf
lea esp, [esp]
mov edx, eax
mov eax, dword [edx + 0xc]
cmp eax, ecx
jne 0x4c19b0
mov edi, edx
jmp 0x4c19e8
xor edx, edx
mov edi, edx
jmp 0x4c19e8
mov eax, dword [edi + 0x14]
cmp eax, ecx
je 0x4c19e4
lea ebx, [ebx]
cmp edi, dword [eax + 0x10]
jne 0x4c19e0
mov edi, eax
mov eax, dword [eax + 0x14]
cmp eax, ecx
jne 0x4c19d0
jmp 0x4c19e4
cmp eax, ecx
jne 0x4c19e6
xor eax, eax
mov edi, eax
mov edx, dword [esi]
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c19f0
sub eax, esi
sar eax, 1
push edx
mov ecx, eax
lea esi, [esp + 0x28]
call fcn.0050e710
test edi, edi
jne 0x4c1990
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4c1a1a
push eax
call ebp
lea edi, [esp + 0x34]
call fcn.004c6cd0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4c1a34
push eax
call fcn.005d27e0
add esp, 4
mov byte [esp + 0xc0], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c1a5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c1a84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c1aac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [esp + 0x64]
call fcn.004c6cd0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4c1ac6
push eax
call fcn.005d27e0
add esp, 4
lea edi, [esp + 0x4c]
call fcn.004c6cd0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4c1ae0
push eax
call fcn.005d27e0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 8