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

Disassembly:
sub esp, 0x124
mov eax, dword [esp + 0x128]
mov dword [esp], ecx
xor ecx, ecx
push ebx
mov ch, byte [eax + 9]
xor edx, edx
mov cl, byte [eax + 0xa]
mov dl, byte [eax + 0xb]
mov eax, dword [eax + 0x14]
push ebp
push esi
mov esi, dword [esp + 0x13c]
shl ecx, 8
push edi
or ecx, edx
xor edi, edi
mov ebp, ecx
push edi
push esi
push ebp
push eax
lea ecx, [esp + 0x3c]
call fcn.00471aa0
mov ecx, dword [esp + 0x38]
push 2
add ecx, ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x30]
call fcn.0046f4e0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], eax
call fcn.0046f3a0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x74], eax
call fcn.0046f3a0
lea ecx, [esp + 0x2c]
mov ebx, eax
call fcn.0046f3a0
mov ecx, dword [esp + 0x13c]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
xor ebp, ebp
mov eax, dword [ecx]
mov dword [esp + 0x20], edx
cmp eax, edi
mov dword [esp + 0x28], ebp
je 0x479948
push edi
lea edx, [esp + 0x6c]
push edi
push edx
mov ecx, dword [ecx + 0x10]
lea edx, [esp + 0xe4]
push edx
lea edx, [esp + 0xf4]
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf8], edi
mov dword [esp + 0xfc], edi
mov dword [esp + 0xe8], edi
mov dword [esp + 0xec], edi
mov dword [esp + 0xf0], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov eax, dword [eax + 0xa0]
push edx
mov edx, dword [esp + 0x28]
mov eax, dword [eax]
push edx
push edi
push ecx
push eax
call fcn.0047b3a0
add esp, 0x24
test eax, eax
je 0x479915
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x68]
and ebx, 2
mov eax, dword [eax + 0x10]
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00479760
mov dword [esp + 0x28], eax
mov ebp, eax
mov edx, dword [esp + 0x68]
mov ecx, 0x4ba850
push edx
call fcn.00417540
mov eax, dword [esp + 0xd8]
mov ecx, 0x4ba850
push eax
call fcn.00417540
mov ecx, dword [esp + 0xe4]
push ecx
mov ecx, 0x4ba850
call fcn.00417540
mov edx, dword [esp + 0x14]
push edx
call fcn.00417900
add esp, 4
cmp ebp, edi
je 0x47a01b
mov eax, dword [esp + 0x13c]
mov ecx, dword [ebp + 0x64]
cmp ecx, eax
jne 0x47a01b
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x68]
mov dword [ebp + 0x54], ecx
lea ecx, [esp + 0x128]
mov eax, dword [edx + 0xa0]
push eax
push esi
call fcn.0042d610
mov ecx, dword [ebp + 0x68]
push str.data
call fcn.0043e630
cmp eax, edi
je 0x47a00f
cmp dword [eax], 3
jne 0x47a00f
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
mov dword [ebp + 0x4c], edx
push esi
lea ecx, [esp + 0xcc]
mov dword [esp + 0xd4], edi
mov dword [esp + 0xcc], 6
mov dword [esp + 0xd0], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x3c], eax
call fcn.0043f9d0
mov ecx, dword [esp + 0xd0]
mov ebx, ecx
mov dword [esp + 0x1c], ebx
call fcn.0043e380
cmp ebx, edi
je 0x479f99
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x64]
cmp ecx, eax
jge 0x479f95
lea ecx, [esp + 0x2c]
call fcn.0046f2c0
and eax, 0xff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], eax
call fcn.0046f3a0
mov ebx, eax
mov eax, dword [ebp + 0x8c]
cmp eax, edi
je 0x479a49
cmp dword [esp + 0x10], 0xb
je 0x479a49
add dword [esp + 0x38], ebx
jmp 0x479a05
mov edx, dword [esp + 0x10]
lea eax, [edx - 4]
cmp eax, 7
ja case.0x479a55.10
jmp dword [eax*4 + 0x47a034]
mov ebx, 6
push esi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x84], edi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], edi
call fcn.0043fa60
mov eax, dword [esp + 0x80]
push edi
push str.Object
push eax
mov ecx, esi
call fcn.0044db60
push 0x46
lea ecx, [esp + 0x7c]
push edi
push ecx
mov ecx, dword [ebp + 0x68]
push str.data
call fcn.0043eb40
mov eax, dword [eax + 8]
push eax
mov dword [esp + 0x28], eax
mov dword [eax + 0x7c], 0x14
mov edx, dword [ebp + 0x68]
push edx
call fcn.0047a890
add esp, 8
mov eax, 1
lea ecx, [esp + 0x98]
mov dword [esp + 0x18], eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0xa4], edi
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], edi
call fcn.0043fa60
mov eax, dword [esp + 0xa0]
push edi
push str.Object
push eax
mov ecx, esi
mov ebx, eax
call fcn.0044db60
push edi
push str.clear
push str.code
mov ecx, ebx
call fcn.0043eee0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x98]
push edi
push eax
call fcn.0043fee0
lea ecx, [esp + 0x98]
mov dword [ebp + 0x70], 1
call fcn.0043f720
lea ecx, [esp + 0x78]
call fcn.0043f720
jmp 0x479a05
mov eax, 6
push 0x4af728
lea ecx, [esp + 0xf4]
mov dword [esp + 0xfc], edi
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], edi
mov dword [esp + 0x11c], edi
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], edi
call fcn.0043fbe0
lea ecx, [esp + 0xf0]
push 1
push ecx
lea ecx, [esp + 0x34]
call fcn.004728c0
mov edx, dword [esp + 0x108]
mov ecx, dword [esp + 0x24]
push edx
call fcn.0043e630
push esi
lea ecx, [esp + 0xbc]
mov ebx, eax
mov dword [esp + 0xc4], edi
mov dword [esp + 0xbc], 6
mov dword [esp + 0xc0], edi
call fcn.0043fa60
mov eax, dword [esp + 0xc0]
push edi
push str.Object
push eax
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.0044db60
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x10]
push edi
push eax
push str.name
call fcn.0043eee0
cmp ebx, edi
je 0x479c52
mov eax, dword [ebx + 0x1c]
cmp eax, edi
mov eax, str.change
je 0x479c1e
mov eax, str.reject
mov ecx, dword [esp + 0x10]
push edi
push eax
push str.code
call fcn.0043eee0
mov ecx, dword [esp + 0x10]
push edi
push edi
push ebx
push str.oldValue
call fcn.0043eb40
test byte [ebx + 0x1c], 2
je 0x479c4d
mov dword [esp + 0x18], 1
mov dword [ebx + 0x1c], edi
jmp 0x479c66
mov ecx, dword [esp + 0x10]
push edi
push str.change
push str.code
call fcn.0043eee0
lea ecx, [esp + 0xb8]
push edi
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0043fee0
mov eax, dword [esp + 0x108]
mov ebx, dword [esp + 0x24]
push edi
lea edx, [esp + 0xf4]
push 1
push edx
push eax
mov ecx, ebx
call fcn.0043eb40
cmp dword [esp + 0xf0], 3
jne 0x479cc0
mov ecx, dword [esp + 0x108]
push ecx
mov ecx, ebx
call fcn.0043e630
cmp eax, edi
je 0x479cc0
mov edx, dword [eax + 8]
push edx
push ebx
call fcn.0047a890
add esp, 8
lea ecx, [esp + 0xb8]
mov dword [ebp + 0x70], 1
call fcn.0043f720
lea ecx, [esp + 0xf0]
call fcn.0043fc30
lea ecx, [esp + 0x110]
call fcn.0043f720
lea ecx, [esp + 0xf0]
call fcn.0043f720
jmp 0x479a05
mov eax, 1
mov dword [ebp + 0x8c], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
jmp 0x479a05
mov ecx, dword [esp + 0x38]
xor edx, edx
lea eax, [ecx + ebx]
cmp ecx, eax
mov ecx, 1
mov dword [esp + 0x18], ecx
mov dword [ebp + 0x70], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
sete dl
cmp ecx, eax
mov dword [esp + 0x14], edx
jge 0x479a05
push 2
lea ecx, [esp + 0x30]
call fcn.0046f4e0
mov ecx, dword [esp + 0x24]
push eax
mov dword [esp + 0x14], eax
call fcn.0043e630
mov ebx, eax
cmp ebx, edi
je 0x479e1e
mov eax, dword [ebx + 0x1c]
cmp eax, 2
jne 0x479e12
push esi
lea ecx, [esp + 0x8c]
mov dword [esp + 0x94], edi
mov dword [esp + 0x8c], 6
mov dword [esp + 0x90], edi
call fcn.0043fa60
mov ebp, dword [esp + 0x90]
push edi
push str.Object
push ebp
mov ecx, esi
call fcn.0044db60
mov eax, dword [esp + 0x10]
push edi
push eax
push str.name
mov ecx, ebp
call fcn.0043eee0
push edi
push str.success
push str.code
mov ecx, ebp
call fcn.0043eee0
lea ecx, [esp + 0x88]
push edi
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0043fee0
test byte [ebx + 0x34], 1
je 0x479dfd
cmp dword [ebx], 6
jne 0x479dfd
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
push edx
call fcn.0043e730
jmp 0x479e00
mov dword [ebx + 0x1c], edi
lea ecx, [esp + 0x88]
call fcn.0043f720
mov ebp, dword [esp + 0x28]
jmp 0x479e1e
cmp eax, 3
jne 0x479e1e
mov dword [ebx + 0x1c], 1
mov eax, dword [esp + 0x10]
push eax
call fcn.00417900
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
add esp, 4
cmp ecx, eax
jl 0x479d42
jmp 0x479a05
push 2
lea ecx, [esp + 0x30]
call fcn.0046f4e0
mov ecx, dword [esp + 0x24]
mov ebx, eax
push ebx
mov dword [esp + 0x14], ebx
call fcn.0043e630
cmp eax, edi
je 0x479f0c
mov edx, dword [eax + 0x1c]
mov ecx, dword [esp + 0x24]
push ebx
mov dword [esp + 0x24], edx
call fcn.0043e730
test eax, eax
je 0x479f0c
push esi
lea ecx, [esp + 0xac]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xac], 6
mov dword [esp + 0xb0], edi
call fcn.0043fa60
mov ebx, dword [esp + 0xb0]
push edi
push str.Object
push ebx
mov ecx, esi
call fcn.0044db60
mov eax, dword [esp + 0x10]
push edi
push eax
push str.name
mov ecx, ebx
call fcn.0043eee0
push edi
push str.delete
push str.code
mov ecx, ebx
call fcn.0043eee0
lea ecx, [esp + 0xa8]
push edi
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0043fee0
test byte [esp + 0x20], 2
je 0x479efc
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xa8]
call fcn.0043f720
mov ebx, dword [esp + 0x10]
push ebx
call fcn.00417900
add esp, 4
mov dword [ebp + 0x70], 1
jmp 0x479a05
push 2
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 1
call fcn.0046f4e0
push 2
lea ecx, [esp + 0x30]
mov ebx, eax
call fcn.0046f4e0
push edi
push edi
push eax
push ebx
mov ecx, ebp
mov dword [esp + 0x30], eax
call fcn.0047c5a0
push ebx
call fcn.00417900
mov edx, dword [esp + 0x24]
push edx
call fcn.00417900
add esp, 8
jmp 0x479a05
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 0x68]
push 0x4a7604
add ecx, eax
push ebx
push ecx
push edx
push esi
call fcn.00481170
mov eax, dword [esp + 0x4c]
add esp, 0x14
add eax, ebx
mov dword [esp + 0x38], eax
jmp 0x479a05
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.0043e330
test eax, eax
jne 0x479faa
cmp dword [esp + 0x14], edi
je 0x479ff0
lea eax, [esp + 0xc8]
mov ecx, esi
push eax
call fcn.0044b070
mov ecx, dword [ebp + 0x68]
push edi
push edi
push edi
push 1
push str.onSync
push edi
push ecx
mov ecx, esi
call fcn.0044ce80
test eax, eax
je 0x479fdc
push 1
mov ecx, esi
call fcn.004462f0
mov ecx, esi
call fcn.0044b1a0
test byte [ebp + 0x50], 1
je 0x479ff0
mov dword [ebp + 0x70], 1
cmp dword [esp + 0x18], edi
je 0x479ffc
mov dword [ebp + 0x88], edi
mov ecx, ebx
call fcn.0043e390
lea ecx, [esp + 0xc8]
call fcn.0043f720
lea ecx, [esp + 0x128]
call fcn.0042d6d0
lea ecx, [esp + 0x2c]
call fcn.00471ae0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret 0xc