Function at 0x4b02c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531b09
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a8
mov eax, dword [0x566090]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
test eax, eax
jne 0x4b0599
mov edx, str.wer.dll
lea ecx, [ebp - 0x20]
call fcn.004734a0
mov dword [ebp - 0x2b8], eax
cmp edi, eax
je 0x4b0361
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x2b4], ecx
test ecx, ecx
je 0x4b0356
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x2b4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x4c]
mov dword [edi], ecx
mov dword [eax], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4b036f
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [edi]
test eax, eax
jne 0x4b0599
lea edx, [ebp - 0xc8]
mov dword [ebp - 0xc8], 0x80728045
lea ecx, [ebp - 0x98]
mov dword [ebp - 0xc4], 0x806f8072
mov dword [ebp - 0xc0], 0x802c8072
mov dword [ebp - 0xbc], 0x806c8020
mov dword [ebp - 0xb8], 0x8061806f
mov dword [ebp - 0xb4], 0x80698064
mov dword [ebp - 0xb0], 0x8067806e
mov dword [ebp - 0xac], 0x80778020
mov dword [ebp - 0xa8], 0x80728065
mov dword [ebp - 0xa4], 0x80648020
mov dword [ebp - 0xa0], 0x806c806c
mov dword [ebp - 0x9c], 0x8000
call fcn.00419a70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x98]
cmp dword [ebp - 0x84], 8
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x80]
cmovae eax, dword [ebp - 0x98]
mov dword [ebp - 0x20], eax
call fcn.0041ccb0
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.00444e70
mov byte [ebp - 4], 2
lea edi, [ebp - 0x68]
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x108]
mov edx, str.wer::CWerDLL::Init
mov dword [ebp - 0x28], 0x290028
cmovae edi, dword [ebp - 0x68]
mov dword [ebp - 0x24], 0x2d0020
mov dword [ebp - 0x20], 0x20
call fcn.004ada30
mov edx, str._BDREINIT__::
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.00419450
push esi
mov edx, eax
lea ecx, [ebp - 0x180]
call fcn.004adad0
add esp, 4
lea ecx, [ebp - 0x28]
mov edx, eax
push ecx
lea ecx, [ebp - 0x1d0]
call fcn.004adbf0
add esp, 4
mov esi, eax
call fcn.00441aa0
push edi
push 0
push esi
push 8
push eax
call fcn.0043ebb0
mov edx, dword [ebp - 0x54]
add esp, 0x14
cmp edx, 8
jb 0x4b04f0
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b04e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b0ee4
push edx
push ecx
call fcn.004fc7e0
add esp, 8
mov edx, dword [ebp - 0x6c]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x4b053e
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b0534
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b0ee4
push edx
push ecx
call fcn.004fc7e0
add esp, 8
mov edx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
cmp edx, 8
jb 0x4b0592
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b0588
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b0ee4
push edx
push ecx
call fcn.004fc7e0
add esp, 8
xor al, al
jmp 0x4b0ec6
cmp dword [edi + 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x4b0748
push str.WerAddExcludedApplication
push eax
call esi
mov dword [edi + 4], eax
test eax, eax
jne 0x4b0748
movaps xmm0, xmmword [0x54c2d0]
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x38], 0xf3e5f2e4
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0xefe6a0f3
mov dword [ebp - 0x30], 0xfdfba0f2
mov word [ebp - 0x2c], 0x80
call fcn.0041a710
mov dword [ebp - 4], 3
lea edx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
mov eax, dword [ebp - 0x24]
cmovae edx, dword [ebp - 0x80]
mov ecx, edx
mov dword [ebp - 0x50], str.WerAddExcludedApplication
mov dword [ebp - 0x4c], eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b0611
sub esp, 0x10
sub ecx, esi
mov eax, esp
lea esi, [ebp - 0x50]
push ecx
push edx
lea ecx, [ebp - 0x98]
mov dword [eax], 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], esi
call fcn.00446c90
mov byte [ebp - 4], 4
lea edx, [ebp - 0x98]
cmp dword [ebp - 0x84], 0x10
lea ecx, [ebp - 0x68]
cmovae edx, dword [ebp - 0x98]
call fcn.00445b30
mov byte [ebp - 4], 5
cmp dword [ebp - 0x54], 8
lea edi, [ebp - 0x68]
mov edx, str.wer::CWerDLL::Init
mov dword [ebp - 0x28], 0x290028
cmovae edi, dword [ebp - 0x68]
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x24], 0x2d0020
mov dword [ebp - 0x20], 0x20
call fcn.004ada30
mov edx, str._BDREINIT__::
lea ecx, [ebp - 0x100]
mov esi, eax
call fcn.00419450
push esi
mov edx, eax
lea ecx, [ebp - 0x180]
call fcn.004adad0
add esp, 0x1c
lea ecx, [ebp - 0x28]
mov edx, eax
push ecx
lea ecx, [ebp - 0x1d0]
call fcn.004adbf0
add esp, 4
mov esi, eax
call fcn.00441aa0
push edi
push 0
push esi
push 8
push eax
call fcn.0043ebb0
mov edx, dword [ebp - 0x54]
add esp, 0x14
cmp edx, 8
jb 0x4b071a
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b0710
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b0ee9
push edx
push ecx
call fcn.004fc7e0
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
call fcn.00444be0
lea ecx, [ebp - 0x80]
call fcn.00444be0
xor al, al
jmp 0x4b0ec6
cmp dword [edi + 8], 0
jne 0x4b0817
push str.WerRemoveExcludedApplication
push dword [edi]
call esi
mov dword [edi + 8], eax
test eax, eax
jne 0x4b0817
movaps xmm0, xmmword [0x54c2d0]
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x38], 0xf3e5f2e4
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0xefe6a0f3
mov dword [ebp - 0x30], 0xfdfba0f2
mov word [ebp - 0x2c], 0x80
call fcn.0041a710
mov dword [ebp - 4], 9
lea edx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
mov eax, dword [ebp - 0x24]
cmovae edx, dword [ebp - 0x80]
mov ecx, edx
mov dword [ebp - 0x50], str.WerRemoveExcludedApplication
mov dword [ebp - 0x4c], eax
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b07c0
sub esp, 0x10
sub ecx, esi
mov eax, esp
lea esi, [ebp - 0x50]
push ecx
push edx
lea ecx, [ebp - 0x98]
mov dword [eax], 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], esi
call fcn.00446c90
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x98]
cmp dword [ebp - 0x84], 0x10
lea ecx, [ebp - 0x68]
cmovae edx, dword [ebp - 0x98]
call fcn.00445b30
mov byte [ebp - 4], 0xb
jmp 0x4b0663
cmp dword [edi + 0xc], 0
jne 0x4b08e7
push str.WerReportAddDump
push dword [edi]
call esi
mov dword [edi + 0xc], eax
test eax, eax
jne 0x4b08e7
movaps xmm0, xmmword [0x54c2d0]
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x38], 0xf3e5f2e4
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0xefe6a0f3
mov dword [ebp - 0x30], 0xfdfba0f2
mov word [ebp - 0x2c], 0x80
call fcn.0041a710
mov dword [ebp - 4], 0xc
lea edx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
mov eax, dword [ebp - 0x24]
cmovae edx, dword [ebp - 0x80]
mov ecx, edx
mov dword [ebp - 0x50], str.WerReportAddDump
mov dword [ebp - 0x4c], eax
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b0890
sub esp, 0x10
sub ecx, esi
mov eax, esp
lea esi, [ebp - 0x50]
push ecx
push edx
lea ecx, [ebp - 0x98]
mov dword [eax], 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], esi
call fcn.00446c90
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x98]
cmp dword [ebp - 0x84], 0x10
lea ecx, [ebp - 0x68]
cmovae edx, dword [ebp - 0x98]
call fcn.00445b30
mov byte [ebp - 4], 0xe
jmp 0x4b0663
cmp dword [edi + 0x10], 0
jne 0x4b09b7
push str.WerReportAddFile
push dword [edi]
call esi
mov dword [edi + 0x10], eax
test eax, eax
jne 0x4b09b7
movaps xmm0, xmmword [0x54c2d0]
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x38], 0xf3e5f2e4
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0xefe6a0f3
mov dword [ebp - 0x30], 0xfdfba0f2
mov word [ebp - 0x2c], 0x80
call fcn.0041a710
mov dword [ebp - 4], 0xf
lea edx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
mov eax, dword [ebp - 0x24]
cmovae edx, dword [ebp - 0x80]
mov ecx, edx
mov dword [ebp - 0x50], str.WerReportAddFile
mov dword [ebp - 0x4c], eax
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b0960
sub esp, 0x10
sub ecx, esi
mov eax, esp
lea esi, [ebp - 0x50]
push ecx
push edx
lea ecx, [ebp - 0x98]
mov dword [eax], 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], esi
call fcn.00446c90
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x98]
cmp dword [ebp - 0x84], 0x10
lea ecx, [ebp - 0x68]
cmovae edx, dword [ebp - 0x98]
call fcn.00445b30
mov byte [ebp - 4], 0x11
jmp 0x4b0663
cmp dword [edi + 0x14], 0
jne 0x4b0a87
push str.WerReportCloseHandle
push dword [edi]
call esi
mov dword [edi + 0x14], eax
test eax, eax
jne 0x4b0a87
movaps xmm0, xmmword [0x54c2d0]
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x38], 0xf3e5f2e4
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0xefe6a0f3
mov dword [ebp - 0x30], 0xfdfba0f2
mov word [ebp - 0x2c], 0x80
call fcn.0041a710
mov dword [ebp - 4], 0x12
lea edx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
mov eax, dword [ebp - 0x24]
cmovae edx, dword [ebp - 0x80]
mov ecx, edx
mov dword [ebp - 0x50], str.WerReportCloseHandle
mov dword [ebp - 0x4c], eax
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b0a30
sub esp, 0x10
sub ecx, esi
mov eax, esp
lea esi, [ebp - 0x50]
push ecx
push edx
lea ecx, [ebp - 0x98]
mov dword [eax], 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], esi
call fcn.00446c90
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x98]
cmp dword [ebp - 0x84], 0x10
lea ecx, [ebp - 0x68]
cmovae edx, dword [ebp - 0x98]
call fcn.00445b30
mov byte [ebp - 4], 0x14
jmp 0x4b0663
cmp dword [edi + 0x18], 0
jne 0x4b0b57
push str.WerReportCreate
push dword [edi]
call esi
mov dword [edi + 0x18], eax
test eax, eax
jne 0x4b0b57
movaps xmm0, xmmword [0x54c2d0]
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x38], 0xf3e5f2e4
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0xefe6a0f3
mov dword [ebp - 0x30], 0xfdfba0f2
mov word [ebp - 0x2c], 0x80
call fcn.0041a710
mov dword [ebp - 4], 0x15
lea edx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
mov eax, dword [ebp - 0x24]
cmovae edx, dword [ebp - 0x80]
mov ecx, edx
mov dword [ebp - 0x50], str.WerReportCreate
mov dword [ebp - 0x4c], eax
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b0b00
sub esp, 0x10
sub ecx, esi
mov eax, esp
lea esi, [ebp - 0x50]
push ecx
push edx
lea ecx, [ebp - 0x98]
mov dword [eax], 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], esi
call fcn.00446c90
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x98]
cmp dword [ebp - 0x84], 0x10
lea ecx, [ebp - 0x68]
cmovae edx, dword [ebp - 0x98]
call fcn.00445b30
mov byte [ebp - 4], 0x17
jmp 0x4b0663
cmp dword [edi + 0x1c], 0
jne 0x4b0c27
push str.WerReportSetParameter
push dword [edi]
call esi
mov dword [edi + 0x1c], eax
test eax, eax
jne 0x4b0c27
movaps xmm0, xmmword [0x54c2d0]
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x38], 0xf3e5f2e4
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0xefe6a0f3
mov dword [ebp - 0x30], 0xfdfba0f2
mov word [ebp - 0x2c], 0x80
call fcn.0041a710
mov dword [ebp - 4], 0x18
lea edx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
mov eax, dword [ebp - 0x24]
cmovae edx, dword [ebp - 0x80]
mov ecx, edx
mov dword [ebp - 0x50], str.WerReportSetParameter
mov dword [ebp - 0x4c], eax
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b0bd0
sub esp, 0x10
sub ecx, esi
mov eax, esp
lea esi, [ebp - 0x50]
push ecx
push edx
lea ecx, [ebp - 0x98]
mov dword [eax], 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], esi
call fcn.00446c90
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0x98]
cmp dword [ebp - 0x84], 0x10
lea ecx, [ebp - 0x68]
cmovae edx, dword [ebp - 0x98]
call fcn.00445b30
mov byte [ebp - 4], 0x1a
jmp 0x4b0663
cmp dword [edi + 0x20], 0
jne 0x4b0cf7
push str.WerReportSetUIOption
push dword [edi]
call esi
mov dword [edi + 0x20], eax
test eax, eax
jne 0x4b0cf7
movaps xmm0, xmmword [0x54c2d0]
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x38], 0xf3e5f2e4
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0xefe6a0f3
mov dword [ebp - 0x30], 0xfdfba0f2
mov word [ebp - 0x2c], 0x80
call fcn.0041a710
mov dword [ebp - 4], 0x1b
lea edx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
mov eax, dword [ebp - 0x24]
cmovae edx, dword [ebp - 0x80]
mov ecx, edx
mov dword [ebp - 0x50], str.WerReportSetUIOption
mov dword [ebp - 0x4c], eax
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b0ca0
sub esp, 0x10
sub ecx, esi
mov eax, esp
lea esi, [ebp - 0x50]
push ecx
push edx
lea ecx, [ebp - 0x98]
mov dword [eax], 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], esi
call fcn.00446c90
mov byte [ebp - 4], 0x1c
lea edx, [ebp - 0x98]
cmp dword [ebp - 0x84], 0x10
lea ecx, [ebp - 0x68]
cmovae edx, dword [ebp - 0x98]
call fcn.00445b30
mov byte [ebp - 4], 0x1d
jmp 0x4b0663
cmp dword [edi + 0x24], 0
invalid
invalid