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

Disassembly:
sub esp, 0xc8
push ebx
push ebp
push esi
mov esi, dword [esp + 0xd8]
push edi
push str.Update
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.CDAOContext.0
mov dword [esp + 0x18], esi
call fcn.10009750
mov eax, dword [esp + 0x14]
xor ebp, ebp
mov dword [esp + 0x1c], vtable.CSafeArray.0
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], ebp
mov eax, dword [eax + 8]
cmp eax, ebp
je 0x1003689e
cmp dword [eax + 0x10], 0x25
jge 0x1003689e
mov ecx, dword [esi + 8]
cmp dword [ecx + 0x2a0], 0xffffffff
jne 0x100368c5
push 1
push ebp
push eax
push 0xffff8abf
call fcn.1005a550
cmp eax, ebp
je 0x10036d6f
movzx eax, ax
or eax, 0x800a0000
mov dword [esp + 0x18], eax
jmp 0x10036d73
push 0x47
mov ecx, esi
call fcn.1002b5b0
cmp eax, ebp
mov dword [esp + 0x18], eax
jl 0x10036d73
mov eax, dword [esi + 0x188]
mov edx, dword [eax]
mov edx, dword [edx + 0x54]
lea ecx, [esp + 0x6c]
push ecx
push eax
call edx
mov edi, dword [esp + 0xe0]
cmp edi, 4
je 0x1003693e
cmp edi, 1
je 0x1003693e
cmp edi, 2
je 0x1003693e
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov dword [esp + 0x18], 0x80070057
je 0x10036930
mov eax, dword [eax + 8]
cmp eax, ebp
je 0x10036930
push 2
push 0x80070057
push eax
call fcn.10019ba0
mov dword [esp + 0x18], eax
jmp 0x10036d73
mov eax, 0x80070057
mov dword [esp + 0x18], eax
jmp 0x10036d73
mov eax, dword [esi + 8]
push 1
push eax
call fcn.10055ad0
cmp edi, 1
je 0x10036973
cmp eax, ebp
je 0x10036973
mov ecx, dword [eax + 0x20]
cmp dword [ecx + 0x288], 3
je 0x10036973
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
push 1
push ebp
push eax
push 0xfffff88e
jmp 0x100368a7
mov eax, dword [esp + 0x6c]
cmp eax, 1
mov dword [esp + 0x20], 1
jne 0x10036adf
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.100285e0
mov ebx, dword [esp + 0x24]
push ebp
sub esp, 0x20
mov ecx, esp
push 6
call fcn.10013a30
sub esp, 0x20
mov ecx, esp
push 0x11
push ebx
call fcn.10013a50
push 6
push 6
push str.Update
push esi
lea ecx, [esp + 0xc4]
call fcn.1001e180
cmp dword [esp + 0x84], ebp
jne 0x10036acd
mov eax, dword [esi + 0x188]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xac]
call eax
push eax
lea ecx, [esp + 0x74]
call fcn.1000c3f0
test eax, eax
jne 0x10036acd
cmp edi, 1
mov dword [esi + 0x15c], ebp
je 0x10036acd
lea ecx, [esp + 0x2c]
call fcn.100139b0
lea ecx, [esp + 0x4c]
call fcn.100139b0
xor ecx, ecx
cmp edi, 2
sete cl
push ecx
lea ecx, [esp + 0x30]
call fcn.10013c10
mov edx, dword [esp + 0xe4]
push edx
lea ecx, [esp + 0x50]
call fcn.10013c10
mov edx, dword [esp + 0x5c]
mov esi, dword [esi + 0x188]
mov ecx, dword [esi]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 0xc], edx
mov eax, dword [ecx + 0xc8]
push esi
call eax
push eax
lea ecx, [esp + 0x74]
call fcn.1000c3f0
test eax, eax
lea ecx, [esp + 0x4c]
je 0x10036abf
mov esi, dword [esp + 0x78]
call fcn.10014290
lea ecx, [esp + 0x2c]
call fcn.10014290
lea ecx, [esp + 0x70]
call fcn.1001a3e0
jmp 0x10036d75
call fcn.10014290
lea ecx, [esp + 0x2c]
call fcn.10014290
mov esi, dword [esp + 0x78]
lea ecx, [esp + 0x70]
call fcn.1001a3e0
jmp 0x10036d75
cmp eax, 2
jne 0x10036c8a
push ebp
sub esp, 0x20
mov ecx, esp
push 5
call fcn.10013a30
sub esp, 0x20
mov ecx, esp
call fcn.100139b0
push 6
push 6
push str.Update
push esi
lea ecx, [esp + 0xc4]
call fcn.1001e180
cmp dword [esp + 0x84], ebp
jne 0x10036acd
mov eax, dword [esi + 0x188]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xac]
push eax
call edx
push eax
lea ecx, [esp + 0x74]
call fcn.10007380
test eax, eax
jne 0x10036acd
cmp edi, 1
mov dword [esi + 0x15c], ebp
je 0x10036c1b
lea ecx, [esp + 0x4c]
call fcn.100139b0
lea ecx, [esp + 0x2c]
call fcn.100139b0
xor eax, eax
cmp edi, 2
sete al
lea ecx, [esp + 0x4c]
push eax
call fcn.10013c10
mov ecx, dword [esp + 0xe4]
push ecx
lea ecx, [esp + 0x30]
call fcn.10013c10
mov edi, dword [esp + 0x3c]
mov ecx, dword [esi + 0x188]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x50]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x54]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x58]
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x6c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x80]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x84]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x88]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0xc8]
push ecx
call eax
push eax
lea ecx, [esp + 0x74]
call fcn.1000c3f0
test eax, eax
lea ecx, [esp + 0x2c]
je 0x10036c0d
mov esi, dword [esp + 0x78]
call fcn.10014290
lea ecx, [esp + 0x4c]
call fcn.10014290
lea ecx, [esp + 0x70]
call fcn.1001a3e0
jmp 0x10036d75
call fcn.10014290
lea ecx, [esp + 0x4c]
call fcn.10014290
mov ecx, dword [esi + 8]
cmp dword [ecx + 0x2f4], ebp
je 0x10036c49
lea edx, [esp + 0x24]
push edx
push esi
call fcn.10030610
mov esi, eax
cmp esi, ebp
mov dword [esp + 0x78], esi
jge 0x10036c55
lea ecx, [esp + 0x70]
call fcn.1001a3e0
jmp 0x10036d75
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.100285e0
mov ecx, dword [esp + 0x24]
push 0x11
push ecx
lea ecx, [esp + 0x34]
call fcn.10013a50
push eax
lea ecx, [esp + 0x74]
call fcn.100284e0
lea ecx, [esp + 0x2c]
call fcn.10014290
mov esi, dword [esp + 0x78]
lea ecx, [esp + 0x70]
call fcn.1001a3e0
jmp 0x10036d75
cmp edi, 1
je 0x10036d44
lea ecx, [esp + 0x4c]
call fcn.100139b0
lea ecx, [esp + 0x2c]
call fcn.100139b0
xor edx, edx
cmp edi, 2
sete dl
lea ecx, [esp + 0x4c]
push edx
call fcn.10013c10
mov eax, dword [esp + 0xe4]
push eax
lea ecx, [esp + 0x30]
call fcn.10013c10
mov edx, dword [esp + 0x3c]
mov esi, dword [esi + 0x188]
mov ecx, dword [esi]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x6c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x84]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x88]
mov dword [eax + 0xc], edx
mov eax, dword [ecx + 0xc8]
push esi
call eax
push eax
lea ecx, [esp + 0x14]
call fcn.1000c3f0
lea ecx, [esp + 0x2c]
call fcn.10014290
lea ecx, [esp + 0x4c]
call fcn.10014290
mov esi, dword [esp + 0x18]
jmp 0x10036d75
mov eax, dword [esi + 0x188]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xac]
push eax
call edx
push eax
lea ecx, [esp + 0x14]
call fcn.1000c3f0
test eax, eax
jne 0x10036d69
mov dword [esi + 0x15c], ebp
mov esi, dword [esp + 0x18]
jmp 0x10036d75
mov eax, dword [esp + 0x18]
mov esi, eax
lea ecx, [esp + 0x1c]
call fcn.10013dc0
lea ecx, [esp + 0x10]
call fcn.100097c0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret 0xc