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

Disassembly:
push 0xffffffffffffffff
push 0x51d298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x34], edi
lea ecx, [edi + 0x60]
call fcn.0040dd90
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x54]
lea ebp, [edi + 0x50]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x34], ebp
call fcn.0040d6a0
lea ecx, [edi + 0x74]
call fcn.0040df40
mov eax, dword [edi + 0x90]
mov edx, dword [edi + 0x8c]
lea ecx, [edi + 0x88]
push eax
push edx
call fcn.0040f760
mov eax, dword [edi + 0x98]
lea esi, [edi + 0x98]
xor ebx, ebx
cmp eax, ebx
je 0x401f9e
mov dword [esi], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call fcn.00416d50
add esp, 4
test eax, eax
jl 0x402d23
mov edx, dword [esp + 0x11c]
push ecx
mov ecx, esp
mov dword [esp + 0x80], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0xb8]
call fcn.004366d0
lea ecx, [esp + 0xb4]
mov dword [esp + 0x114], ebx
call fcn.00436900
test eax, eax
je 0x402cbe
mov esi, dword [esi]
lea eax, [esp + 0xb0]
mov dword [esp + 0xb0], ebx
push eax
mov ebp, dword [esi]
lea ecx, [esp + 0xb8]
call fcn.00436900
push eax
push esi
call dword [ebp + 0x104]
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor esi, esi
mov dword [esp + 0x4c], esi
jmp 0x402026
mov edi, dword [esp + 0x34]
cmp esi, 4
ja case.default.0x40202b
jmp dword [esi*4 + 0x402d54]
mov dword [esp + 0x20], str.catalog_webbrowser
jmp case.default.0x40202b
mov dword [esp + 0x20], str.catalog_email
jmp case.default.0x40202b
mov dword [esp + 0x20], str.catalog_videoplayer
jmp case.default.0x40202b
mov dword [esp + 0x20], str.catalog_musicplayer
jmp case.default.0x40202b
mov dword [esp + 0x20], str.catalog_pictureplayer
mov dword [esp + 0x24], ebx
mov eax, dword [edi + 0x98]
add edi, 0x98
lea edx, [esp + 0x24]
mov byte [esp + 0x114], 1
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
call dword [ecx + 0x94]
test eax, eax
mov eax, dword [esp + 0x24]
jl 0x40238c
cmp eax, ebx
je 0x40238c
mov dword [esp + 0x14], ebx
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push str.software
push eax
mov byte [esp + 0x120], 2
call dword [ecx + 0x90]
test eax, eax
mov eax, dword [esp + 0x14]
jl 0x40237e
cmp eax, ebx
je 0x40237e
mov ecx, dword [eax]
lea edx, [esp + 0x58]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jge 0x4020fc
mov eax, dword [esp + 0x14]
mov byte [esp + 0x114], 1
cmp eax, ebx
je 0x402367
jmp 0x402361
mov eax, dword [esp + 0x58]
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x30], ecx
jle 0x402351
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
lea esi, [esp + 0x10]
push esi
push ecx
mov edx, dword [eax]
push eax
mov byte [esp + 0x120], 3
call dword [edx + 0x1c]
test eax, eax
jge 0x40214d
mov eax, dword [esp + 0x10]
mov byte [esp + 0x114], 2
cmp eax, ebx
je 0x402338
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x402338
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x10]
push 0x560248
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x120], 4
call fcn.00416d10
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x402194
mov eax, dword [esp + 0x10]
mov byte [esp + 0x114], 2
cmp eax, ebx
je 0x402338
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x402338
mov word [esp + 0x38], bx
mov edx, dword [eax]
lea ecx, [esp + 0x38]
push ecx
push 0x560240
push eax
mov byte [esp + 0x120], 5
call dword [edx + 0xb0]
test eax, eax
jge 0x4021ee
lea edx, [esp + 0x38]
push edx
call ebp
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x114], 3
cmp eax, ebx
je 0x4021d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x114], 2
cmp eax, ebx
je 0x402338
jmp 0x402332
push 3
lea eax, [esp + 0x3c]
push ebx
lea ecx, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x40223b
lea edx, [esp + 0x38]
push edx
call ebp
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x114], 3
cmp eax, ebx
je 0x402222
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x114], 2
cmp eax, ebx
je 0x402338
jmp 0x402332
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x60]
mov esi, dword [edi + 0x64]
add edi, 0x60
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x30], eax
call fcn.0040d950
cmp dword [esp + 0x60], esi
je 0x40229a
lea eax, [esp + 0x38]
push eax
call ebp
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x114], 3
cmp eax, ebx
je 0x402281
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x114], 2
cmp eax, ebx
je 0x402338
jmp 0x402332
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x28]
mov eax, dword [esi + 8]
push ecx
push eax
mov ecx, esi
call fcn.004bd280
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x40]
cmp eax, ebx
mov dword [esp + 0x54], edx
jne 0x4022c9
xor esi, esi
jmp 0x4022d5
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx + 8]
sub esi, eax
sar esi, 2
lea edx, [esp + 0x28]
lea eax, [esp + 0x54]
push edx
push eax
lea ecx, [esp + 0xcc]
mov dword [esp + 0x30], ebx
call fcn.0040de30
lea ecx, [esp + 0xfc]
push eax
push ecx
mov ecx, edi
call fcn.0040dbf0
mov eax, dword [eax]
lea edx, [esp + 0x38]
dec esi
push edx
mov dword [eax + 0x10], esi
call ebp
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x114], 3
cmp eax, ebx
je 0x402322
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x114], 2
cmp eax, ebx
je 0x402338
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x58]
inc ecx
cmp ecx, eax
mov dword [esp + 0x30], ecx
jl 0x40210e
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x114], 1
cmp eax, ebx
je 0x402367
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x114], bl
cmp eax, ebx
je 0x40239d
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x40239d
cmp eax, ebx
mov byte [esp + 0x114], 1
je 0x402367
jmp 0x402361
cmp eax, ebx
mov byte [esp + 0x114], bl
je 0x40239d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
cmp esi, 5
mov dword [esp + 0x4c], esi
jl 0x402022
mov dword [esp + 0x50], ebx
mov edx, dword [esp + 0x34]
mov byte [esp + 0x114], 6
lea eax, [edx + 0x98]
lea edx, [esp + 0x50]
push edx
push str.catalog_softwarecheck
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
test eax, eax
mov eax, dword [esp + 0x50]
jl 0x402cf7
cmp eax, ebx
je 0x402cf7
mov dword [esp + 0x48], ebx
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
push str.software
push eax
mov byte [esp + 0x120], 7
call dword [ecx + 0x90]
test eax, eax
mov eax, dword [esp + 0x48]
jl 0x402ce9
cmp eax, ebx
je 0x402ce9
mov ecx, dword [eax]
lea edx, [esp + 0x78]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jl 0x402cd7
mov eax, dword [esp + 0x78]
mov dword [esp + 0x30], ebx
cmp eax, ebx
jle 0x402c91
mov edi, dword [sym.imp.MSVCRT.dll_wcstok]
mov esi, ebx
lea eax, [esp + 0x5f]
lea ecx, [esp + 0x1b]
push eax
push ecx
lea ecx, [esp + 0x6c]
call fcn.0040c030
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x14]
push ecx
push esi
mov edx, dword [eax]
push eax
mov byte [esp + 0x120], 9
call dword [edx + 0x1c]
test eax, eax
jge 0x402494
mov eax, dword [esp + 0x14]
mov byte [esp + 0x114], 8
cmp eax, ebx
je 0x402598
jmp 0x402592
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x64]
push eax
call fcn.004a4300
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x14]
push 0x560248
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x120], 0xa
call fcn.00416d10
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x4024e9
mov eax, dword [esp + 0x14]
mov byte [esp + 0x114], 8
cmp eax, ebx
je 0x402598
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x402598
mov word [esp + 0x80], bx
mov edx, dword [eax]
lea ecx, [esp + 0x80]
push ecx
push 0x560240
push eax
mov byte [esp + 0x120], 0xb
call dword [edx + 0xb0]
test eax, eax
jge 0x402545
lea edx, [esp + 0x80]
push edx
call ebp
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x114], 9
cmp eax, ebx
je 0x402533
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x114], 8
cmp eax, ebx
je 0x402598
jmp 0x402592
push 3
lea eax, [esp + 0x84]
push ebx
lea ecx, [esp + 0x88]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x4025ae
lea edx, [esp + 0x80]
push edx
call ebp
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x114], 9
cmp eax, ebx
je 0x402582
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x114], 8
cmp eax, ebx
je 0x402598
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x64]
mov byte [esp + 0x114], 7
call fcn.0040c0a0
jmp 0x402bda
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push str.check
mov ecx, dword [eax]
push eax
mov byte [esp + 0x120], 0xc
call dword [ecx + 0x90]
test eax, eax
mov eax, dword [esp + 0x24]
jl 0x402c38
cmp eax, ebx
je 0x402c38
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jl 0x402bf0
mov eax, dword [esp + 0x28]
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x58], ecx
jle 0x402b4a
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x10]
push esi
push ecx
mov edx, dword [eax]
push eax
mov byte [esp + 0x120], 0xd
call dword [edx + 0x1c]
test eax, eax
jge 0x402649
mov eax, dword [esp + 0x10]
mov byte [esp + 0x114], 0xc
cmp eax, ebx
je 0x402b31
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x402b31
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x10]
push 0x560248
lea eax, [esp + 0x24]
push edx
push eax
mov byte [esp + 0x120], 0xe
call fcn.00416d10
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x402690
mov eax, dword [esp + 0x10]
mov byte [esp + 0x114], 0xc
cmp eax, ebx
je 0x402b31
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x402b31
mov word [esp + 0x90], bx
mov word [esp + 0xec], bx
mov edx, dword [eax]
lea ecx, [esp + 0x90]
push ecx
push str.version
push eax
mov byte [esp + 0x120], 0x10
call dword [edx + 0xb0]
test eax, eax
jge 0x402705
lea edx, [esp + 0xec]
push edx
call ebp
lea eax, [esp + 0x90]
push eax
call ebp
mov eax, dword [esp + 0x20]
mov byte [esp + 0x114], 0xd
cmp eax, ebx
je 0x4026ec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x114], 0xc
cmp eax, ebx
je 0x402b31
jmp 0x402b2b
mov esi, dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
push 8
lea eax, [esp + 0x94]
push ebx
lea ecx, [esp + 0x98]
push eax
push ecx
call esi
test eax, eax
jge 0x402767
lea edx, [esp + 0xec]
push edx
call ebp
lea eax, [esp + 0x90]
push eax
call ebp
mov eax, dword [esp + 0x20]
mov byte [esp + 0x114], 0xd
cmp eax, ebx
je 0x40274e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x114], 0xc
cmp eax, ebx
je 0x402b31
jmp 0x402b2b
mov al, byte [esp + 0x1b]
push ebx
lea ecx, [esp + 0xa4]
mov byte [esp + 0xa4], al
call fcn.0040d630
mov cl, byte [esp + 0x1b]
push ebx
mov byte [esp + 0xe0], cl
lea ecx, [esp + 0xe0]
mov byte [esp + 0x118], 0x11
call fcn.0040d630
mov eax, dword [esp + 0x98]
lea edx, [esp + 0xa0]
push ebx
push edx
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x120], 0x12
call fcn.004a5ee0
test eax, eax
je 0x402ac5
cmp dword [esp + 0xa8], ebx
jbe 0x402ac5
mov word [esp + 0xcc], bx
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xcc]
push edx
push 0x5601ec
mov ecx, dword [eax]
push eax
mov byte [esp + 0x120], 0x13
call dword [ecx + 0xb0]
test eax, eax
jl 0x402838
push 8
lea eax, [esp + 0xd0]
push ebx
lea ecx, [esp + 0xd4]
push eax
push ecx
call esi
test eax, eax
jl 0x402838
mov eax, dword [esp + 0xd4]
lea edx, [esp + 0xdc]
push 1
push edx
push eax
lea ecx, [esp + 0x70]
call fcn.004a5ee0
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x54]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x60]
push edx
mov esi, dword [ecx + 0x64]
push eax
add ecx, 0x60
call fcn.0040d950
cmp dword [esp + 0x60], esi
jne 0x4028db
lea ecx, [esp + 0xcc]
push ecx
call ebp
push 1
lea ecx, [esp + 0xe0]
mov byte [esp + 0x118], 0x11
call fcn.0040d630
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x118], 0x10
call fcn.0040d630
lea edx, [esp + 0xec]
push edx
call ebp
lea eax, [esp + 0x90]
push eax
call ebp
mov eax, dword [esp + 0x20]
mov byte [esp + 0x114], 0xd
cmp eax, ebx
je 0x4028c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x114], 0xc
cmp eax, ebx
je 0x402b31
jmp 0x402b2b
mov al, byte [esp + 0x1b]
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x38], al
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0xa4]
mov byte [esp + 0x114], 0x14
cmp eax, ebx
jne 0x402907
mov eax, 0x535104
push 0x5601e8
push eax
call edi
add esp, 8
cmp eax, ebx
je 0x402948
mov esi, dword [sym.imp.MSVCRT.dll__wtol]
push eax
call esi
mov edx, dword [esp + 0x44]
add esp, 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], eax
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.004bd280
push 0x5601e8
push ebx
call edi
add esp, 8
cmp eax, ebx
jne 0x40291c
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
cmp eax, ebx
je 0x402964
mov edx, ecx
sub edx, eax
and edx, 0xfffffffc
cmp edx, 0x10
je 0x402a09
push ecx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x11c], 0x13
call fcn.0040d6e0
mov eax, dword [esp + 0x3c]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0xcc]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
push ecx
mov dword [esp + 0x48], ebx
call ebp
push 1
lea ecx, [esp + 0xe0]
mov byte [esp + 0x118], 0x11
call fcn.0040d630
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x118], 0x10
call fcn.0040d630
lea edx, [esp + 0xec]
push edx
call ebp
lea eax, [esp + 0x90]
push eax
call ebp
mov eax, dword [esp + 0x20]
mov byte [esp + 0x114], 0xd
cmp eax, ebx
je 0x4029f0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x114], 0xc
cmp eax, ebx
je 0x402b31
jmp 0x402b2b
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0x4c], 0x535104
cmp ecx, ebx
je 0x402a20
mov dword [esp + 0x4c], ecx
mov esi, eax
mov edi, eax
mov ebp, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0xc4]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x104]
push ecx
push edx
lea ecx, [eax + 0x60]
mov dword [esp + 0xd0], ebx
call fcn.0040dbf0
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov dx, word [edi + 8]
push ecx
xor ecx, ecx
mov eax, dword [eax]
mov cx, word [esi + 0xc]
shl edx, 0x10
or edx, ecx
xor ecx, ecx
mov cx, word [esi]
push edx
xor edx, edx
mov dx, word [ebp + 4]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [eax + 0x10]
push edx
call fcn.00402e70
mov eax, dword [esp + 0x3c]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0xcc]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
push ecx
mov dword [esp + 0x48], ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, dword [sym.imp.MSVCRT.dll_wcstok]
push 1
lea ecx, [esp + 0xe0]
mov byte [esp + 0x118], 0x11
call fcn.0040d630
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x118], 0x10
call fcn.0040d630
lea edx, [esp + 0xec]
push edx
call ebp
lea eax, [esp + 0x90]
push eax
call ebp
mov eax, dword [esp + 0x20]
mov byte [esp + 0x114], 0xd
cmp eax, ebx
je 0x402b1b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x114], 0xc
cmp eax, ebx
je 0x402b31
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x28]
inc ecx
cmp ecx, eax
mov dword [esp + 0x58], ecx
jl 0x40260a
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x114], 0xb
cmp eax, ebx
je 0x402b60
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp + 0x80]
push edx
call ebp
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x114], 9
cmp eax, ebx
je 0x402b80
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x114], 8
cmp eax, ebx
je 0x402b96
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x68]
mov byte [esp + 0x114], 7
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x100]
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.0040d6f0
mov ecx, dword [esp + 0x68]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x70]
mov dword [esp + 0x6c], ebx
push edx
mov dword [esp + 0x7c], ebx
call sub.MFC42.DLL_operatordelete
add esp, 8
mov dword [esp + 0x6c], ebx
mov eax, dword [esp + 0x78]
inc esi
cmp esi, eax
mov dword [esp + 0x30], esi
jl 0x402448
jmp 0x402c91
mov eax, dword [esp + 0x24]
mov byte [esp + 0x114], 0xb
cmp eax, ebx
je 0x402c06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp + 0x80]
push edx
call ebp
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x114], 9
cmp eax, ebx
je 0x402c26
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x114], 8
cmp eax, ebx
je 0x402c80
jmp 0x402c7a
cmp eax, ebx
mov byte [esp + 0x114], 0xb
je 0x402c4a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp + 0x80]
push edx
call ebp
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x114], 9
cmp eax, ebx
je 0x402c6a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x114], 8
cmp eax, ebx
je 0x402c80
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x64]
mov byte [esp + 0x114], 7
call fcn.0040c0a0
mov eax, dword [esp + 0x48]
mov byte [esp + 0x114], 6
cmp eax, ebx
je 0x402ca7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x50]
mov byte [esp + 0x114], bl
cmp eax, ebx
je 0x402d08
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x402d08
lea ecx, [esp + 0xb4]
mov dword [esp + 0x114], 0xffffffff
call fcn.004368f0
jmp 0x402d23
mov eax, dword [esp + 0x48]
mov byte [esp + 0x114], 6
cmp eax, ebx
je 0x402ca7
jmp 0x402ca1
cmp eax, ebx
mov byte [esp + 0x114], 6
je 0x402ca7
jmp 0x402ca1
cmp eax, ebx
mov byte [esp + 0x114], bl
je 0x402d08
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0xb4]
mov dword [esp + 0x114], 0xffffffff
call fcn.004368f0
mov ebp, dword [esp + 0x2c]
mov ecx, dword [ebp + 4]
cmp ecx, ebx
jne 0x402d2e
xor eax, eax
jmp 0x402d36
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x108
ret 4