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

Disassembly:
push 0xffffffffffffffff
push 0x5e24f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
push edi
mov eax, dword [esi]
mov eax, dword [eax]
mov cl, byte [eax]
cmp cl, 0x51
je 0x4ebdc4
cmp cl, 0x41
jne 0x4ebde5
mov dl, byte [eax + 1]
test dl, dl
je 0x4ebdd7
cmp dl, 0x2e
jne 0x4ebde5
mov dl, byte [eax + 2]
test dl, dl
jne 0x4ebde5
xor edx, edx
cmp cl, 0x51
sete dl
add edx, 2
mov dword [esi + 0x74], edx
mov edi, dword [esi + 0x4c]
xor ebp, ebp
xor edx, edx
xor eax, eax
cmp edi, 0xffffffff
je 0x4ebeae
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
je 0x4ebe11
cmp eax, edi
jle 0x4ebe11
lea ecx, [edi + 2]
cmp eax, ecx
jle 0x4ebe11
mov edx, 1
jmp 0x4ebe13
xor edx, edx
mov ecx, dword [esi + 0x58]
cmp ecx, 0xffffffff
je 0x4ebe32
mov eax, dword [esi + 0x5c]
cmp eax, 0xffffffff
je 0x4ebe32
cmp edi, ecx
jle 0x4ebe32
cmp edi, eax
jge 0x4ebe32
mov eax, 1
jmp 0x4ebe34
xor eax, eax
mov ecx, dword [esi + 0x60]
cmp ecx, 0xffffffff
je 0x4ebe44
cmp edi, ecx
jg 0x4ebed7
cmp dword [esi + 0x60], 0xffffffff
jne 0x4ebebd
cmp edx, ebp
je 0x4ebf5b
mov eax, dword [esi + 0x50]
add edi, 2
cmp edi, eax
jge 0x4ebfcb
lea ebp, [edi + edi*2]
lea ebx, [esi + 0x7c]
shl ebp, 2
mov edx, dword [esi]
mov eax, ebp
add eax, edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.004ec190
add esp, 8
push eax
mov ecx, ebx
mov dword [esp + 0x24], 1
call fcn.0059dc15
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
call fcn.0059d7fd
mov eax, dword [esi + 0x50]
inc edi
add ebp, 0xc
cmp edi, eax
jl 0x4ebe69
jmp 0x4ebfcb
cmp dword [esi + 0x74], ebp
je 0x4ebe44
mov edx, dword [esp + 0x30]
mov dword [edx], 1
mov eax, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc
mov eax, dword [esi + 0x10]
lea ebp, [edi + 2]
cmp ebp, eax
jge 0x4ebf52
lea ebx, [ebp + ebp*2]
shl ebx, 2
mov eax, dword [esi]
mov edi, ebx
add edi, eax
mov eax, dword [edi + 8]
mov ecx, dword [edi]
cmp eax, 0xb
je 0x4ebf17
cmp eax, 0xe
je 0x4ebf17
push 0x652af0
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4ebf52
mov eax, dword [esi + 0x4c]
add eax, 3
cmp ebp, eax
jg 0x4ebf52
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.004ec190
add esp, 8
push eax
lea ecx, [esi + 0x7c]
mov dword [esp + 0x24], 0
call fcn.0059dc15
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
call fcn.0059d7fd
mov eax, dword [esi + 0x10]
inc ebp
add ebx, 0xc
cmp ebp, eax
jl 0x4ebee8
mov edx, dword [esi + 0x4c]
dec edx
mov dword [esi + 0x10], edx
jmp 0x4ebfcb
cmp eax, ebp
je 0x4ebfe5
mov ecx, dword [esi + 0x5c]
add edi, 2
cmp edi, ecx
jge 0x4ebfcb
lea ebp, [edi + edi*2]
shl ebp, 2
mov ebx, dword [esi]
mov eax, ebp
add eax, ebx
cmp edi, ecx
jge 0x4ebfcb
test byte [eax + 4], 8
jne 0x4ebf90
mov ecx, dword [eax + 8]
cmp ecx, 0xb
je 0x4ebf90
cmp ecx, 0xe
jne 0x4ebfcb
lea edx, [esp + 0x2c]
push eax
push edx
call fcn.004ec190
add esp, 8
push eax
lea ecx, [esi + 0x7c]
mov dword [esp + 0x24], 2
call fcn.0059dc15
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
call fcn.0059d7fd
mov ecx, dword [esi + 0x5c]
inc edi
add ebp, 0xc
cmp edi, ecx
jl 0x4ebf73
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4ebebd
mov dword [esi + 0x74], 4
jmp 0x4ec09a
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
je 0x4ebebd
mov ecx, dword [esi + 0x10]
dec ecx
cmp eax, ecx
je 0x4ec010
cmp dword [esi + 0x2c], ebp
jne 0x4ec010
cmp dword [esi + 0x30], ebp
je 0x4ebebd
cmp dword [esi + 0x34], eax
jl 0x4ebebd
cmp eax, ebp
mov dword [esp + 0x2c], ebp
jle 0x4ec085
mov edx, dword [esi]
mov edi, ebp
add edi, edx
lea edx, [esp + 0x10]
push edi
push edx
mov ebx, dword [edi]
call fcn.004ec190
add esp, 8
push eax
lea ecx, [esi + 0x7c]
mov dword [esp + 0x24], 3
call fcn.0059dc15
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0059d7fd
mov edi, dword [edi + 8]
cmp edi, 0xb
je 0x4ec072
cmp edi, 0xe
je 0x4ec072
push 0x652af0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4ec085
cmp ebp, 0x24
jge 0x4ec085
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x50]
inc eax
add ebp, 0xc
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x4ec018
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4ebebd
mov dword [esi + 0x74], 5
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.THE_COURT
push eax
call edi
test eax, eax
je 0x4ec0bb
mov eax, dword [esi + 0x7c]
push str.COURT
push eax
call edi
test eax, eax
jne 0x4ec0c5
mov ebx, 1
mov dword [esi + 0x74], ebx
jmp 0x4ec0ca
mov ebx, 1
mov eax, dword [esi + 0x74]
cmp eax, 3
je 0x4ec0da
cmp eax, 2
je 0x4ec0da
mov dword [esi + 0x78], ebx
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x4ec0f8
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4ec0f3
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x34]
inc eax
cmp ecx, eax
je 0x4ec0f8
mov dword [esi + 0x70], ebx
jmp 0x4ec10d
cmp dword [esi + 0x60], 0xffffffff
je 0x4ec10d
mov ecx, dword [esi + 0x7c]
push ecx
lea ecx, [esi + 0x94]
call fcn.0059d986
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x44]
test eax, eax
je 0x4ec176
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x4ec13d
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x48]
lea ebp, [eax - 1]
cmp ecx, ebp
je 0x4ec134
add eax, 0xfffffffe
cmp ecx, eax
jne 0x4ec13d
mov edx, dword [esi + 0x7c]
push edx
mov edx, dword [edi + 0x3c]
jmp 0x4ec155
mov ecx, dword [edi + 0x48]
lea eax, [ecx + 1]
cmp edx, eax
je 0x4ec14e
lea eax, [ecx + 2]
cmp edx, eax
jne 0x4ec16f
mov edx, dword [esi + 0x7c]
push edx
mov edx, dword [edi + 0x38]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [edx]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*8 + 0x94]
call fcn.0059d986
mov dword [edi + 0x44], 0
mov edx, dword [esp + 0x30]
mov eax, ebx
mov dword [edx], ebx
jmp 0x4ebec2