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

Disassembly:
push 0xffffffffffffffff
push 0x4793c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0xb0], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xcc]
mov ecx, 0xf
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
xor edi, edi
cmp eax, ebx
mov byte [esp + 0xb0], 2
jle 0x40bfa6
push ebp
mov ebp, dword [esp + 0xd8]
jmp 0x40bcd0
mov eax, dword [esp + 0xd0]
lea esp, [esp]
cmp eax, edi
ja 0x40bce0
lea ecx, [esp + 0xbc]
call fcn.0045ce72
mov eax, dword [esp + 0xd4]
mov esi, 0x10
cmp eax, esi
mov eax, dword [esp + 0xc0]
jae 0x40bcfe
lea eax, [esp + 0xc0]
cmp byte [eax + edi], 0x20
je 0x40bf7e
cmp dword [esp + 0xd0], edi
ja 0x40bd1d
lea ecx, [esp + 0xbc]
call fcn.0045ce72
cmp dword [esp + 0xd4], esi
mov eax, dword [esp + 0xc0]
jae 0x40bd34
lea eax, [esp + 0xc0]
cmp byte [eax + edi], 9
je 0x40bf7e
cmp dword [esp + 0xd0], edi
ja 0x40bd53
lea ecx, [esp + 0xbc]
call fcn.0045ce72
cmp dword [esp + 0xd4], esi
mov eax, dword [esp + 0xc0]
jae 0x40bd6a
lea eax, [esp + 0xc0]
cmp byte [eax + edi], 0xd
je 0x40bf7e
cmp dword [esp + 0xd0], edi
ja 0x40bd89
lea ecx, [esp + 0xbc]
call fcn.0045ce72
cmp dword [esp + 0xd4], esi
mov eax, dword [esp + 0xc0]
jae 0x40bda0
lea eax, [esp + 0xc0]
cmp byte [eax + edi], 0xa
je 0x40bf7e
push 2
push edi
push 0x47ad4c
lea ecx, [esp + 0xc8]
call fcn.0040a860
mov esi, eax
cmp esi, edi
jl 0x40be28
sub eax, edi
push eax
push edi
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0xc8]
call fcn.0040b3a0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xc0], 3
call fcn.0040af70
cmp dword [esp + 0x8c], 0x10
mov byte [esp + 0xb4], 2
jb 0x40be0d
mov edx, dword [esp + 0x78]
push edx
call fcn.0044e8f9
add esp, 4
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
lea edi, [esi + 2]
jmp 0x40be86
mov esi, dword [esp + 0x14]
mov eax, esi
sub eax, edi
push eax
push edi
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0xc8]
call fcn.0040b3a0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xc0], 4
call fcn.0040af70
cmp dword [esp + 0x70], 0x10
mov byte [esp + 0xb4], 2
jb 0x40be74
mov edx, dword [esp + 0x5c]
push edx
call fcn.0044e8f9
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov edi, esi
mov esi, dword [esp + 0x2c]
cmp esi, ebx
je 0x40bf7f
ja 0x40bea1
lea ecx, [esp + 0x18]
call fcn.0045ce72
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x40beb0
lea eax, [esp + 0x1c]
cmp byte [eax], 0x55
jne 0x40bf7f
push 1
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 0x20
call fcn.0040a930
cmp eax, ebx
jle 0x40bf7f
inc eax
sub esi, eax
push esi
push eax
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x24]
call fcn.0040b3a0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xc0], 5
call fcn.0040af70
lea ecx, [esp + 0x90]
mov byte [esp + 0xb4], 2
call fcn.0040ad80
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x40bf26
lea eax, [esp + 0x40]
push eax
call fcn.0044e1d6
mov ecx, dword [esp + 0x3c]
add esp, 4
cmp eax, ecx
mov dword [esp + 0x34], eax
je 0x40bf7f
mov edx, dword [ebp + 4]
xor esi, esi
cmp edx, ebx
jne 0x40bf48
xor ecx, ecx
jmp 0x40bf50
mov ecx, dword [ebp + 8]
sub ecx, edx
sar ecx, 2
cmp esi, ecx
jge 0x40bf5c
cmp eax, dword [edx + esi*4]
je 0x40bf5c
inc esi
jmp 0x40bf40
cmp edx, ebx
jne 0x40bf64
xor eax, eax
jmp 0x40bf6c
mov eax, dword [ebp + 8]
sub eax, edx
sar eax, 2
cmp esi, eax
jne 0x40bf7f
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
call fcn.0040b8c0
jmp 0x40bf7f
inc edi
cmp edi, dword [esp + 0x14]
jl 0x40bcc5
mov eax, dword [esp + 0x54]
mov esi, 0x10
cmp eax, esi
pop ebp
jb 0x40bfab
mov eax, dword [esp + 0x3c]
push eax
call fcn.0044e8f9
add esp, 4
jmp 0x40bfab
mov esi, 0x10
cmp dword [esp + 0x2c], esi
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jb 0x40bfce
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044e8f9
add esp, 4
mov eax, dword [esp + 0xd0]
pop edi
cmp eax, esi
pop esi
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov dword [esp + 0x24], 0xf
pop ebx
jb 0x40bffc
mov edx, dword [esp + 0xb0]
push edx
call fcn.0044e8f9
add esp, 4
mov ecx, dword [esp + 0x9c]
mov al, 1
mov dword fs:[0], ecx
add esp, 0xa8
ret