Function at 0x501c10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0785
mov eax, dword fs:[0]
push eax
sub esp, 0x56c
mov eax, dword [0x6121d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x480], edi
mov dword [ebp - 0x468], 0
lea ecx, [ebp - 0x462]
mov eax, dword [edi]
push ecx
push str.query_history
mov byte [ebp - 0x462], 0
mov esi, dword [eax + 0x94]
mov ecx, esi
call dword [0x5aa43c]
mov ecx, edi
call esi
mov dword [ebp - 0x494], 0
xor eax, eax
mov dword [ebp - 4], 0
xor ecx, ecx
mov word [ebp - 0xa0], ax
cmp word [str.IsInstalled1_OR_IsPresent1], cx
mov eax, 0x1c
mov dword [ebp - 0x8c], 7
cmove eax, ecx
mov dword [ebp - 0x90], 0
push eax
push str.IsInstalled1_OR_IsPresent1
lea ecx, [ebp - 0xa0]
call fcn.004ab820
lea eax, [ebp - 0x494]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x468], 1
push eax
mov ecx, edi
call fcn.00500b60
mov edx, eax
mov dword [ebp - 0x468], edx
test edx, edx
js 0x501cff
cmp edx, 0xc
je 0x501cff
xor bl, bl
jmp 0x501d01
mov bl, 1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x501d2c
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.004abec0
mov edx, dword [ebp - 0x468]
test bl, bl
jne 0x503820
mov eax, dword [ebp - 0x494]
lea edx, [ebp - 0x4b8]
mov dword [ebp - 0x4b8], 0
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x28]
mov ecx, esi
call dword [0x5aa43c]
call esi
test eax, eax
jns 0x501dfe
mov edx, eax
lea ecx, [ebp - 0x3e8]
call fcn.004cc160
push eax
mov edx, str._WUA__GetInstalledPatches__updateCollection__get_Count___failed.
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe8]
call fcn.004b5880
add esp, 4
push 1
push eax
mov byte [ebp - 4], 3
call fcn.004c7930
mov ecx, eax
call fcn.004c4350
mov eax, dword [ebp - 0xd4]
cmp eax, 8
jb 0x501db9
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
mov eax, dword [ebp - 0x3d4]
mov dword [ebp - 0xd8], 0
cmp eax, 8
jb 0x501df4
inc eax
lea ecx, [ebp - 0x3e8]
push eax
push dword [ebp - 0x3e8]
call fcn.004abec0
mov edx, 0xffffffe7
jmp 0x50381a
mov eax, dword [ebp - 0x4b8]
xor ebx, ebx
mov dword [ebp - 0x46c], ebx
test eax, eax
jle 0x50299e
lea ecx, [ebp - 0x47c]
call fcn.00507740
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x494]
push dword [ebp - 0x47c]
push ebx
mov esi, dword [eax]
push eax
mov esi, dword [esi + 0x1c]
mov ecx, esi
call dword [0x5aa43c]
call esi
test eax, eax
jns 0x502021
mov edx, eax
lea ecx, [ebp - 0x400]
call fcn.004cc160
mov esi, eax
lea edx, [ebp - 0x46c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c8]
call fcn.004b5960
push eax
mov edx, str._WUA__GetInstalledPatches__updateCollection__get_Item_failed._Index_
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2e0]
call fcn.004b5880
add esp, 4
push 0x5f4d90
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2f8]
call fcn.004b58f0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd0]
call fcn.004b5700
add esp, 4
push 1
push eax
mov byte [ebp - 4], 9
call fcn.004c7930
mov ecx, eax
call fcn.004c4350
mov eax, dword [ebp - 0xbc]
cmp eax, 8
jb 0x501ee3
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0xc0], 0
cmp eax, 8
jb 0x501f1e
inc eax
lea ecx, [ebp - 0x2f8]
push eax
push dword [ebp - 0x2f8]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2e8], 0
cmp eax, 8
jb 0x501f59
inc eax
lea ecx, [ebp - 0x2e0]
push eax
push dword [ebp - 0x2e0]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x2cc], 7
mov word [ebp - 0x2e0], ax
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2d0], 0
cmp eax, 8
jb 0x501f94
inc eax
lea ecx, [ebp - 0x2c8]
push eax
push dword [ebp - 0x2c8]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
mov eax, dword [ebp - 0x3ec]
mov dword [ebp - 0x2b8], 0
cmp eax, 8
jb 0x501fcf
inc eax
lea ecx, [ebp - 0x400]
push eax
push dword [ebp - 0x400]
call fcn.004abec0
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x478]
test edi, edi
je 0x502012
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x502012
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x5aa43c]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x502012
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5aa43c]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x480]
mov byte [ebp - 4], 0
jmp 0x502989
xor eax, eax
mov dword [ebp - 0x44], 7
push eax
push 0x5e91b4
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.004ab820
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x47c]
push eax
call fcn.004f8280
test eax, eax
jns 0x50226c
mov edx, eax
lea ecx, [ebp - 0x418]
call fcn.004cc160
mov esi, eax
lea edx, [ebp - 0x46c]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x268]
call fcn.004b5960
push eax
mov edx, str._WUA__GetInstalledPatches__GetTitle_failed_failed._Index_
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x280]
call fcn.004b5880
add esp, 4
push 0x5f4d90
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x298]
call fcn.004b58f0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2b0]
call fcn.004b5700
add esp, 4
push 1
push eax
mov byte [ebp - 4], 0x10
call fcn.004c7930
mov ecx, eax
call fcn.004c4350
mov eax, dword [ebp - 0x29c]
cmp eax, 8
jb 0x5020f9
inc eax
lea ecx, [ebp - 0x2b0]
push eax
push dword [ebp - 0x2b0]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x2a0], 0
cmp eax, 8
jb 0x502134
inc eax
lea ecx, [ebp - 0x298]
push eax
push dword [ebp - 0x298]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x284], 7
mov word [ebp - 0x298], ax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x288], 0
cmp eax, 8
jb 0x50216f
inc eax
lea ecx, [ebp - 0x280]
push eax
push dword [ebp - 0x280]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x270], 0
cmp eax, 8
jb 0x5021aa
inc eax
lea ecx, [ebp - 0x268]
push eax
push dword [ebp - 0x268]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
mov eax, dword [ebp - 0x404]
mov dword [ebp - 0x258], 0
cmp eax, 8
jb 0x5021e5
inc eax
lea ecx, [ebp - 0x418]
push eax
push dword [ebp - 0x418]
call fcn.004abec0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x5021fa
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0x11
mov edi, dword [ebp - 0x478]
test edi, edi
je 0x502012
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x502012
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x5aa43c]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x502012
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5aa43c]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x480]
mov byte [ebp - 4], 0
jmp 0x502989
mov ecx, dword [ebp - 0x47c]
lea eax, [ebp - 0x461]
push eax
mov byte [ebp - 0x461], 0
call fcn.004fb8b0
test eax, eax
js 0x502818
cmp byte [ebp - 0x461], 0
je 0x502818
push 0x5e91b4
lea ecx, [ebp - 0x310]
call fcn.004ab630
lea eax, [ebp - 0x310]
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x47c]
push eax
call fcn.004f85f0
push 0x5ec6d8
lea ecx, [ebp - 0x130]
call fcn.004ab630
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x47c]
push eax
call fcn.004f8e20
push 0x5e91b4
lea ecx, [ebp - 0x328]
call fcn.004ab630
lea eax, [ebp - 0x328]
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x47c]
push eax
call fcn.004f83d0
push 0x5e91b4
lea ecx, [ebp - 0x340]
call fcn.004ab630
lea eax, [ebp - 0x340]
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x47c]
push eax
call fcn.004f9b40
push 0x5e91b4
lea ecx, [ebp - 0x358]
call fcn.004ab630
lea eax, [ebp - 0x358]
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x47c]
push eax
call fcn.004fa0f0
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x47c]
push eax
call fcn.004fabd0
mov dword [ebp - 0x488], 0
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x488], 0
mov dword [ebp - 0x48c], 5
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x500]
mov dword [ebp - 0x4f8], 0
cmovae eax, dword [ebp - 0x58]
push eax
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4f8], 0
mov dword [ebp - 0x4fc], 5
call fcn.004b08d0
lea eax, [ebp - 0x500]
mov byte [ebp - 4], 0x1d
push eax
push str.title
lea ecx, [ebp - 0x490]
call fcn.004adf50
mov byte [ebp - 4], 0x1e
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
lea ecx, [ebp - 0x500]
call fcn.004adb30
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x328]
cmp dword [ebp - 0x314], 8
lea ecx, [ebp - 0x4f4]
mov dword [ebp - 0x4ec], 0
cmovae eax, dword [ebp - 0x328]
push eax
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4ec], 0
mov dword [ebp - 0x4f0], 5
call fcn.004b08d0
lea eax, [ebp - 0x4f4]
mov byte [ebp - 4], 0x1f
push eax
push str.description
lea ecx, [ebp - 0x490]
call fcn.004adf50
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x4f4]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004adb30
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x310]
cmp dword [ebp - 0x2fc], 8
lea ecx, [ebp - 0x4e8]
mov dword [ebp - 0x4e0], 0
cmovae eax, dword [ebp - 0x310]
push eax
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4e0], 0
mov dword [ebp - 0x4e4], 5
call fcn.004b08d0
lea eax, [ebp - 0x4e8]
mov byte [ebp - 4], 0x21
push eax
push str.product
lea ecx, [ebp - 0x490]
call fcn.004adf50
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x4e8]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004adb30
mov edx, str.driver
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x130]
call fcn.004d6c70
test al, al
je 0x50257e
push str.Microsoft_Corporation
lea ecx, [ebp - 0x578]
call fcn.004acb20
lea eax, [ebp - 0x578]
mov byte [ebp - 4], 0x23
push eax
push str.vendor
lea ecx, [ebp - 0x490]
call fcn.004adf50
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x578]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004adb30
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x4d4], 0
lea ecx, [ebp - 0x4dc]
cmovae eax, dword [ebp - 0xb8]
push eax
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4d4], 0
mov dword [ebp - 0x4d8], 5
call fcn.004b08d0
lea eax, [ebp - 0x4dc]
mov byte [ebp - 4], 0x25
push eax
push str.severity
lea ecx, [ebp - 0x490]
call fcn.004adf50
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x4dc]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004adb30
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x130]
cmp dword [ebp - 0x11c], 8
lea ecx, [ebp - 0x4d0]
mov dword [ebp - 0x4c8], 0
cmovae eax, dword [ebp - 0x130]
push eax
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4c8], 0
mov dword [ebp - 0x4cc], 5
call fcn.004b08d0
lea eax, [ebp - 0x4d0]
mov byte [ebp - 4], 0x27
push eax
push str.category
lea ecx, [ebp - 0x490]
call fcn.004adf50
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x4d0]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004adb30
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x358]
cmp dword [ebp - 0x344], 8
lea ecx, [ebp - 0x4c4]
mov dword [ebp - 0x4bc], 0
cmovae eax, dword [ebp - 0x358]
push eax
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4bc], 0
mov dword [ebp - 0x4c0], 5
call fcn.004b08d0
lea eax, [ebp - 0x4c4]
mov byte [ebp - 4], 0x29
push eax
push str.security_update_id
lea ecx, [ebp - 0x490]
call fcn.004adf50
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x4c4]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004adb30
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x340]
cmp dword [ebp - 0x32c], 8
lea ecx, [ebp - 0x560]
mov dword [ebp - 0x558], 0
cmovae eax, dword [ebp - 0x340]
push eax
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x558], 0
mov dword [ebp - 0x55c], 5
call fcn.004b08d0
mov byte [ebp - 4], 0x2b
lea eax, [ebp - 0x560]
push eax
push str.kb_id
lea ecx, [ebp - 0x490]
call fcn.004adf50
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x560]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004adb30
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [edi + 0xcc]
call fcn.00506170
mov edi, eax
lea eax, [ebp - 0x490]
push eax
mov ecx, dword [edi]
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x5aa43c]
mov ecx, edi
call esi
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x490]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004adb30
lea ecx, [ebp - 0xb8]
call fcn.004ab5f0
lea ecx, [ebp - 0x358]
call fcn.004ab5f0
lea ecx, [ebp - 0x340]
call fcn.004ab5f0
lea ecx, [ebp - 0x328]
call fcn.004ab5f0
lea ecx, [ebp - 0x130]
call fcn.004ab5f0
lea ecx, [ebp - 0x310]
call fcn.004ab5f0
lea ecx, [ebp - 0x58]
call fcn.004ab5f0
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 0
call fcn.004d1440
mov edi, dword [ebp - 0x480]
jmp 0x502989
mov edx, eax
lea ecx, [ebp - 0x430]
call fcn.004cc160
mov esi, eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x12
push eax
mov edx, str._WUA__GetInstalledPatches__waUpdate.IsInstalled_failed_or_this_patch_was_not_installed._Title_
lea ecx, [ebp - 0x220]
call fcn.004c9510
add esp, 4
push 0x5f4d90
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x238]
call fcn.004b58f0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x250]
call fcn.004b5700
add esp, 4
push 1
push eax
mov byte [ebp - 4], 0x15
call fcn.004c7930
mov ecx, eax
call fcn.004c4350
mov eax, dword [ebp - 0x23c]
cmp eax, 8
jb 0x5028a1
inc eax
lea ecx, [ebp - 0x250]
push eax
push dword [ebp - 0x250]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x240], 0
cmp eax, 8
jb 0x5028dc
inc eax
lea ecx, [ebp - 0x238]
push eax
push dword [ebp - 0x238]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x228], 0
cmp eax, 8
jb 0x502917
inc eax
lea ecx, [ebp - 0x220]
push eax
push dword [ebp - 0x220]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x20c], 7
mov word [ebp - 0x220], ax
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x210], 0
cmp eax, 8
jb 0x502952
inc eax
lea ecx, [ebp - 0x430]
push eax
push dword [ebp - 0x430]
call fcn.004abec0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x502967
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x44], 7
lea ecx, [ebp - 0x47c]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], al
call fcn.004d1440
mov eax, dword [ebp - 0x4b8]
inc ebx
mov dword [ebp - 0x46c], ebx
cmp ebx, eax
jl 0x501e14
cmp dword [edi + 0x158], eax
mov edi, 3
lea ecx, [edi - 0x1c]
jne 0x5029b2
xor edx, edx
jmp 0x5029c5
mov eax, dword [ebp - 0x480]
mov edx, edi
mov eax, dword [eax + 0x158]
test eax, eax
cmove edx, ecx
cmp byte [ebp - 0x462], 0
mov dword [ebp - 0x468], edx
je 0x503820
mov dword [ebp - 0x474], 0
lea eax, [ebp - 0x474]
mov byte [ebp - 4], 0x2e
push eax
push 0x5d10b8
push 0x17
push 0
push 0x5d1028
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x502aa8
mov edx, eax
lea ecx, [ebp - 0x448]
mov edi, 0xffffffe7
call fcn.004cc160
push eax
mov edx, str._WUA__GetInstalledPatches__QueryHistory__Can_not_create_IUpdateSearcher_instance_
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x208]
call fcn.004b5880
add esp, 4
push 1
push eax
mov byte [ebp - 4], 0x30
call fcn.004c7930
mov ecx, eax
call fcn.004c4350
mov eax, dword [ebp - 0x1f4]
cmp eax, 8
jb 0x502a64
inc eax
lea ecx, [ebp - 0x208]
push eax
push dword [ebp - 0x208]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x1f4], 7
mov word [ebp - 0x208], ax
mov eax, dword [ebp - 0x434]
mov dword [ebp - 0x1f8], 0
cmp eax, 8
jb 0x5037e2
inc eax
lea ecx, [ebp - 0x448]
push eax
push dword [ebp - 0x448]
call fcn.004abec0
jmp 0x5037e2
mov eax, dword [ebp - 0x474]
lea edx, [ebp - 0x498]
mov dword [ebp - 0x498], 0
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x58]
mov ecx, esi
call dword [0x5aa43c]
call esi
test eax, eax
jns 0x502b76
mov edx, eax
lea ecx, [ebp - 0x460]
mov edi, 0xffffffe7
call fcn.004cc160
push eax
mov edx, str._WUA__GetInstalledPatches__QueryHistory__updateSearcher__GetTotalHistoryCount_failed_
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x1f0]
call fcn.004b5880
add esp, 4
push 1
push eax
mov byte [ebp - 4], 0x32
call fcn.004c7930
mov ecx, eax
call fcn.004c4350
mov eax, dword [ebp - 0x1dc]
cmp eax, 8
jb 0x502b32
inc eax
lea ecx, [ebp - 0x1f0]
push eax
push dword [ebp - 0x1f0]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x1dc], 7
mov word [ebp - 0x1f0], ax
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 0x1e0], 0
cmp eax, 8
jb 0x5037e2
inc eax
lea ecx, [ebp - 0x460]
push eax
push dword [ebp - 0x460]
call fcn.004abec0
jmp 0x5037e2
mov dword [ebp - 0x4a4], 0
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x4a4]
mov eax, dword [ebp - 0x474]
push ecx
push dword [ebp - 0x498]
mov esi, dword [eax]
push 0
push eax
mov esi, dword [esi + 0x48]
mov ecx, esi
call dword [0x5aa43c]
call esi
test eax, eax
jns 0x502c50
mov edx, eax
lea ecx, [ebp - 0x370]
mov edi, 0xffffffe7
call fcn.004cc160
push eax
mov edx, str._WUA__GetInstalledPatches__QueryHistory__updateSearcher__QueryHistory_failed_
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x1d8]
call fcn.004b5880
add esp, 4
push 1
push eax
mov byte [ebp - 4], 0x35
call fcn.004c7930
mov ecx, eax
call fcn.004c4350
mov eax, dword [ebp - 0x1c4]
cmp eax, 8
jb 0x502c0c
inc eax
lea ecx, [ebp - 0x1d8]
push eax
push dword [ebp - 0x1d8]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x1c4], 7
mov word [ebp - 0x1d8], ax
mov eax, dword [ebp - 0x35c]
mov dword [ebp - 0x1c8], 0
cmp eax, 8
jb 0x5037c4
inc eax
lea ecx, [ebp - 0x370]
push eax
push dword [ebp - 0x370]
call fcn.004abec0
jmp 0x5037c4
mov eax, dword [ebp - 0x498]
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x49c], ecx
test eax, eax
jle 0x5037ac
nop
mov dword [ebp - 0x470], 0
mov byte [ebp - 4], 0x36
lea edx, [ebp - 0x470]
mov eax, dword [ebp - 0x4a4]
push edx
push ecx
push eax
mov esi, dword [eax]
mov esi, dword [esi + 0x1c]
mov ecx, esi
call dword [0x5aa43c]
call esi
test eax, eax
jns 0x502e34
mov edx, eax
lea ecx, [ebp - 0x388]
call fcn.004cc160
mov esi, eax
lea edx, [ebp - 0x49c]
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x190]
call fcn.004b5960
push eax
mov edx, str._WUA__GetInstalledPatches__QueryHistory__ptrUpdateHistoryEntryCollection__get_Item_failed._Index_
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0x1a8]
call fcn.004b5880
add esp, 4
push 0x5f4d90
mov edx, eax
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x1c0]
call fcn.004b58f0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x100]
call fcn.004b5700
add esp, 4
push 1
push eax
mov byte [ebp - 4], 0x3b
call fcn.004c7930
mov ecx, eax
call fcn.004c4350
mov eax, dword [ebp - 0xec]
cmp eax, 8
jb 0x502d3f
inc eax
lea ecx, [ebp - 0x100]
push eax
push dword [ebp - 0x100]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0xf0], 0
cmp eax, 8
jb 0x502d7a
inc eax
lea ecx, [ebp - 0x1c0]
push eax
push dword [ebp - 0x1c0]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x1ac], 7
mov word [ebp - 0x1c0], ax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x1b0], 0
cmp eax, 8
jb 0x502db5
inc eax
lea ecx, [ebp - 0x1a8]
push eax
push dword [ebp - 0x1a8]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x194], 7
mov word [ebp - 0x1a8], ax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x198], 0
cmp eax, 8
jb 0x502df0
inc eax
lea ecx, [ebp - 0x190]
push eax
push dword [ebp - 0x190]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x17c], 7
mov word [ebp - 0x190], ax
mov eax, dword [ebp - 0x374]
mov dword [ebp - 0x180], 0
cmp eax, 8
jb 0x50376e
inc eax
lea ecx, [ebp - 0x388]
push eax
push dword [ebp - 0x388]
call fcn.004abec0
jmp 0x50376e
xor eax, eax
mov dword [ebp - 0x14], 7
push eax
push 0x5e91b4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004ab820
mov dword [ebp - 0x4a0], 0
mov byte [ebp - 4], 0x3d
lea edx, [ebp - 0x4a0]
mov eax, dword [ebp - 0x470]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x5aa43c]
call esi
test eax, eax
jns 0x50302a
mov edx, eax
lea ecx, [ebp - 0x3a0]
call fcn.004cc160
mov esi, eax
lea edx, [ebp - 0x49c]
mov byte [ebp - 4], 0x3e
lea ecx, [ebp - 0x118]
call fcn.004b5960
push eax
mov edx, str._WUA__GetInstalledPatches__QueryHistory__ptrUpdate__get_Title_failed._Index_
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x148]
call fcn.004b5880
add esp, 4
push 0x5f4d90
mov edx, eax
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x160]
call fcn.004b58f0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x178]
call fcn.004b5700
add esp, 4
push 1
push eax
mov byte [ebp - 4], 0x42
call fcn.004c7930
mov ecx, eax
call fcn.004c4350
mov eax, dword [ebp - 0x164]
cmp eax, 8
jb 0x502f24
inc eax
lea ecx, [ebp - 0x178]
push eax
push dword [ebp - 0x178]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x164], 7
mov word [ebp - 0x178], ax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x168], 0
cmp eax, 8
jb 0x502f5f
inc eax
lea ecx, [ebp - 0x160]
push eax
push dword [ebp - 0x160]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x14c], 7
mov word [ebp - 0x160], ax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x150], 0
cmp eax, 8
jb 0x502f9a
inc eax
lea ecx, [ebp - 0x148]
push eax
push dword [ebp - 0x148]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x134], 7
mov word [ebp - 0x148], ax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x138], 0
cmp eax, 8
jb 0x502fd5
inc eax
lea ecx, [ebp - 0x118]
push eax
push dword [ebp - 0x118]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x108], 0
cmp eax, 8
jb 0x503010
inc eax
lea ecx, [ebp - 0x3a0]
push eax
push dword [ebp - 0x3a0]
call fcn.004abec0
mov eax, dword [ebp - 0x4a0]
test eax, eax
je 0x503749
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x503749
mov eax, dword [ebp - 0x4a0]
cmp word [eax], 0
jne 0x50303a
xor edx, edx
jmp 0x50304f
mov edx, eax
lea esi, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x503040
sub edx, esi
sar edx, 1
push edx
push eax
lea ecx, [ebp - 0x28]
call fcn.004ab820
mov byte [ebp - 4], 0x3c
mov eax, dword [ebp - 0x4a0]
test eax, eax
je 0x50306e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [ebp - 0x480]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4b4]
push eax
lea edi, [esi + 0xcc]
mov ecx, edi
mov dword [ebp - 0x484], edi
call fcn.00506620
cmp dword [ebp - 0x4b4], 0
je 0x5030f3
lea eax, [ebp - 0x28]
inc ebx
push eax
mov edx, str._WUA__GetInstalledPatches__QueryHistory__Dupplicated_patch._Title_
mov dword [ebp - 0x46c], ebx
lea ecx, [ebp - 0x3b8]
call fcn.004c9510
add esp, 4
push 1
push eax
mov byte [ebp - 4], 0x43
call fcn.004c7930
mov ecx, eax
call fcn.004c4350
mov eax, dword [ebp - 0x3a4]
cmp eax, 8
jb 0x503749
inc eax
lea ecx, [ebp - 0x3b8]
push eax
push dword [ebp - 0x3b8]
call fcn.004abec0
jmp 0x503749
push 0x5e91b4
lea ecx, [ebp - 0x40]
call fcn.004ab630
mov byte [ebp - 4], 0x44
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push eax
cmovae ecx, dword [ebp - 0x28]
mov edx, str..__Kk__Bb_d_.
call fcn.004b9fd0
mov eax, dword [ebp - 0x30]
add esp, 4
test eax, eax
je 0x503163
add eax, 0xfffffffe
lea ecx, [ebp - 0x40]
push eax
push 2
lea eax, [ebp - 0x3d0]
push eax
call fcn.004b9450
push eax
lea ecx, [ebp - 0x40]
call fcn.004b21e0
mov eax, dword [ebp - 0x3bc]
cmp eax, 8
jb 0x503163
inc eax
lea ecx, [ebp - 0x3d0]
push eax
push dword [ebp - 0x3d0]
call fcn.004abec0
mov esi, dword [esi + 0x150]
test esi, esi
je 0x503280
mov al, byte [esi + 0x28]
not al
test al, 1
je 0x503180
mov esi, dword [esi]
test esi, esi
jne 0x503171
test esi, esi
je 0x503280
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0x74], 7
push eax
push 0x5e91b4
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.004ab820
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x88]
mov eax, dword [esi + 0x1c]
push ecx
push str.kb_id
mov edi, dword [eax + 0xa4]
mov ecx, edi
call dword [0x5aa43c]
lea ecx, [esi + 0x1c]
call edi
mov edi, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x88]
test eax, eax
js 0x503215
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x78]
cmp edi, 8
push eax
cmovae ecx, ebx
call fcn.004b27f0
add esp, 8
test eax, eax
je 0x50324d
mov byte [ebp - 4], 0x44
cmp edi, 8
jb 0x503230
lea eax, [edi + 1]
push eax
push ebx
lea ecx, [ebp - 0x88]
call fcn.004abec0
nop
mov esi, dword [esi]
test esi, esi
je 0x503274
mov al, byte [esi + 0x28]
not al
test al, 1
jne 0x503230
mov al, byte [esi + 0x28]
not al
test al, 1
jne 0x503230
jmp 0x503190
cmp edi, 8
jb 0x503262
lea eax, [edi + 1]
push eax
push ebx
lea ecx, [ebp - 0x88]
call fcn.004abec0
mov ebx, dword [ebp - 0x46c]
inc ebx
mov dword [ebp - 0x46c], ebx
jmp 0x503724
mov ebx, dword [ebp - 0x46c]
mov edi, dword [ebp - 0x484]
xor eax, eax
mov dword [ebp - 0x5c], 7
push eax
push 0x5e91b4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.004ab820
mov dword [ebp - 0x484], 0
mov byte [ebp - 4], 0x47
lea edx, [ebp - 0x484]
mov eax, dword [ebp - 0x470]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x34]
mov ecx, esi
call dword [0x5aa43c]
call esi
test eax, eax
js 0x5032ff
mov eax, dword [ebp - 0x484]
cmp word [eax], 0
jne 0x5032e1
xor edx, edx
jmp 0x5032f5
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x5032e6
sub edx, esi
sar edx, 1
push edx
push eax
lea ecx, [ebp - 0x70]
call fcn.004ab820
mov eax, dword [ebp - 0x484]
test eax, eax
je 0x503310
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x4a8], 0
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4a8], 0
mov dword [ebp - 0x4ac], 5
mov byte [ebp - 4], 0x48
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x554]
mov dword [ebp - 0x54c], 0
cmovae eax, dword [ebp - 0x40]
push eax
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x54c], 0
mov dword [ebp - 0x550], 5
call fcn.004b08d0
lea eax, [ebp - 0x554]
mov byte [ebp - 4], 0x49
push eax
push str.kb_id
lea ecx, [ebp - 0x4b0]
call fcn.004adf50
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x554]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004adb30
mov byte [ebp - 4], 0x48
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x548]
mov dword [ebp - 0x540], 0
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x540], 0
mov dword [ebp - 0x544], 5
call fcn.004b08d0
lea eax, [ebp - 0x548]
mov byte [ebp - 4], 0x4b
push eax
push str.title
lea ecx, [ebp - 0x4b0]
call fcn.004adf50
mov byte [ebp - 4], 0x4c
lea ecx, [ebp - 0x548]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004adb30
mov byte [ebp - 4], 0x48
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x53c]
mov dword [ebp - 0x534], 0
cmovae eax, dword [ebp - 0x70]
push eax
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x534], 0
mov dword [ebp - 0x538], 5
call fcn.004b08d0
lea eax, [ebp - 0x53c]
mov byte [ebp - 4], 0x4d
push eax
push str.description
lea ecx, [ebp - 0x4b0]
call fcn.004adf50
mov byte [ebp - 4], 0x4e
lea ecx, [ebp - 0x53c]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004adb30
mov byte [ebp - 4], 0x48
lea ecx, [ebp - 0x530]
mov dword [ebp - 0x528], 0
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x528], 0
mov dword [ebp - 0x52c], 5
push str.Microsoft_Corporation
call fcn.004b08d0
lea eax, [ebp - 0x530]
mov byte [ebp - 4], 0x4f
push eax
push str.vendor
lea ecx, [ebp - 0x4b0]
call fcn.004adf50
mov byte [ebp - 4], 0x50
lea ecx, [ebp - 0x530]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004adb30
mov byte [ebp - 4], 0x48
lea ecx, [ebp - 0x524]
mov dword [ebp - 0x51c], 0
push 0x5ec6d8
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x51c], 0
mov dword [ebp - 0x520], 5
call fcn.004b08d0
lea eax, [ebp - 0x524]
mov byte [ebp - 4], 0x51
push eax
push str.product
lea ecx, [ebp - 0x4b0]
call fcn.004adf50
mov byte [ebp - 4], 0x52
lea ecx, [ebp - 0x524]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004adb30
mov byte [ebp - 4], 0x48
lea ecx, [ebp - 0x56c]
mov dword [ebp - 0x564], 0
push 0x5ec6d8
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x564], 0
mov dword [ebp - 0x568], 5
call fcn.004b08d0
lea eax, [ebp - 0x56c]
mov byte [ebp - 4], 0x53
push eax
push str.security_update_id
lea ecx, [ebp - 0x4b0]
call fcn.004adf50
mov byte [ebp - 4], 0x54
lea ecx, [ebp - 0x56c]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004adb30
mov byte [ebp - 4], 0x48
lea ecx, [ebp - 0x518]
mov dword [ebp - 0x510], 0
push 0x5ec6d8
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x510], 0
mov dword [ebp - 0x514], 5
call fcn.004b08d0
lea eax, [ebp - 0x518]
mov byte [ebp - 4], 0x55
push eax
push str.category
lea ecx, [ebp - 0x4b0]
call fcn.004adf50
mov byte [ebp - 4], 0x56
lea ecx, [ebp - 0x518]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004adb30
mov byte [ebp - 4], 0x48
lea ecx, [ebp - 0x50c]
mov dword [ebp - 0x504], 0
push 0x5ec6d8
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x504], 0
mov dword [ebp - 0x508], 5
call fcn.004b08d0
lea eax, [ebp - 0x50c]
mov byte [ebp - 4], 0x57
push eax
push str.severity
lea ecx, [ebp - 0x4b0]
call fcn.004adf50
mov byte [ebp - 4], 0x58
lea ecx, [ebp - 0x50c]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004adb30
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x48
push eax
mov ecx, edi
call fcn.00506170
mov edi, eax
lea eax, [ebp - 0x4b0]
push eax
mov ecx, dword [edi]
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x5aa43c]
mov ecx, edi
call esi
inc ebx
mov dword [ebp - 0x46c], ebx
mov byte [ebp - 4], 0x59
lea ecx, [ebp - 0x4b0]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004adb30
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x503710
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x503739
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x50375e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x33
mov eax, dword [ebp - 0x470]
test eax, eax
je 0x50378c
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5aa43c]
call esi
mov ecx, dword [ebp - 0x49c]
mov eax, dword [ebp - 0x498]
inc ecx
mov dword [ebp - 0x49c], ecx
cmp ecx, eax
jl 0x502c70
mov edi, 3
cmp ebx, eax
jne 0x5037b4
xor edi, edi
jmp 0x5037c4
test ebx, ebx
mov eax, 0xffffffe7
cmove edi, eax
mov dword [ebp - 0x4b4], edi
mov byte [ebp - 4], 0x2e
mov eax, dword [ebp - 0x4a4]
test eax, eax
je 0x5037e2
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5aa43c]
call esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x474]
test eax, eax
je 0x503800
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5aa43c]
call esi
mov edx, dword [ebp - 0x468]
imul edi, edx
test edi, edi
jns 0x503814
mov edx, 3
jmp 0x50381a
test edx, edx
js 0x50381a
xor edx, edx
mov dword [ebp - 0x468], edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x494]
test ecx, ecx
je 0x503849
mov edx, dword [ecx]
push ecx
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x5aa43c]
call esi
mov eax, dword [ebp - 0x468]
jmp 0x50384b
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00540c56
mov esp, ebp
pop ebp
ret