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

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec0d3
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov dword [ebp - 0x14], ecx
push edi
push 0x190
mov ebx, ecx
mov dword [ecx + 4], 0
mov dword [ebx + 8], 5
mov dword [ebx + 0xc], 0xa
lea ecx, [ebx + 0x50]
call fcn.004ef1b0
lea ecx, [ebx + 0x60]
push 0x190
mov dword [ebp - 4], 0
call fcn.004ef1b0
mov byte [ebp - 4], 1
mov cl, byte [ebp + 0x18]
mov edx, dword [ebp + 8]
mov dword [ebx], 0x539448
mov eax, dword [0x547344]
mov dword [ebx + 8], eax
mov byte [ebx + 0xcd], cl
mov al, byte [ebp + 0x10]
mov ecx, ebx
and eax, 0xffff00ff
mov dword [ebx + 0x38], edx
mov byte [ebx + 0x40], 0
mov word [ebx + 0x42], ax
call fcn.004ee030
lea eax, [ebx + 0x3c]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
nop
mov dword [eax], 0
je 0x4ebdec
push ecx
push eax
call fcn.004f97b0
add esp, 8
mov eax, dword [ebx + 0x38]
movsx ecx, word [eax + 0x3c]
push ecx
push 1
call fcn.00513f50
add esp, 8
xor edx, edx
mov dword [ebx + 0x74], eax
mov eax, dword [ebx + 0x38]
cmp word [eax + 0x3c], dx
jle 0x4ebe45
xor ecx, ecx
mov esi, 3
mov edi, dword [ebx + 0x74]
movsx eax, dx
mov byte [edi + eax], 1
cmp word [ebx + 0x42], dx
jne 0x4ebe2d
mov dword [ebx + eax*4 + 0x78], 1
jmp 0x4ebe3a
test dx, dx
mov dword [ebx + eax*4 + 0x78], ecx
je 0x4ebe3a
mov dword [ebx + eax*4 + 0x78], esi
inc dx
mov eax, dword [ebx + 0x38]
cmp word [eax + 0x3c], dx
jg 0x4ebe13
mov dword [ebx + 0xc0], 0
mov dword [ebx + 0xc4], 0
mov dword [ebx + 0xc8], 0
mov byte [ebx + 0xcc], 0
mov eax, dword [ebp + 0xc]
mov ax, word [eax + 0x18]
mov word [ebx + 0x22], ax
test ax, ax
jle 0x4ebeca
movsx eax, ax
push 4
push eax
call fcn.00513f50
add esp, 8
mov dword [ebx + 0x24], eax
mov word [ebp - 0xe], 0
cmp word [ebx + 0x22], 0
jle 0x4ebeca
movsx eax, word [ebp - 0xe]
mov ecx, dword [ebp + 0xc]
nop
lea esi, [eax*4]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + esi]
test ecx, ecx
je 0x4ebebc
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [ebx + 0x24]
mov dword [ecx + esi], eax
inc word [ebp - 0xe]
mov ax, word [ebp - 0xe]
cmp word [ebx + 0x22], ax
jg 0x4ebe98
mov al, byte [ebp + 0x1c]
test al, al
je 0x4ebf88
push 0xc
call fcn.00513eb0
mov dword [ebp - 0x10], eax
add esp, 4
mov byte [ebp - 4], 2
mov esi, eax
mov eax, 0
test esi, esi
je 0x4ebef8
mov ecx, esi
call fcn.0043fc40
mov byte [ebp - 4], 1
push 0xc
mov dword [ebx + 0x28], eax
call fcn.00513eb0
mov dword [ebp - 0x18], eax
add esp, 4
mov byte [ebp - 4], 3
mov edi, eax
mov eax, 0
test edi, edi
je 0x4ebf22
mov ecx, edi
call fcn.0043fc40
mov byte [ebp - 4], 1
mov ecx, ebx
mov dword [ebx + 0x2c], eax
call fcn.004ef080
push 0x38
call fcn.00513eb0
mov dword [ebp - 0x10], eax
add esp, 4
mov byte [ebp - 4], 4
mov esi, eax
mov eax, 0
test esi, esi
je 0x4ebf5b
push ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
push ecx
mov ecx, esi
call fcn.0048ba50
mov byte [ebp - 4], 1
jmp 0x4ebf93
xor eax, eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
push 0x40
mov dword [ebx + 0x34], eax
call fcn.00513eb0
mov dword [ebp - 0x10], eax
add esp, 4
mov byte [ebp - 4], 5
mov esi, eax
mov eax, 0
test esi, esi
je 0x4ebfba
push ebx
mov ecx, esi
call fcn.004e44f0
mov byte [ebp - 4], 1
mov dword [ebx + 0xd8], eax
mov eax, dword [ebp + 0xc]
mov ax, word [eax + 0x20]
mov word [ebx + 0x44], ax
test ax, ax
jle 0x4ec000
movsx eax, ax
push 4
push eax
call fcn.00513f50
add esp, 8
mov edx, dword [ebp + 0xc]
mov dword [ebx + 0x48], eax
movsx eax, word [ebx + 0x44]
mov edi, dword [ebx + 0x48]
mov esi, dword [edx + 0x24]
lea ecx, [eax*4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp 0x4ec007
mov dword [ebx + 0x48], 0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebx + 0x38]
mov al, byte [eax + 0x28]
mov byte [ebx + 0x4c], al
mov ecx, dword [edx + 0x28]
sub esp, 4
mov eax, dword [ecx + 0xc]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 8]
fild dword [ebp - 0x10]
cdq
fstp dword [esp]
sub eax, edx
sub esp, 4
sar eax, 1
mov ecx, ebx
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fstp dword [esp]
call fcn.004ed820
mov edx, dword [ebx + 0x38]
mov ecx, dword [edx + 0x28]
mov eax, dword [ecx + 0xc]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ecx + 8]
cdq
sub eax, edx
mov ecx, ebx
sar eax, 1
push eax
call fcn.004ed800
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov al, byte [ebp + 0x1c]
mov byte [ebx + 0x70], cl
mov byte [ebx + 0x71], cl
mov dword [ebx + 0xd0], ecx
movsx edx, word [esi + 0x2a]
mov dword [ebx + 0xd4], edx
cmp al, cl
je 0x4ec097
test edx, edx
jl 0x4ec097
mov eax, dword [ebx + 0x38]
push ebx
push edx
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx]
call dword [esi + 8]
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov byte [ebx + 0x20], al
mov dword [ebx + 0x14], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x18