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

Disassembly:
push 0xffffffffffffffff
push 0x86ce85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov edx, dword [esp + 0xb8]
push ebx
push ebp
xor eax, eax
push esi
mov esi, ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
push edi
mov dword [esp + 0xa4], eax
mov dword [ecx], 1
mov dword [esp + 0xa8], eax
mov dword [edx], 1
mov eax, dword [esi + 0x78]
push 2
push 0xffffffffffffffff
xor ebx, ebx
push 0x100c
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x34], 1
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
cmp ebp, ebx
jl 0x50c5be
cmp ebp, dword [esi + 0x4c4]
jge 0x50c44d
mov ecx, dword [0x8ab26c]
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x4c0]
mov edx, ebp
shl edx, 6
add eax, edx
mov dword [esp + 0xb4], ebx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
push ecx
lea ecx, [esp + 0x64]
push eax
push ecx
call fcn.00508340
add esp, 0xc
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0xb8], 1
call fcn.006181a0
lea ecx, [esp + 0x60]
mov byte [esp + 0xb4], bl
call fcn.00831eeb
lea ecx, [esp + 0x78]
call fcn.0061ebd0
mov edi, 0x893fcc
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x88]
mov byte [esp + 0xb4], 3
call fcn.0061ebd0
lea ecx, [esp + 0x64]
mov byte [esp + 0xb4], 4
call fcn.0082b045
mov eax, dword [0x8ab26c]
mov dword [esp + 0x18], eax
xor edx, edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x70]
push eax
lea edx, [esp + 0x98]
push ecx
lea eax, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x90]
push eax
push ecx
push edx
mov ecx, 0x9ce3b8
mov byte [esp + 0xd8], 7
mov dword [esp + 0x44], ebx
call fcn.00524db0
cmp eax, ebx
jne 0x50c46e
cmp dword [esp + 0x24], ebx
je 0x50c305
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0x3c]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x44]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x48]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0xcc]
lea edx, [esp + 0x64]
lea eax, [esp + 0x28]
push edx
push eax
call fcn.00515520
mov dword [esp + 0x24], ebx
jmp 0x50c3c1
mov eax, dword [esp + 0xc4]
mov ecx, 4
lea edi, [esp + 0x3c]
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x50c328
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
je 0x50c331
mov ecx, dword [esp + 0xc0]
mov dword [ecx], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], 0x89a594
lea edx, [esp + 0x64]
lea eax, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xbc], 9
call fcn.00515520
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0xd0]
call fcn.005157e0
test eax, eax
jne 0x50c382
mov edx, dword [esp + 0xc8]
mov dword [edx], ebx
mov eax, dword [esp + 0xc0]
cmp dword [eax], ebx
jne 0x50c39c
mov ecx, dword [esp + 0xc8]
cmp dword [ecx], ebx
je 0x50c50d
mov dword [esp + 0x4c], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x50]
mov byte [esp + 0xb4], 0xc
cmp eax, ebx
je 0x50c3bd
push eax
call fcn.008325dd
add esp, 4
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 6
call fcn.00617ec0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 5
call fcn.00617ec0
lea ecx, [esp + 0x64]
mov byte [esp + 0xb4], 4
call fcn.0082b078
lea ecx, [esp + 0x88]
mov byte [esp + 0xb4], 3
call fcn.0061ebe0
mov dword [esp + 0x28], 0x893fcc
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xb4], 0xd
cmp eax, ebx
je 0x50c429
push eax
call fcn.008325dd
add esp, 4
lea ecx, [esp + 0x78]
mov byte [esp + 0xb4], bl
call fcn.0061ebe0
lea ecx, [esp + 0x10]
mov dword [esp + 0xb4], 0xffffffff
call fcn.00617ec0
mov edx, dword [esi + 0x78]
push 2
push ebp
push 0x100c
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
cmp ebp, ebx
jge 0x50c19b
jmp 0x50c5be
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc8]
mov byte [esp + 0xb4], 6
mov dword [eax], ebx
mov dword [ecx], ebx
lea ecx, [esp + 0x14]
call fcn.00617ec0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 5
call fcn.00617ec0
lea ecx, [esp + 0x64]
mov byte [esp + 0xb4], 4
call fcn.0082b078
lea ecx, [esp + 0x88]
mov byte [esp + 0xb4], 3
call fcn.0061ebe0
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xb4], 8
cmp eax, ebx
je 0x50c4e4
push eax
call fcn.008325dd
add esp, 4
lea ecx, [esp + 0x78]
mov byte [esp + 0xb4], bl
call fcn.0061ebe0
lea ecx, [esp + 0x10]
mov dword [esp + 0xb4], 0xffffffff
call fcn.00617ec0
jmp 0x50c5be
mov dword [esp + 0x4c], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x50]
mov byte [esp + 0xb4], 0xa
cmp eax, ebx
je 0x50c52e
push eax
call fcn.008325dd
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 6
call fcn.00617ec0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 5
call fcn.00617ec0
lea ecx, [esp + 0x64]
mov byte [esp + 0xb4], 4
call fcn.0082b078
lea ecx, [esp + 0x88]
mov byte [esp + 0xb4], 3
call fcn.0061ebe0
mov dword [esp + 0x28], 0x893fcc
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xb4], 0xb
cmp eax, ebx
je 0x50c596
push eax
call fcn.008325dd
add esp, 4
lea ecx, [esp + 0x78]
mov byte [esp + 0xb4], bl
call fcn.0061ebe0
lea ecx, [esp + 0x10]
mov dword [esp + 0xb4], 0xffffffff
call fcn.00617ec0
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
mov dword [edx], 1
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x50c5f1
mov edi, dword [esp + 0xc4]
mov ecx, 5
lea esi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc8]
cmp dword [ecx], ebx
jne 0x50c60b
mov ecx, dword [esp + 0xcc]
push 0xffffffffffffffff
push ebx
call fcn.00503470
mov edx, dword [esi + 0x78]
push ebx
push ebx
push 0x1032
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret 0x14