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

Disassembly:
push 0xffffffffffffffff
push 0x567ea0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x84]
cmp dword [ebp + 4], 2
jne 0x50adc8
xor ebx, ebx
push ebx
lea ecx, [esp + 0x1c]
call fcn.0049ab60
push ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x7c], ebx
call fcn.0049ab60
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 1
call fcn.0049ab60
or esi, 0xffffffff
push esi
push str._wipingSchemeEvent_:_
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 2
call fcn.0049af70
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
push ebx
push ebx
push ebx
push 0xa
lea eax, [esp + 0x5c]
push eax
push ecx
push edx
call fcn.0051ab7b
add esp, 0x10
push eax
lea eax, [esp + 0x28]
push str.eventId
push eax
call fcn.004fecb0
push ebx
push ebx
push 1
push str.getAllSchemes
lea ecx, [esp + 0x40]
push 0x571f58
push ecx
call fcn.004fecb0
add esp, 0x30
push esi
push str._users_:__
lea ecx, [esp + 0x20]
call fcn.0049af70
xor edi, edi
cmp dword [ebp + 0x10], ebx
jbe 0x50ad38
cmp edi, ebx
je 0x50ac26
push 1
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c], 0x2c
call fcn.0049af70
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edi*4]
push str.userId
push ecx
call fcn.004fe690
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x50ad9c
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x4c]
call fcn.00408de0
mov edx, dword [str.Local]
mov eax, dword [esp + 0x40]
push 0xffffffffffffffff
push edx
push eax
mov byte [esp + 0x84], 3
call fcn.0049ea40
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
push 0x56ee08
test eax, eax
jne 0x50acc0
call fcn.0049af70
mov ecx, dword [str.Local]
push ebx
push ebx
push 1
push ecx
lea edx, [esp + 0x28]
push str.userId
push edx
call fcn.004fed10
add esp, 0x18
push ebx
push 1
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.0050a550
add esp, 4
push eax
push str.wipingSchemes
lea ecx, [esp + 0x2c]
push ecx
jmp 0x50acfd
call fcn.0049af70
push ebx
push ebx
push 1
push esi
lea edx, [esp + 0x28]
push str.userId
push edx
call fcn.004fecb0
mov ecx, dword [esp + 0x58]
add esp, 0x18
push ebx
push 1
push ebx
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.0050a8a0
add esp, 8
push eax
push str.wipingSchemes
lea edx, [esp + 0x2c]
push edx
call fcn.004fecb0
add esp, 0x18
push 0xffffffffffffffff
push 0x56edf4
lea ecx, [esp + 0x20]
call fcn.0049af70
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 2
mov dword [esp + 0x3c], vtable.cWCS.0
call fcn.0049ee80
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x50ac0d
or esi, 0xffffffff
push esi
push 0x584abc
lea ecx, [esp + 0x20]
call fcn.0049af70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
push eax
push ecx
push edx
call fcn.00507ae0
add esp, 0xc
cmp eax, 8
je 0x50adcf
cmp eax, ebx
je 0x50adcf
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 1
call fcn.0049ac30
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], bl
call fcn.0049ac30
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], esi
call fcn.0049ac30
mov eax, 0xe
jmp 0x50adf9
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 1
call fcn.0049ac30
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], bl
call fcn.0049ac30
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], 0xffffffff
call fcn.0049ac30
mov eax, 0x41
jmp 0x50adf9
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 1
call fcn.0049ac30
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], bl
call fcn.0049ac30
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], esi
call fcn.0049ac30
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0051916c
add esp, 0x68
ret