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

Disassembly:
push 0xffffffffffffffff
push 0x455d7f
mov eax, dword fs:[0]
push eax
mov eax, 0x1078
call fcn.00441c60
mov eax, dword [0x46bd84]
xor eax, esp
mov dword [esp + 0x1074], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46bd84]
xor eax, esp
push eax
lea eax, [esp + 0x108c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x109c]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], vtable.CArray_class_CRecordField__class_CRecordField__.0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x10a4]
lea ecx, [esp + 0x20]
push ecx
push ebp
mov dword [esp + 0x109c], ebx
call fcn.00413960
mov edi, dword [esp + 0x10a8]
mov eax, dword [0x47012c]
mov esi, edi
and eax, 0x3ff
add esp, 8
and esi, 0xff000000
and edi, 0xffffff
cmp ax, 1
je 0x41256b
cmp ax, 0xd
jne 0x412571
or edi, 0x180000
push 0xffe
lea eax, [esp + 0x8e]
xor edx, edx
push ebx
push eax
mov word [esp + 0x94], dx
call fcn.0043f900
add esp, 0xc
mov dword [esp + 0x38], 0x800
call fcn.0042d67b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4125b3
push 0x80004005
call fcn.00401f60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x1094], 1
cmp dword [esp + 0x18], ebx
jne 0x412613
add eax, 0xfffffff0
mov byte [esp + 0x1094], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4125f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x20]
mov dword [esp + 0x1094], 0xffffffff
call fcn.00414480
mov eax, 1
jmp 0x413166
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x184]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
push ebp
push edi
push esi
mov dword [esp + 0x50], 0
call edx
cmp dword [esp + 0x3c], 0
mov ebx, eax
je 0x412682
mov byte [esp + 0x1094], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412667
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x20]
mov dword [esp + 0x1094], 0xffffffff
call fcn.00414480
mov eax, ebx
jmp 0x413166
cmp esi, 0x7000000
jg 0x4127ec
je 0x412750
cmp esi, 0x2000000
jg 0x412718
je 0x4126b1
test esi, esi
je 0x4126ae
cmp esi, 0x1000000
jne 0x41282c
or edi, 0x10
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x8c]
push edx
push ebp
push 0
call sub.msi.dll_MsiApplyPatchW
mov ebx, dword [esp + 0x18]
lea esi, [esp + 0x1c]
mov eax, ebx
call fcn.00414a90
mov eax, dword [eax]
mov ecx, dword [ebx + 0x20]
push edi
push eax
lea eax, [esp + 0x90]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, esi
mov edi, eax
call fcn.00402040
lea ecx, [esp + 0x14]
call fcn.00402040
lea esi, [esp + 0x20]
mov dword [esp + 0x1094], 0xffffffff
call fcn.00414480
mov eax, edi
jmp 0x413166
cmp esi, 0x3000000
je 0x4126b1
cmp esi, 0x6000000
jne 0x41282c
lea ecx, [esp + 0x14]
call fcn.00402040
lea esi, [esp + 0x20]
mov dword [esp + 0x1094], 0xffffffff
call fcn.00414480
xor eax, eax
jmp 0x413166
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x8c]
push edx
push ebp
push 0
call sub.msi.dll_MsiApplyPatchW
mov ebx, dword [esp + 0x18]
lea esi, [esp + 0x64]
mov eax, ebx
call fcn.00414a90
mov eax, dword [eax]
mov ecx, dword [ebx + 0x20]
or edi, 0x30
push edi
push eax
lea eax, [esp + 0x90]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4127af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, 1
cmp esi, 2
je 0x4127bb
mov edi, esi
mov byte [esp + 0x1094], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4126fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4126fd
cmp esi, 0xe000000
jg 0x412820
je 0x412812
cmp esi, 0xc000000
je 0x412808
cmp esi, 0xd000000
je 0x412812
jmp 0x41282c
mov dword [0x470124], 0
lea ecx, [esp + 0x14]
call fcn.00402040
jmp 0x4125f5
cmp esi, 0x19000000
je 0x413144
mov eax, dword [esp + 0x28]
cmp eax, 2
mov edi, eax
mov dword [esp + 0x34], edi
jl 0x412812
cmp esi, 0xa000000
jg 0x412f39
je 0x412d83
cmp esi, 0x8000000
jg 0x412b4d
je 0x412aab
cmp esi, 0x4000000
je 0x412812
cmp esi, 0x5000000
jne 0x41272c
test eax, eax
jle 0x412a91
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 8]
push edx
lea eax, [esp + 0x18]
push 0x45f3e4
push eax
call fcn.0040f030
mov ebp, 2
add esp, 0xc
cmp edi, ebp
jle 0x412a3e
mov eax, dword [esp + 0x24]
mov esi, 0x20
mov bl, 9
lea ecx, [ecx]
test esi, esi
jl 0x412a91
cmp ebp, dword [esp + 0x28]
jge 0x412a91
cmp dword [eax + esi + 4], 2
jne 0x412933
lea ecx, [eax + esi + 8]
push ecx
lea ecx, [esp + 0x44]
call fcn.00402000
mov edi, eax
push 0x45f3ec
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1098], 2
call fcn.00401ea0
push edi
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x10a0], 3
call fcn.00401540
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1098], 4
call fcn.0040d610
lea ecx, [esp + 0x5c]
call fcn.00402040
lea ecx, [esp + 0x48]
call fcn.00402040
lea ecx, [esp + 0x40]
jmp 0x412a1b
cmp dword [eax + esi + 4], 1
jne 0x412a30
lea ecx, [esp + 0x1c]
call fcn.0040f140
mov byte [esp + 0x1094], 5
cmp ebp, dword [esp + 0x28]
jge 0x412a91
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + esi + 0xc]
push ecx
lea edx, [esp + 0x20]
push 0x45f3f4
push edx
call fcn.0040f030
lea eax, [ebp - 1]
add esp, 0xc
test eax, eax
jl 0x412a91
cmp eax, dword [esp + 0x28]
jge 0x412a91
mov eax, dword [esp + 0x24]
lea ecx, [eax + esi - 8]
push ecx
lea ecx, [esp + 0x48]
call fcn.00402000
mov edi, eax
push 0x45f3ec
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1098], 6
call fcn.00401ea0
push edi
push eax
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x10a0], 7
call fcn.00401540
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x10ac], 8
call fcn.00401540
add esp, 0x18
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1098], bl
call fcn.0040d610
lea ecx, [esp + 0x50]
call fcn.00402040
lea ecx, [esp + 0x60]
call fcn.00402040
lea ecx, [esp + 0x58]
call fcn.00402040
lea ecx, [esp + 0x44]
call fcn.00402040
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1094], 1
call fcn.00402040
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
add ebp, 2
add esi, 0x20
cmp ebp, edi
jl 0x4128b0
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x4c]
mov eax, edi
call fcn.00414a90
mov eax, dword [eax]
mov ecx, dword [edi + 0x20]
push 0x32
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x4c]
mov esi, eax
call fcn.00402040
cmp esi, 4
jne 0x412a96
mov edx, dword [edi]
xor eax, eax
mov dword [0x470120], eax
mov dword [0x47011c], eax
push eax
mov eax, dword [edx + 0x174]
mov ecx, edi
call eax
mov edi, esi
jmp 0x4126f4
call fcn.0042d54b
mov edi, 2
cmp esi, 3
je 0x4126f4
mov edi, esi
jmp 0x4126f4
cmp eax, 2
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
jle 0x412ad6
cmp dword [ecx + 0x24], 0
je 0x412ad6
mov eax, dword [ecx + 0x28]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x17c]
mov ecx, esi
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
cmp edi, 3
jle 0x412af6
cmp eax, 3
jle 0x412a91
cmp dword [ecx + 0x34], 0
je 0x412af6
add ecx, 0x38
push ecx
mov ecx, 0x470220
call fcn.0040f0a0
jmp 0x412b00
mov ecx, 0x470220
call fcn.00401b90
mov edx, dword [esi]
mov eax, dword [edx + 0x180]
push 0x45e5cc
mov ecx, esi
call eax
cmp dword [esp + 0x28], 1
jle 0x412a91
mov ecx, dword [esp + 0x24]
add ecx, 0x18
push str.RollbackCleanup
push ecx
call fcn.0040df10
add esp, 8
test al, al
je 0x412b3f
mov dword [0x470100], 0
lea ecx, [esp + 0x14]
call fcn.00402040
jmp 0x4125f5
cmp esi, 0x9000000
jne 0x41272c
cmp dword [0x470118], 0
je 0x412812
mov edx, dword [0x470220]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jne 0x412b96
cmp eax, 1
jle 0x412a91
mov eax, dword [esp + 0x24]
add eax, 0x18
push eax
lea ecx, [esp + 0x18]
call fcn.0040f0a0
mov esi, dword [esp + 0x14]
jmp 0x412d4f
push 0x470220
lea ecx, [esp + 0x18]
call fcn.0040f0a0
lea ecx, [esp + 0x1c]
call fcn.0040f140
mov byte [esp + 0x1094], 0xa
mov esi, dword [esp + 0x14]
mov ebx, 1
cmp dword [esp + 0x34], ebx
jle 0x412c9b
lea edi, [ebx + 0xf]
jmp 0x412bd0
push ebx
lea ecx, [esp + 0x20]
push str.__d_
push ecx
call fcn.0040f030
mov ebp, dword [esp + 0x28]
add esp, 0xc
test ebp, ebp
je 0x412c8d
cmp dword [esi - 0xc], 0
jl 0x412c8d
push ebp
push esi
call fcn.0043e12c
add esp, 8
test eax, eax
je 0x412c8d
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x412c8d
test edi, edi
jl 0x412a91
cmp ebx, dword [esp + 0x28]
jge 0x412a91
mov ecx, dword [esp + 0x24]
cmp dword [ecx + edi + 4], 2
jne 0x412c37
mov ecx, dword [ecx + edi + 8]
jmp 0x412c7d
xor eax, eax
push 0xa
push 0xf
lea edx, [esp + 0x70]
mov word [esp + 0x70], ax
mov dword [esp + 0x72], eax
mov dword [esp + 0x76], eax
mov dword [esp + 0x7a], eax
mov dword [esp + 0x7e], eax
mov dword [esp + 0x82], eax
mov dword [esp + 0x86], eax
mov dword [esp + 0x8a], eax
mov eax, dword [ecx + edi + 0xc]
push edx
push eax
call fcn.0043e98c
add esp, 0x10
lea ecx, [esp + 0x68]
push ecx
push ebp
lea edx, [esp + 0x1c]
push edx
call fcn.0040d8a0
mov esi, dword [esp + 0x14]
inc ebx
add edi, 0x10
cmp ebx, dword [esp + 0x34]
jl 0x412bd0
mov bl, 0xb
lea ecx, [ecx]
cmp dword [esi - 0xc], 0
jl 0x412d3e
push 0x45f428
push esi
call fcn.0043e12c
add esp, 8
test eax, eax
je 0x412d3e
sub eax, esi
sar eax, 1
mov edi, eax
cmp edi, 0xffffffff
je 0x412d3e
cmp dword [esi - 0xc], 0
jl 0x412d3e
push 0x45f42c
push esi
call fcn.0043e12c
add esp, 8
test eax, eax
je 0x412ca0
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x412ca0
sub eax, edi
inc eax
push eax
push edi
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x20]
call fcn.0040dbb0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1098], bl
call fcn.0040f0a0
lea ecx, [esp + 0x54]
mov byte [esp + 0x1094], 0xa
call fcn.00402040
mov ecx, dword [esp + 0x1c]
push 0x45e5cc
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0040d8a0
mov esi, dword [esp + 0x14]
jmp 0x412ca0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1094], 1
call fcn.00402040
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
mov edx, dword [eax + 0x180]
push esi
mov ecx, edi
call edx
cmp dword [0x470100], 0
je 0x412d75
mov eax, dword [edi]
mov edx, dword [eax + 0x170]
mov ecx, edi
call edx
lea ecx, [esp + 0x14]
call fcn.00402040
jmp 0x4125f5
mov ebp, 1
cmp eax, ebp
jle 0x412a91
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x1c]
sub ecx, 0
je 0x412ea3
sub ecx, ebp
je 0x412def
sub ecx, ebp
jne 0x412e46
cmp dword [0x470118], ecx
je 0x412e46
cmp dword [0x46d31c], ecx
je 0x412dce
cmp eax, 2
jle 0x412a91
mov eax, dword [edx + 0x2c]
jmp 0x412ddc
cmp eax, 2
jle 0x412a91
mov eax, dword [edx + 0x2c]
neg eax
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x178]
mov ecx, esi
call eax
jmp 0x412e4a
cmp eax, 3
jle 0x412a91
cmp dword [edx + 0x3c], 0
je 0x412e3c
cmp dword [0x46d31c], 0
je 0x412e15
cmp eax, 2
jle 0x412a91
mov eax, dword [edx + 0x2c]
jmp 0x412e23
cmp eax, 2
jle 0x412a91
mov eax, dword [edx + 0x2c]
neg eax
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x16c]
mov ecx, esi
call eax
mov dword [0x470100], ebp
jmp 0x412e4a
mov dword [0x470100], 0
mov esi, dword [esp + 0x18]
cmp dword [0x470124], ebp
jne 0x413123
push 2
mov ecx, esi
call fcn.0042e7e1
mov ecx, eax
call fcn.0042e97a
test eax, eax
je 0x412e7c
push 0
push 2
mov ecx, esi
call fcn.0042e7e1
mov ecx, eax
call fcn.0042e995
lea ecx, [esp + 0x14]
call fcn.00402040
lea esi, [esp + 0x20]
mov dword [esp + 0x1094], 0xffffffff
call fcn.00414480
mov eax, 2
jmp 0x413166
cmp eax, 2
jle 0x412a91
cmp eax, 3
mov ecx, dword [edx + 0x2c]
mov dword [0x470118], ecx
jle 0x412ec9
xor eax, eax
cmp dword [edx + 0x3c], eax
sete al
mov dword [0x46d31c], eax
jmp 0x412ece
mov eax, dword [0x46d31c]
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
neg eax
sbb eax, eax
not eax
and eax, ecx
push ecx
mov dword [0x47011c], eax
mov eax, dword [edx + 0x168]
push 0
mov ecx, esi
call eax
cmp dword [0x470120], 0
mov eax, dword [0x470118]
jne 0x412f01
mov eax, dword [0x47011c]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x174]
mov ecx, esi
call eax
cmp edi, 5
jne 0x412e4a
cmp dword [esp + 0x28], 4
jle 0x412a91
mov edx, dword [esp + 0x24]
xor ecx, ecx
cmp dword [edx + 0x4c], ebp
sete cl
mov dword [0x470120], ecx
jmp 0x412e4a
cmp esi, 0xb000000
je 0x413000
cmp esi, 0x1a000000
je 0x412f7e
cmp esi, 0x1b000000
jne 0x41272c
cmp eax, 3
jle 0x412a91
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x3c]
mov ecx, dword [esp + 0x18]
or dword [ecx + 0x78], eax
lea ecx, [esp + 0x14]
call fcn.00402040
jmp 0x4125f5
mov ebp, 1
cmp eax, ebp
mov dword [0x470114], ebp
jle 0x412a91
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x18]
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.00414a60
movzx ecx, word [0x47012c]
mov eax, dword [0x470128]
mov edx, dword [edi]
mov edx, dword [edx + 0x164]
push eax
push ecx
mov ecx, edi
call edx
push ebp
push 2
mov ecx, edi
call fcn.0042e7e1
mov ecx, eax
call fcn.0042e995
mov eax, dword [edi]
mov edx, dword [eax + 0x174]
xor esi, esi
push esi
mov ecx, edi
call edx
mov dword [0x470118], esi
mov dword [0x47011c], esi
mov dword [0x46d31c], ebp
mov dword [0x470120], esi
mov dword [0x470124], esi
jmp 0x413123
mov ebp, 1
cmp eax, ebp
jle 0x412a91
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x1c], 2
jne 0x41303b
cmp eax, 2
jle 0x412a91
mov ecx, dword [ecx + 0x2c]
push ecx
mov ecx, dword [esp + 0x1c]
push 2
call fcn.0042e7e1
mov ecx, eax
call fcn.0042e995
jmp 0x413123
cmp eax, 3
je 0x413085
cmp eax, 4
jne 0x413123
cmp dword [ecx + 0x34], ebp
jne 0x413085
cmp dword [ecx + 0x3c], 0x4e7
je 0x413064
cmp dword [ecx + 0x3c], 0x4e8
je 0x413064
xor eax, eax
jmp 0x413066
mov eax, ebp
mov edi, dword [esp + 0x18]
push eax
push edi
call fcn.00414230
add esp, 8
cmp dword [esp + 0x28], 2
jle 0x412a91
mov ecx, dword [esp + 0x24]
jmp 0x413089
mov edi, dword [esp + 0x18]
cmp dword [ecx + 0x24], ebp
jne 0x4130f0
mov cx, word [ecx + 0x2c]
movzx eax, cx
push eax
push edi
mov word [0x47012c], cx
call fcn.00413d90
lea ecx, [esp + 0x34]
call fcn.0040f140
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
mov byte [esp + 0x1098], 0xc
call fcn.0043856f
mov edx, dword [esp + 0x34]
cmp dword [edx - 0xc], 0
jne 0x4130e5
mov ecx, dword [0x470128]
movzx edx, word [0x47012c]
mov eax, dword [edi]
mov eax, dword [eax + 0x164]
push ecx
push edx
mov ecx, edi
call eax
lea ecx, [esp + 0x34]
call fcn.00402040
jmp 0x413123
cmp dword [ecx + 0x24], 2
jne 0x413123
cmp dword [0x470114], 0
jne 0x413123
mov esi, dword [ecx + 0x28]
mov ecx, edi
call fcn.00414a60
movzx ecx, word [0x47012c]
mov eax, dword [0x470128]
mov edx, dword [edi]
mov edx, dword [edx + 0x164]
push eax
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0x14]
call fcn.00402040
lea esi, [esp + 0x20]
mov dword [esp + 0x1094], 0xffffffff
call fcn.00414480
mov eax, ebp
jmp 0x413166
lea ecx, [esp + 0x14]
call fcn.00402040
lea esi, [esp + 0x20]
mov dword [esp + 0x1094], 0xffffffff
call fcn.00414480
mov eax, 7
mov ecx, dword [esp + 0x108c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1074]
xor ecx, esp
call fcn.0043d85c
add esp, 0x1084
ret 0xc