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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b60b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x560
mov eax, dword [0x4dd040]
push ebx
push esi
push edi
push str.ProviderMicrosoft.Jet.OLEDB.4.0_data_Source
lea ecx, [esp + 0x34]
mov dword [esp + 0x568], eax
call section..text
lea eax, [esp + 0x368]
xor ebx, ebx
push eax
mov dword [esp + 0x578], ebx
call fcn.004036f0
add esp, 4
lea ecx, [esp + 0x368]
push ecx
lea ecx, [esp + 0x34]
call fcn.00401050
push str._Persist_Security_InfoFalse_Jet_OLEDB:Database_PasswordHCbg3721k
lea ecx, [esp + 0x34]
call fcn.00401050
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov edi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [esp + 0x14]
push eax
push 0x4c7074
push 0x17
push ebx
push 0x4c7094
mov byte [esp + 0x588], 3
call edi
cmp eax, ebx
jl 0x409a43
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ole32.dll_OleRun]
mov esi, eax
cmp esi, ebx
jl 0x409a35
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x4c6ec8
push eax
call dword [edx]
mov esi, eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp esi, ebx
jge 0x409a47
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x409a55
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp + 0x14]
push edx
push 0x4c7074
push 0x17
push ebx
push 0x4c7084
call edi
cmp eax, ebx
jl 0x409aa1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ole32.dll_OleRun]
mov esi, eax
cmp esi, ebx
jl 0x409a93
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x4c6ed8
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x409aa5
mov dword [esp + 0xc], ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4c6e60
call fcn.00404ae0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x4c6e60
mov byte [esp + 0x584], 4
call fcn.00404ae0
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x588], 5
call fcn.00404ae0
cmp dword [esp + 0x20], ebx
mov byte [esp + 0x584], 6
jne 0x409b01
push 0x80004003
call fcn.004b50d0
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x584], 3
call fcn.00405310
mov ecx, 0x3a
mov esi, str.SELECT_top_1500_Seat.seatNo_as_seatNo_Seat.IP_as_IP_Seat.startTime_as_startTime__Card.ID_as_ID__Card.LabelNub_as_LabelNub__Card.Name_as_Name__Card.Sex_as_Sex__Card.Certificate_as_Certificate__Card.CertificateNo_as_CertificateNo__FROM
lea edi, [esp + 0x170]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, 0x513dd0
mov dword [esp + 0x14], ebx
movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x409b33
lea edi, [esp + 0x170]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x409b46
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x170]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x409b64
mov ecx, 0x24
mov esi, str._INNER_JOIN_Card_ON_Seat.OnCardNo__Card.ID_where_Seat.IP__
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [esp + 0x170]
push eax
movsb byte es:[edi], byte [esi]
mov word [esp + 0x64], 8
call fcn.004b5150
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x10]
test eax, eax
mov bl, 7
mov byte [esp + 0x574], bl
mov word [esp + 0x50], 9
mov dword [esp + 0x58], eax
jne 0x409bbb
push 0x80004003
call fcn.004b50d0
jmp 0x409bc1
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esp + 0xc]
xor edi, edi
cmp eax, edi
mov byte [esp + 0x574], 8
jne 0x409bdd
push 0x80004003
call fcn.004b50d0
mov ecx, dword [esp + 0xc]
push 1
push 3
push 2
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x70]
push eax
call fcn.00403d40
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x578], bl
call esi
cmp eax, edi
jge 0x409c14
push eax
call fcn.004b50d0
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x578], 3
call esi
cmp eax, edi
jge 0x409c2d
push eax
call fcn.004b50d0
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x409c43
push 0x80004003
call fcn.004b50d0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov esi, eax
mov dword [esp + 0x24], edi
call dword [ecx + 0x50]
cmp eax, edi
jge 0x409c64
push 0x4c6e40
push esi
push eax
call fcn.004b50e0
cmp word [esp + 0x1c], di
jne 0x40a8e6
nop
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x409c86
push 0x80004003
call fcn.004b50d0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov esi, eax
mov dword [esp + 0x24], edi
call dword [ecx + 0x50]
cmp eax, edi
jge 0x409ca7
push 0x4c6e40
push esi
push eax
call fcn.004b50e0
cmp word [esp + 0x1c], di
jne 0x40a8e6
push str.seatNo
mov word [esp + 0x64], 8
call fcn.004b5150
mov dword [esp + 0x68], eax
cmp dword [esp + 0xc], edi
mov byte [esp + 0x574], 9
jne 0x409cdf
push 0x80004003
call fcn.004b50d0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x114]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00403e70
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x57c], 0xa
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, edi
jge 0x409d13
push eax
call fcn.004b50d0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x110]
push eax
mov byte [esp + 0x578], 9
call esi
cmp eax, edi
jge 0x409d35
push eax
call fcn.004b50d0
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0x578], 3
call esi
cmp eax, edi
jge 0x409d4e
push eax
call fcn.004b50d0
cmp word [esp + 0x20], 1
je 0x409df8
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x4c]
call fcn.00405240
mov esi, dword [eax]
cmp esi, edi
mov byte [esp + 0x574], 0xb
je 0x409d8b
cmp dword [esi + 4], edi
jne 0x409d86
mov eax, dword [esi]
push eax
call fcn.004b52b0
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
jmp 0x409d8d
xor ecx, ecx
mov ebx, dword [esp + 0x14]
imul ebx, ebx, 0x94
lea edx, [ebx + 0x4dd268]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x409da0
mov esi, dword [esp + 0x48]
cmp esi, edi
mov byte [esp + 0x574], 3
je 0x409e0c
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x409df2
cmp esi, edi
je 0x409df2
mov eax, dword [esi]
cmp eax, edi
je 0x409dd9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409de9
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
push esi
call sub.MFC71.DLL_operator_delete
add esp, 4
mov dword [esp + 0x48], edi
jmp 0x409e0c
mov ebx, dword [esp + 0x14]
imul ebx, ebx, 0x94
mov dword [ebx + 0x4dd268], 0x393939
push 0x4c7508
mov word [esp + 0x54], 8
call fcn.004b5150
mov dword [esp + 0x58], eax
cmp dword [esp + 0xc], edi
mov byte [esp + 0x574], 0xc
jne 0x409e39
push 0x80004003
call fcn.004b50d0
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x164]
push eax
call fcn.00403e70
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x57c], 0xd
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, edi
jge 0x409e6d
push eax
call fcn.004b50d0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x160]
push edx
mov byte [esp + 0x578], 0xc
call esi
cmp eax, edi
jge 0x409e8f
push eax
call fcn.004b50d0
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x578], 3
call esi
cmp eax, edi
jge 0x409ea8
push eax
call fcn.004b50d0
cmp word [esp + 0x20], 1
je 0x40a01f
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x50]
call fcn.00405240
mov esi, dword [eax]
cmp esi, edi
mov byte [esp + 0x574], 0xe
je 0x409ee5
cmp dword [esi + 4], edi
jne 0x409ee0
mov edx, dword [esi]
push edx
call fcn.004b52b0
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
jmp 0x409ee7
xor ecx, ecx
lea edx, [ebx + 0x4dd1e0]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x409ef0
mov esi, dword [esp + 0x4c]
cmp esi, edi
mov byte [esp + 0x574], 3
je 0x409f46
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x409f42
cmp esi, edi
je 0x409f42
mov eax, dword [esi]
cmp eax, edi
je 0x409f29
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409f39
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
push esi
call sub.MFC71.DLL_operator_delete
add esp, 4
mov dword [esp + 0x4c], edi
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push str.startTime
mov word [esp + 0x74], 8
call fcn.004b5150
mov dword [esp + 0x78], eax
cmp dword [esp + 0xc], edi
mov byte [esp + 0x574], 0xf
jne 0x409f79
push 0x80004003
call fcn.004b50d0
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xe4]
push edx
call fcn.00403e70
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x57c], 0x10
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, edi
jge 0x409fad
push eax
call fcn.004b50d0
lea ecx, [esp + 0xe0]
push ecx
mov byte [esp + 0x578], 0xf
call esi
cmp eax, edi
jge 0x409fc9
push eax
call fcn.004b50d0
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x578], 3
call esi
cmp eax, edi
jge 0x409fe2
push eax
call fcn.004b50d0
cmp word [esp + 0x20], 1
je 0x40a17f
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
call fcn.00405240
mov esi, dword [eax]
cmp esi, edi
mov byte [esp + 0x574], 0x11
je 0x40a03c
cmp dword [esi + 4], edi
jne 0x40a01a
mov ecx, dword [esi]
push ecx
call fcn.004b52b0
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
jmp 0x40a03e
mov dx, word [0x4c7070]
mov al, byte [0x4c7072]
lea ecx, [ebx + 0x4dd1e0]
mov word [ecx], dx
mov byte [ecx + 2], al
jmp 0x409f4c
xor ecx, ecx
lea edx, [ebx + 0x4dd24e]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x40a044
mov esi, dword [esp + 0x3c]
cmp esi, edi
mov byte [esp + 0x574], 3
je 0x40a09a
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x40a096
cmp esi, edi
je 0x40a096
mov eax, dword [esi]
cmp eax, edi
je 0x40a07d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40a08d
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
push esi
call sub.MFC71.DLL_operator_delete
add esp, 4
mov dword [esp + 0x3c], edi
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x4c732c
mov word [esp + 0xc4], 8
call fcn.004b5150
mov dword [esp + 0xc8], eax
cmp dword [esp + 0xc], edi
mov byte [esp + 0x574], 0x12
jne 0x40a0d3
push 0x80004003
call fcn.004b50d0
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x154]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00403e70
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x57c], 0x13
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, edi
jge 0x40a10a
push eax
call fcn.004b50d0
lea eax, [esp + 0x150]
push eax
mov byte [esp + 0x578], 0x12
call esi
cmp eax, edi
jge 0x40a126
push eax
call fcn.004b50d0
lea ecx, [esp + 0xc0]
push ecx
mov byte [esp + 0x578], 3
call esi
cmp eax, edi
jge 0x40a142
push eax
call fcn.004b50d0
cmp word [esp + 0x20], 1
je 0x40a2e0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x44]
call fcn.00405240
mov esi, dword [eax]
cmp esi, edi
mov byte [esp + 0x574], 0x14
je 0x40a19d
cmp dword [esi + 4], edi
jne 0x40a17a
mov eax, dword [esi]
push eax
call fcn.004b52b0
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
jmp 0x40a19f
mov cx, word [0x4c7070]
mov dl, byte [0x4c7072]
lea eax, [ebx + 0x4dd24e]
mov word [eax], cx
mov byte [eax + 2], dl
jmp 0x40a0a0
xor ecx, ecx
lea edx, [ebx + 0x4dd208]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x40a1a5
mov esi, dword [esp + 0x40]
cmp esi, edi
mov byte [esp + 0x574], 3
je 0x40a1fb
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x40a1f7
cmp esi, edi
je 0x40a1f7
mov eax, dword [esi]
cmp eax, edi
je 0x40a1de
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40a1ee
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
push esi
call sub.MFC71.DLL_operator_delete
add esp, 4
mov dword [esp + 0x40], edi
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push str.LabelNub
mov word [esp + 0xa4], 8
call fcn.004b5150
mov dword [esp + 0xa8], eax
cmp dword [esp + 0xc], edi
mov byte [esp + 0x574], 0x15
jne 0x40a234
push 0x80004003
call fcn.004b50d0
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x134]
push eax
call fcn.00403e70
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x57c], 0x16
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, edi
jge 0x40a26b
push eax
call fcn.004b50d0
lea edx, [esp + 0x130]
push edx
mov byte [esp + 0x578], 0x15
call esi
cmp eax, edi
jge 0x40a287
push eax
call fcn.004b50d0
lea eax, [esp + 0xa0]
push eax
mov byte [esp + 0x578], 3
call esi
cmp eax, edi
jge 0x40a2a3
push eax
call fcn.004b50d0
cmp word [esp + 0x20], 1
je 0x40a440
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x48]
call fcn.00405240
mov esi, dword [eax]
cmp esi, edi
mov byte [esp + 0x574], 0x17
je 0x40a2fd
cmp dword [esi + 4], edi
jne 0x40a2db
mov edx, dword [esi]
push edx
call fcn.004b52b0
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
jmp 0x40a2ff
mov ax, word [0x4c7070]
mov cl, byte [0x4c7072]
lea edx, [ebx + 0x4dd208]
mov word [edx], ax
mov byte [edx + 2], cl
jmp 0x40a201
xor ecx, ecx
lea edx, [ebx + 0x4dd1f4]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x40a305
mov esi, dword [esp + 0x44]
cmp esi, edi
mov byte [esp + 0x574], 3
je 0x40a35b
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x40a357
cmp esi, edi
je 0x40a357
mov eax, dword [esi]
cmp eax, edi
je 0x40a33e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40a34e
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
push esi
call sub.MFC71.DLL_operator_delete
add esp, 4
mov dword [esp + 0x44], edi
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push str.Name
mov word [esp + 0x84], 8
call fcn.004b5150
mov dword [esp + 0x88], eax
cmp dword [esp + 0xc], edi
mov byte [esp + 0x574], 0x18
jne 0x40a394
push 0x80004003
call fcn.004b50d0
lea ecx, [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xf4]
push edx
call fcn.00403e70
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x57c], 0x19
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, edi
jge 0x40a3cb
push eax
call fcn.004b50d0
lea ecx, [esp + 0xf0]
push ecx
mov byte [esp + 0x578], 0x18
call esi
cmp eax, edi
jge 0x40a3e7
push eax
call fcn.004b50d0
lea edx, [esp + 0x80]
push edx
mov byte [esp + 0x578], 3
call esi
cmp eax, edi
jge 0x40a403
push eax
call fcn.004b50d0
cmp word [esp + 0x20], 1
je 0x40a5a0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
call fcn.00405240
mov esi, dword [eax]
cmp esi, edi
mov byte [esp + 0x574], 0x1a
je 0x40a45d
cmp dword [esi + 4], edi
jne 0x40a43b
mov ecx, dword [esi]
push ecx
call fcn.004b52b0
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
jmp 0x40a45f
mov dx, word [0x4c7070]
mov al, byte [0x4c7072]
lea ecx, [ebx + 0x4dd1f4]
mov word [ecx], dx
mov byte [ecx + 2], al
jmp 0x40a361
xor ecx, ecx
lea edx, [ebx + 0x4dd234]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x40a465
mov esi, dword [esp + 0x34]
cmp esi, edi
mov byte [esp + 0x574], 3
je 0x40a4bb
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x40a4b7
cmp esi, edi
je 0x40a4b7
mov eax, dword [esi]
cmp eax, edi
je 0x40a49e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40a4ae
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
push esi
call sub.MFC71.DLL_operator_delete
add esp, 4
mov dword [esp + 0x34], edi
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x4c7114
mov word [esp + 0x94], 8
call fcn.004b5150
mov dword [esp + 0x98], eax
cmp dword [esp + 0xc], edi
mov byte [esp + 0x574], 0x1b
jne 0x40a4f4
push 0x80004003
call fcn.004b50d0
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x104]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00403e70
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x57c], 0x1c
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, edi
jge 0x40a52b
push eax
call fcn.004b50d0
lea eax, [esp + 0x100]
push eax
mov byte [esp + 0x578], 0x1b
call esi
cmp eax, edi
jge 0x40a547
push eax
call fcn.004b50d0
lea ecx, [esp + 0x90]
push ecx
mov byte [esp + 0x578], 3
call esi
cmp eax, edi
jge 0x40a563
push eax
call fcn.004b50d0
cmp word [esp + 0x20], 1
je 0x40a6d9
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x3c]
call fcn.00405240
mov esi, dword [eax]
cmp esi, edi
mov byte [esp + 0x574], 0x1d
je 0x40a5be
cmp dword [esi + 4], edi
jne 0x40a59b
mov eax, dword [esi]
push eax
call fcn.004b52b0
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
jmp 0x40a5c0
mov cx, word [0x4c7070]
mov dl, byte [0x4c7072]
lea eax, [ebx + 0x4dd234]
mov word [eax], cx
mov byte [eax + 2], dl
jmp 0x40a4c1
xor ecx, ecx
lea edx, [ebx + 0x4dd24a]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x40a5c6
mov esi, dword [esp + 0x38]
cmp esi, edi
mov byte [esp + 0x574], 3
je 0x40a61c
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x40a618
cmp esi, edi
je 0x40a618
mov eax, dword [esi]
cmp eax, edi
je 0x40a5ff
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40a60f
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
push esi
call sub.MFC71.DLL_operator_delete
add esp, 4
mov dword [esp + 0x38], edi
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push str.Certificate
mov word [esp + 0xb4], 8
call fcn.004b5150
mov dword [esp + 0xb8], eax
cmp dword [esp + 0xc], edi
mov byte [esp + 0x574], 0x1e
jne 0x40a655
push 0x80004003
call fcn.004b50d0
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0xb0]
push edx
lea eax, [esp + 0x124]
push eax
call fcn.00403e70
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x57c], 0x1f
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, edi
jge 0x40a68c
push eax
call fcn.004b50d0
lea edx, [esp + 0x120]
push edx
mov byte [esp + 0x578], 0x1e
call esi
cmp eax, edi
jge 0x40a6a8
push eax
call fcn.004b50d0
lea eax, [esp + 0xb0]
push eax
mov byte [esp + 0x578], 3
call esi
cmp eax, edi
jge 0x40a6c4
push eax
call fcn.004b50d0
cmp word [esp + 0x20], 1
je 0x40a6f6
movsx ecx, word [esp + 0x28]
mov dword [ebx + 0x4dd21c], ecx
jmp 0x40a700
mov ax, word [0x4c7070]
mov cl, byte [0x4c7072]
lea edx, [ebx + 0x4dd24a]
mov word [edx], ax
mov byte [edx + 2], cl
jmp 0x40a622
mov dword [ebx + 0x4dd21c], 0x63
push str.CertificateNo
mov word [esp + 0xd4], 8
call fcn.004b5150
mov dword [esp + 0xd8], eax
cmp dword [esp + 0xc], edi
mov byte [esp + 0x574], 0x20
jne 0x40a733
push 0x80004003
call fcn.004b50d0
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0x144]
push eax
call fcn.00403e70
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x57c], 0x21
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, edi
jge 0x40a76a
push eax
call fcn.004b50d0
lea edx, [esp + 0x140]
push edx
mov byte [esp + 0x578], 0x20
call esi
cmp eax, edi
jge 0x40a786
push eax
call fcn.004b50d0
lea eax, [esp + 0xd0]
push eax
mov byte [esp + 0x578], 3
call esi
cmp eax, edi
jge 0x40a7a2
push eax
call fcn.004b50d0
cmp word [esp + 0x20], 1
je 0x40a83f
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405240
mov esi, dword [eax]
cmp esi, edi
mov byte [esp + 0x574], 0x22
je 0x40a7df
cmp dword [esi + 4], edi
jne 0x40a7da
mov edx, dword [esi]
push edx
call fcn.004b52b0
mov dword [esi + 4], eax
mov ecx, dword [esi + 4]
jmp 0x40a7e1
xor ecx, ecx
lea edx, [ebx + 0x4dd220]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x40a7e7
mov esi, dword [esp + 0x18]
cmp esi, edi
mov byte [esp + 0x574], 3
je 0x40a857
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x40a839
cmp esi, edi
je 0x40a839
mov eax, dword [esi]
cmp eax, edi
je 0x40a820
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40a830
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
push esi
call sub.MFC71.DLL_operator_delete
add esp, 4
mov dword [esp + 0x18], edi
jmp 0x40a857
mov dx, word [0x4c7070]
mov al, byte [0x4c7072]
lea ecx, [ebx + 0x4dd220]
mov word [ecx], dx
mov byte [ecx + 2], al
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
inc edx
cmp eax, edi
mov dword [ebx + 0x4dd264], 1
mov dword [esp + 0x14], edx
jne 0x40a880
push 0x80004003
call fcn.004b50d0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov esi, eax
mov dword [esp + 0x24], edi
call dword [ecx + 0x50]
cmp eax, edi
jge 0x40a8a1
push 0x4c6e40
push esi
push eax
call fcn.004b50e0
cmp word [esp + 0x1c], di
jne 0x409c70
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x40a8c2
push 0x80004003
call fcn.004b50d0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push eax
mov esi, eax
call dword [ecx + 0x90]
cmp eax, edi
jge 0x409c70
push 0x4c6e40
push esi
push eax
call fcn.004b50e0
jmp 0x409c70
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x40a8fc
push 0x80004003
call fcn.004b50d0
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
mov esi, eax
mov dword [esp + 0x20], edi
call dword [edx + 0xdc]
cmp eax, edi
jge 0x40a920
push 0x4c6e40
push esi
push eax
call fcn.004b50e0
cmp dword [esp + 0x18], edi
je 0x40a957
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x40a93c
push 0x80004003
call fcn.004b50d0
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
push eax
mov esi, eax
call dword [edx + 0x80]
cmp eax, edi
jge 0x40a957
push 0x4c6e40
push esi
push eax
call fcn.004b50e0
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x40a96d
push 0x80004003
call fcn.004b50d0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov esi, eax
mov dword [esp + 0x20], edi
call dword [ecx + 0x88]
cmp eax, edi
jge 0x40a991
push 0x4c6e30
push esi
push eax
call fcn.004b50e0
cmp dword [esp + 0x18], edi
je 0x40a9c5
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x40a9ad
push 0x80004003
call fcn.004b50d0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
mov esi, eax
call dword [ecx + 0x3c]
cmp eax, edi
jge 0x40a9c5
push 0x4c6e30
push esi
push eax
call fcn.004b50e0
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x40a9e3
mov ecx, eax
xor eax, eax
cmp ecx, edi
mov dword [esp + 0xc], eax
je 0x40a9e3
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
cmp edx, edi
je 0x40aa05
mov ecx, edx
xor edx, edx
cmp ecx, edi
mov dword [esp + 0x10], edx
je 0x40aa05
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp eax, edi
mov byte [esp + 0x574], 2
je 0x40aa1b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x10]
cmp edx, edi
mov byte [esp + 0x574], 1
je 0x40aa2d
mov eax, dword [edx]
push edx
call dword [eax + 8]
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x578], 0
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, edi
jge 0x40aa4a
push eax
call fcn.004b50d0
lea ecx, [esp + 0x30]
mov dword [esp + 0x574], 0xffffffff
call fcn.00401150
mov ecx, dword [esp + 0x56c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x564]
call fcn.004b4b61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret